⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 2. installation.htm

📁 Build words list automatic
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<title>7.4 Installing the Content Manager </title>
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK href="stylesheet.css" type="text/css" rel="stylesheet">
		<meta content="AITPublish" name="Generator">
		<meta content="" name="Keywords">
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<LINK href="44.css" type="text/css" rel="stylesheet">
	</head>
	<body text="#000000" vLink="#ff0000" aLink="#008000" link="#0000a0" style="FONT-FAMILY:arial">
		<h2 class="heading2">2.&nbsp;Installing the Content Manager</h2>
		<table style="BORDER-COLLAPSE: collapse" cellSpacing="0" cellPadding="2" width="666" border="0">
			<tr>
				<td width="390" height="0"><STRONG><FONT size="4"></FONT></STRONG></td>
				<td width="276" height="0"><STRONG><FONT size="4"></FONT></STRONG></td>
			</tr>
			<tr vAlign="top" align="left">
				<td width="666" colSpan="2">
					<p class="ew-subheading"><STRONG><FONT size="4">2.1 Downloading and Siting</FONT></STRONG></p>
				</td>
			</tr>
			<tr vAlign="top" align="left">
				<td width="666" colSpan="2">
					<P>Before you begin, you will need to download a copy of the Content Manager.</P>
					<P>Developers with an interest in studying and customising XMContentManager can 
						download a copy from:<BR>
						<A onclick="JAVASCRIPT:window.open('http://www.planet-source-code.com');" href="#">www.planet-source-code.com</A><br>
						You will need to run "XMContentManager.sln" in Visual Studio.Net and build the<br>
						program before you can use it.</P>
					<P>If you do not have Visual Studio, then you should download a pre-built version 
						of the Content Manager from:
						<BR>
						<a href="http://island.manukau.ac.nz/XMCMResources/Services/XMContentManager.zip">http://island.manukau.ac.nz/XMCMResources/Services/XMContentManager.zip</a></P>
					<p class="bodytext">&nbsp;</p>
				</td>
			</tr>
			<tr vAlign="top" align="left">
				<td width="390">
					<P>Once you have downloaded and unzipped the files, you need to place them 
						appropriately on your hardrive.</P>
					<P>Whilst you can place them anywhere you please,here are some recommendations:</P>
					<P>
						For developers, testers and evaluators, set up as folder:<BR>
						<span style="FONT-FAMILY:courier new"><STRONG>C:\inetpub\wwwroot\xmcontentmanager</STRONG></span><BR>
						as seen in this diagram ---&gt;</P>
					<P>The folder needs to be called "xmcontentmanager" only if you want to do some 
						programming with it.&nbsp; For deployment you can and should name the parent 
						folder in a way that reflects your organisation or purpose.&nbsp; eg "iafilm", 
						"XMCMResources"</P>
					<P>For large-scale deployment without customising the programming, use your site 
						rules as for all large scale web app or file serving deployments.&nbsp;
						<BR>
						For example,&nbsp;an Administrator&nbsp;runs a webserver with 2 disk 
						drives:&nbsp;
						<BR>
						"C: Drive" for the operating system
						<BR>
						and "D: Drive" for applications and data.&nbsp;
						<BR>
						He sets up his parent folder as
						<BR>
						<span style="FONT-FAMILY:courier new"><STRONG>D:\Webs\XIntranet</STRONG></span><BR>
					</P>
				</td>
				<td width="276">
					<p class="widegraphic"><IMG height="229" alt="" hspace="0" src="Docu_files/374.jpg" width="231" align="bottom"
							vspace="0" border="0"></p>
				</td>
			</tr>
		</table>
		<p class="bodytext"></p>
		<P class="bodytext">
			<TABLE id="Table1" style="BORDER-COLLAPSE: collapse" cellSpacing="0" cellPadding="2" width="672"
				border="0">
				<TR>
					<TD width="390" height="0"></TD>
					<TD width="282" height="0"></TD>
				</TR>
				<TR vAlign="top" align="left">
					<TD width="672" colSpan="2">
						<P class="ew-subheading"><STRONG><FONT size="4">2.2 Creating a Virtual Directory</FONT></STRONG></P>
					</TD>
				</TR>
				<TR vAlign="top" align="left">
					<TD width="390">
						<P>Open the Computer Management console from right clicking My Computer and select 
							Manage.</P>
						<P>Navigate to: Services &amp; Applications &gt; Internet Information Services &gt; 
							Websites &gt; Default Website</P>
						<P>Right-click on "Default Web Site",&nbsp;select "New" &gt;&nbsp;"Virtual 
							Directory" and a wizard will begin.</P>
						<P>Firstly enter a name that you wish to use to get to the Content Manager from 
							another computer.&nbsp; For developers and testers it is best to stick with 
							"xmcontentmanager".&nbsp; For deployment you have more freedom but 
							we&nbsp;recommend you keep the Virtual Directory name the same as the Windows 
							DIrectory (parent folder) name.</P>
						<P>After clicking Next, you will be asked to enter the directory of the files you 
							wish to make into a Virtual Directory. For this, browse to the Parent Folder 
							where you placed the files.</P>
						<P>Click Next through the wizard to finish your Virtual Directory setup.</P>
						<P>&nbsp;</P>
					</TD>
					<TD width="282">
						<P class="widegraphic"><IMG height="137" alt="" hspace="0" src="Docu_files/370.jpg" width="250" align="bottom"
								vspace="0" border="0"></P>
					</TD>
				</TR>
				<TR>
					<TD width="672" colSpan="2">
						<P class="ew-subheading"><FONT size="4"><STRONG>2.3 Security and Setup notes for .mdb 
									database files</STRONG></FONT></P>
					</TD>
				</TR>
				<TR>
					<TD width="672" colSpan="2">
						<P>Some features of XMContentManager use Microsoft Access database 
							technology.&nbsp; These appear under the "Services" folder as databases:</P>
						<UL>
							<LI>
								<STRONG>"Control.mdb"</STRONG> - handles Internet Mode custom Usernames and 
								Passwords as well as a page counter and visit-statistics-gathering system.<BR>
							&nbsp;
							<LI>
								<STRONG>"Notices.mdb"</STRONG> - handles notices and discussion boards.</LI></UL>
						<P><STRONG>SECURITY WARNING:</STRONG> and this applies to ALL web apps, not just 
							XMContentManager ... any user knowing the names and folders for these 
							databases&nbsp;may be able to&nbsp;type that as an address into his/her browser 
							and download a copy of that .mdb file.&nbsp; This is especially the case for 
							open source software like XMContentManager where everyone who sees the download 
							sees that these databases live by default in folders "48001" and "48002".</P>
						<P><STRONG>SECURITY DEFENCE:</STRONG>&nbsp; <STRONG>RENAME</STRONG> the parent 
							folders to YOUR CUSTOM NAME.<BR>
							You ALSO need to make the same name changes to the "ConnectionString" values in 
							file <STRONG>"web.config".</STRONG></P>
						<P><STRONG>SPECIAL CASES:</STRONG> Some Web Hosting Providers set their own house 
							rules for .mdb files on their webservers.&nbsp; For example <A href="http://www.2day.com">
								www.2day.com</A> insist that you must place .mdb files in a sub-folder 
							called "_database".&nbsp; In this case or others like it, change the file 
							names, also changing the web.config "ConnectionString" values to match.</P>
						<P><STRONG>More about .mdb's:</STRONG>&nbsp; Many WebServers slam a rule on the 
							visiting general public that any process they start will get stopped if it 
							tries to change a file on disk.&nbsp; But .mdb's are files on disk, so for them 
							to work it may be necessary for administrators to set up their parent folders 
							with special change-allowed permissions.&nbsp; Web Hosting Providers who host a 
							lot of web apps using .mdb's often run custom programs on their machines to 
							automatically set up .mdb's.&nbsp; Which explains rules like <EM>"you 
								must&nbsp;name your folder '<STRONG>_database'</STRONG> so my automatic setup 
								can find and configure it."</EM>.&nbsp; Note that special instructions for 
							.mdb's can be different for each hosting provider.</P>
						<P>&nbsp;</P>
					</TD>
				</TR>
				<TR vAlign="top" align="left">
					<TD width="672" colSpan="2">
						<P class="ew-subheading"><FONT size="4"><STRONG>2.4 Activating the Indexing Service</STRONG></FONT></P>
					</TD>
				</TR>
				<TR vAlign="top" align="left">
					<TD width="390">
						<P>Whilst in the Computer Management console, check that the "Web" node is visible 
							under the Indexing Service section.</P>
						<P>If it is not, right click and select New Catalog.</P>
						<P>Enter the name "Web" and browse to the Inetpub directory for the location. Press 
							OK to activate this.</P>
						<P>&nbsp;</P>
					</TD>
					<TD width="282">
						<P class="widegraphic"><IMG height="159" alt="" hspace="0" src="Docu_files/371.jpg" width="250" align="bottom"
								vspace="0" border="0"></P>
					</TD>
				</TR>
			</TABLE>
		</P>
		<TABLE id="Table2" style="BORDER-COLLAPSE: collapse" cellSpacing="0" cellPadding="2" width="666"
			border="0">
			<TR>
				<TD width="390" height="0"><STRONG><FONT size="4"></FONT></STRONG></TD>
				<TD width="276" height="0"><STRONG><FONT size="4"></FONT></STRONG></TD>
			</TR>
			<TR>
				<TD width="666" colSpan="2">
					<P><STRONG><FONT size="4"> 2.5&nbsp;Intranet versus Internet - it's about a tick in a box.</FONT></STRONG></P>
					<P>
						By default, the IIS WebServer will run a new XMContentManager for a public 
						internet audience.<BR>
						To run in "Intranet" mode:&nbsp;
						<BR>
						&nbsp;-&nbsp; In IIS, right click on your Virtual Directory and select 
						"Properties"<BR>
						&nbsp;-&nbsp;&nbsp;Navigate to&nbsp;the tab option "Directory Security" and 
						click its "Edit" button.<BR>
						&nbsp;<img src="Docu_files/iisProperties.jpg" border="1">
					</P>
					<P>&nbsp;-&nbsp; In the popup window, untick (uncheck) the box "Anonymous Access".<BR>
						&nbsp;<img src="Docu_files/iisAnonymous.jpg" border="1"><BR>
						You should leave the lower section of this form, "Authenticated Access", 
						unchanged
						<BR>
						at its default setting of "Integrated Windows Authentication" except in very 
						rare circumstances like use of old non-Windows machines on an otherwise secure 
						local area network.</P>
					<P>Like most "XMContentManager" settings, you often need to configure&nbsp;a 
						value&nbsp;in XMContentManager to match what you have done on the host 
						machine.&nbsp; These configurations are done in a file "web.config".&nbsp;:</P>
					<p style="FONT-SIZE:0.8em; FONT-FAMILY:courier new">
						<span style="COLOR:green">&lt;!-- key "privilegedGroup" is for INTRANET use.</span>
						<BR>
						<span style="COLOR:green">Value is the server user group eg "Teachers".</span>
						<BR>
						&lt;add key="privilegedGroup" value="Teachers" /&gt;<br>
						<span style="COLOR:green">You can use the dummy value "Test" to open the privileged 
							area to everyone for testing.</span><br>
						&lt;add key="privilegedGroup" value="Test" /&gt;<br>
						<span style="COLOR:green">You can use a non-existent group to switch off the 
							privileged area altogether.</span><br>
						&lt;add key="privilegedGroup" value="xxxxxxxx" /&gt;<br>
						<br>
						<span style="COLOR:green">For INTERNET custom login, use a value of ""</span><br>
						&lt;add key="privilegedGroup" value="" /&gt;
					</p>
					<P><STRONG>Backgrounder</STRONG></P>
					<P>A WebServer delivering an "Intranet" service is using existing Windows Security, 
						usually Local Area Network logins, to identify and manage users and user 
						permissions.&nbsp; In "Intranet" mode, XMContentManager lets Windows do all the 
						security work and simply goes along for the ride.</P>
					<P>It is possible to run an XMContentManager on the public internet in "Intranet" 
						mode, but this does mean&nbsp;giving your privileged users a lot more than 
						XMContentManager by giving them Windows usernames and passwords for that 
						machine.&nbsp; If your XMContentManager is running by renting or sharing space 
						on someone else's machine, that someone else may well be unwilling to create 
						Windows Users and Groups just for your one app amongst many, may be concerned 
						about giving out too much, or may simply want to charge you lots of money for 
						doing such an adjustment for you.<BR>
						Therefore in Version 2 of XMContentManager, we have come up with&nbsp;our own 
						built-in username and password system which is isolated to the XMContentManager 
						web app folder and quite separated from anything else going on for the host 
						machine.</P>
					<P>&nbsp;</P>
				</TD>
			</TR>
			<TR vAlign="top" align="left">
				<TD width="666" colSpan="2" style="HEIGHT: 16px">
					<P><STRONG><FONT size="4">2.6&nbsp;&nbsp;Setting Security Permissions for an Intranet</FONT></STRONG></P>
				</TD>
			</TR>
			<TR vAlign="top" align="left">
				<TD width="666" colSpan="2">
					<P>These guidelines apply only to <STRONG>Intranet mode</STRONG>, assuming 
						your&nbsp;WebServer or LAN&nbsp;already has user groups created and defined.</P>
					<P>&nbsp;</P>
				</TD>
			</TR>
			<TR vAlign="top" align="left">
				<TD width="390">
					<P>1. Right click the Content folder and
						<BR>
						click Properties.</P>
					<P>&nbsp;</P>
					<P>&nbsp;</P>
					<P>2. Go to the Security tab and select
						<BR>
						the Users group.</P>
					<P>&nbsp;</P>
					<P>&nbsp;</P>
					<P>3. Tick the allow or deny boxes for
						<BR>
						each relevant permission to restrict
						<BR>
						what users can do on the intranet.</P>
					<P>&nbsp;</P>
				</TD>
				<TD width="276">
					<P class="widegraphic"><IMG height="258" alt="" hspace="0" src="Docu_files/375.jpg" width="250" align="bottom"
							vspace="0" border="0"></P>
				</TD>
			</TR>
			<TR vAlign="top" align="left">
				<TD width="390">
					<P>4. Now right click the Staff folder and click
						<BR>
						Properties.</P>
					<P>&nbsp;</P>
					<P>&nbsp;</P>
					<P>5. Go to the Security tab and select
						<BR>
						the Students group.</P>
					<P>&nbsp;</P>
					<P>&nbsp;</P>
					<P>6. Tick the deny boxes for each
						<BR>
						student permission to stop students
						<BR>
						gaining access to the Staff folder.</P>
					<P>&nbsp;</P>
				</TD>
				<TD width="276">
					<P class="widegraphic"><IMG height="267" alt="" hspace="0" src="Docu_files/376.jpg" width="250" align="bottom"
							vspace="0" border="0"></P>
				</TD>
			</TR>
		</TABLE>
	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -