<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Yousri&#039;s Blog &#187; windows server 2003</title>
	<atom:link href="http://blog.yousri.org/tag/windows-server-2003/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.yousri.org</link>
	<description></description>
	<lastBuildDate>Fri, 14 May 2010 16:29:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Windows Server 2003服务器简易安全配置</title>
		<link>http://blog.yousri.org/2008/12/22/windows-server-2003-install-and-setting.html</link>
		<comments>http://blog.yousri.org/2008/12/22/windows-server-2003-install-and-setting.html#comments</comments>
		<pubDate>Sun, 21 Dec 2008 22:16:14 +0000</pubDate>
		<dc:creator>Yousri</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[服务配置]]></category>
		<category><![CDATA[IIS6]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[windows server 2003]]></category>
		<category><![CDATA[安全]]></category>
		<category><![CDATA[配置]]></category>

		<guid isPermaLink="false">http://xmlinuxers.cn/?p=212</guid>
		<description><![CDATA[&#160;&#160;&#160; 这两天接触微软的windows server 2003搭建web服务器，实在是一个头两个大，对于安全防范及配置方面可谓是从未琢磨过，一次次的尝试一次次的验证修改，感觉其实也不是很复杂吧，如果搞清楚思路后。。。。 &#160;&#160;&#160; 根据&#8220;最小的权限+最少的服务=最大的安全&#8221;的原则&#160;&#160;&#160; 最小权限的设置：&#160;&#160;&#160; 使用NTFS系统文件格式，对每个硬盘根目录只给予administrator用户及system用户完全控制权限，并删除其他用户权限。&#160;&#160;&#160; 如：C:\Windows&#160; Administrator、System完全控制权限;Users用户默认权限不修改删除其他用户 &#160; &#160; &#160;&#160;&#160; 修改C:\Windows目录下相关可执行文件权限：&#160;&#160;&#160; net.exe、cmd.exe、tftp.exe、netstat.exe、regedit.exe、at.exe、attrib.exe、cacls.exe、format.com、regsvr32.exe、xcopy.exe、wscript.exe、cscript.exe、ftp.exe、telnet.exe、arp.exe、edlin.exe、ping.exe、route.exe、finger.exe、posix.exe、rsh.exe、atsvc.exe、qbasic.exe、runonce.exe、syskey.exe&#160;&#160;&#160; 修改以上权限，删除所有用户只保留Adminstrators和system用户组完全控制权限 &#160;&#160;&#160; 对于各个站点虚拟目录对应权限严格设置：&#160;&#160;&#160;&#160;&#160;&#160;&#160; 添加个站点或虚拟目录对应用户到GUESTS组&#160;&#160;&#160;&#160;&#160;&#160;&#160; Administraotrs 完全控制&#160;&#160;&#160;&#160;&#160;&#160;&#160; System 完全控制&#160;&#160;&#160;&#160;&#160;&#160;&#160; ASP.NET 读取写入&#160;&#160;&#160;&#160;&#160;&#160;&#160; NETWORK SERVICE 读取&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; 禁止建立空链接：HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa新建 &#8220;DWORD值&#8221;值名为 &#8220;RestrictAnonymous&#8221; 数据值为&#8220;1&#8221; [2003默认为1] 禁止系统自动启动服务器共享：HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters新建 &#8220;DWORD值&#8221;值名为 &#8220;AutoShareServer&#8221; 数据值为&#8220;0&#8221; 禁止系统自动启动管理共享：HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters新建 &#8220;DWORD值&#8221;值名为 &#8220;AutoShareWks&#8221; 数据值为&#8220;0&#8221; 通过修改注册表防止小规模DDOS攻击HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters新建 &#8220;DWORD值&#8221;值名为 &#8220;SynAttackProtect&#8221; 数据值为&#8220;1&#8221; 本地安全策略配置:开始 &#62; 程序 &#62; 管理工具 &#62; 本地安全策略账户策略 &#62; [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;&nbsp; 这两天接触微软的windows server 2003搭建web服务器，实在是一个头两个大，对于安全防范及配置方面可谓是从未琢磨过，一次次的尝试一次次的验证修改，感觉其实也不是很复杂吧，如果搞清楚思路后。。。。</p>
<p>&nbsp;&nbsp;&nbsp; 根据&ldquo;最小的权限+最少的服务=最大的安全&rdquo;的原则<br />&nbsp;&nbsp;&nbsp; 最小权限的设置：<br />&nbsp;&nbsp;&nbsp; 使用NTFS系统文件格式，对每个硬盘根目录只给予administrator用户及system用户完全控制权限，并删除其他用户权限。<br />&nbsp;&nbsp;&nbsp; 如：C:\Windows&nbsp; Administrator、System完全控制权限;Users用户默认权限不修改删除其他用户</p>
<p>&nbsp; &nbsp; <img src="http://i3.6.cn/cvbnm/40/01/ce/521d0bb7578a4781fbb2ab065b6fe5d6.jpg" alt="" width="558" height="324" /><br />&nbsp;&nbsp;&nbsp; 修改C:\Windows目录下相关可执行文件权限：<br />&nbsp;&nbsp;&nbsp; net.exe、cmd.exe、tftp.exe、netstat.exe、regedit.exe、at.exe、attrib.exe、cacls.exe、format.com、regsvr32.exe、xcopy.exe、wscript.exe、cscript.exe、ftp.exe、telnet.exe、arp.exe、edlin.exe、ping.exe、route.exe、finger.exe、posix.exe、rsh.exe、atsvc.exe、qbasic.exe、runonce.exe、syskey.exe<br />&nbsp;&nbsp;&nbsp; 修改以上权限，删除所有用户只保留Adminstrators和system用户组完全控制权限</p>
<p>&nbsp;&nbsp;&nbsp; 对于各个站点虚拟目录对应权限严格设置：<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 添加个站点或虚拟目录对应用户到GUESTS组<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Administraotrs 完全控制<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System 完全控制<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ASP.NET 读取写入<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NETWORK SERVICE 读取<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="http://i3.6.cn/cvbnm/09/0b/49/b0c7b110341a61a13ff081a2b81bdd44.jpg" alt="" width="427" height="281" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="http://i3.6.cn/cvbnm/00/3e/e4/718843f457a38fc0304bade5c871e91a.jpg" alt="" width="498" height="313" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="http://i3.6.cn/cvbnm/33/7e/06/a27bc09ed48c76161473a1860975568f.jpg" alt="" width="508" height="319" /></p>
<p>禁止建立空链接：<br />HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa<br />新建 &ldquo;DWORD值&rdquo;值名为 &ldquo;RestrictAnonymous&rdquo; 数据值为&ldquo;1&rdquo; [2003默认为1]</p>
<p>禁止系统自动启动服务器共享：<br />HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters<br />新建 &ldquo;DWORD值&rdquo;值名为 &ldquo;AutoShareServer&rdquo; 数据值为&ldquo;0&rdquo;</p>
<p>禁止系统自动启动管理共享：<br />HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters<br />新建 &ldquo;DWORD值&rdquo;值名为 &ldquo;AutoShareWks&rdquo; 数据值为&ldquo;0&rdquo;</p>
<p>通过修改注册表防止小规模DDOS攻击<br />HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters<br />新建 &ldquo;DWORD值&rdquo;值名为 &ldquo;SynAttackProtect&rdquo; 数据值为&ldquo;1&rdquo;</p>
<p>本地安全策略配置:<br />开始 &gt; 程序 &gt; 管理工具 &gt; 本地安全策略<br />账户策略 &gt; 密码策略 &gt; <font color="#808000">密码最短使用期限 改成0天</font><br />账户策略 &gt; 账户锁定策略 &gt;<font color="#808000"> 账户锁定阈值 5 次 账户锁定时间 10分钟 [个人推荐配置]</font><br />本地策略 &gt; 审核策略 &gt;<br /><font color="#808000">账户管理 成功 失败<br />登录事件 成功 失败<br />对象访问 失败<br />策略更改 成功 失败<br />特权使用 失败<br />系统事件 成功 失败<br />目录服务访问 失败<br />账户登录事件 成功 失败</font><br />本地策略 &gt; 安全选项 &gt;<br /><font color="#808000">清除虚拟内存页面文件 更改为&quot;已启用&quot;<br />不显示上次的用户名 更改为&quot;已启用&quot;<br />不需要按CTRL+ALT+DEL 更改为&quot;已启用&quot;<br />不允许 SAM 账户的匿名枚举 更改为&quot;已启用&quot;<br />不允许 SAM 账户和共享的匿名枚举 更改为&quot;已启用&quot;<br />重命名来宾账户 更改成一个复杂的账户名<br />重命名系统管理员账号 更改一个自己用的账号 [同时可建立一个无用户组的Administrat账户]</font></p>
<p>删除不安全组件：<br />WScript.Shell 、Shell.application 两个组件一般一些ASP木马或一些恶意程序入侵渗透点。<br />方案一、<br />regsvr32 /u wshom.ocx 卸载WScript.Shell 组件<br />regsvr32 /u shell32.dll 卸载Shell.application 组件<br />方案二、<br />删除注册表 HKEY_CLASSES_ROOT\CLSID\{72C24DD5-D70A-438B-8A42-98424B88AFB8} 对应 WScript.Shell<br />删除注册表 HKEY_CLASSES_ROOT\CLSID\{13709620-C279-11CE-A49E-444553540000} 对应 Shell.application</p>
<p>最少的服务的设置：<br /><strong>黑色为自动</strong> <font color="#008000">绿色为手动</font> <font color="#ff0000">红色为禁用</font><br /><font color="#ff0000">Alerter</font><br />服务描述: 通知选定的用户和计算机管理警报。如果服务停止，使用管理警报的程序将不会收到它们。如果此服务被禁用，任何直接依赖它的服务都将不能启动。<br /><font color="#008000">Application Experience Lookup Service<br />Application Layer Gateway Service</font><br />服务描述: 为应用程序级协议插件提供支持并启用网络/协议连接。如果此服务被禁用，任何依赖它的服务将无法启动。<br /><font color="#008000">Application Management<br /><font color="#000000"><strong>Automatic Updates [Windows自动更新,可选项]</strong></font> <br />Background Intelligent Transfer Service</font><br />服务描述: 服务描述:利用空闲的网络带宽在后台传输文件。如果服务被停用，例如 Windows Update 和 MSN Explorer 的功能将无法自动下载程序和其他信息。如果此服务被禁用，任何依赖它的服务如果没有容错技术以直接通过 IE 传输文件，一旦 BITS 被禁用，就可能无法传输文件。<br /><font color="#ff0000">ClipBook</font><br /><strong>COM+ Event System</strong><br /><font color="#008000">COM+ System Application<br />Computer Browser</font><br />服务描述: 服务描述:维护网络上计算机的更新列表，并将列表提供给计算机指定浏览。如果服务停止，列表不会被更新或维护。如果服务被禁用，任何直接依赖于此服务的服务将无法启动。<br /><font color="#008000">Cryptographic Services</font><br /><strong>DCOM Server Process Launcher</strong><br /><font color="#008000">DHCP Client<br />Distributed File System</font><br />服务描述: 将分散的文件共享合并成一个逻辑名称空间并在局域网或广域网上管理这些逻辑卷。如果这个服务被停止，用户则无法访问文件共享。如果这个服务被禁用，任何依赖它的服务将无法启动。<br /><strong>Distributed Link Tracking Client</strong><br /><font color="#ff0000">Distributed Link Tracking Server</font><br /><font color="#008000">Distributed Transaction Coordinator</font><br /><font color="#008000">DNS Client<br />Error Reporting Service<br /><strong><font color="#000000">Event Log</font></strong></font><br /><font color="#ff0000">File Replication</font><br /><font color="#ff0000">Help and Support</font><br />服务描述: 启用在此计算机上运行帮助和支持中心。如果停止服务，帮助和支持中心将不可用。如果禁用服务，任何直接依赖于此服务的服务将无法启动。<br /><font color="#008000">HTTP SSL<br />Human Interface Device Access</font><br /><strong>IIS Admin Service</strong><br /><font color="#ff0000">IMAPI CD-Burning COM Service</font><br /><font color="#ff0000">Indexing Service</font><br /><font color="#ff0000">Intersite Messaging</font><br /><font color="#ff0</p>
<p>000">IPSEC Services [如果使用了IP安全策略则自动，如无则禁用，可选操作] <br />Kerberos Key Distribution Center<br />License Logging</font><br /><strong>Logical Disk Manager [可选，多硬盘建议自动] </strong><br /><font color="#008000">Logical Disk Manager Administrative Service</font><br /><font color="#ff0000">Messenger</font><br />服务描述: 传输客户端和服务器之间的 NET SEND 和 警报器服务消息。此服务与 Windows Messenger 无关。如果服务停止，警报器消息不会被传输。如果服务被禁用，任何直接依赖于此服务的服务将无法启动。<br /><strong>Microsoft Search</strong><br /><font color="#008000">Microsoft Software Shadow Copy Provider</font><br /><strong>MSSQLSERVER</strong><br /><font color="#008000">MSSQLServerADHelper<br />Net Logon</font><br /><font color="#ff0000">NetMeeting Remote Desktop Sharing</font><br />服务描述: 允许经过授权的用户用 NetMeeting 在公司 intranet 上远程访问这台计算机。如果服务被停止，远程桌面共享将不可用。如果服务被禁用，依赖这个服务的任何服务都会无法启动。<br /><font color="#008000">Network Connections</font><br /><font color="#ff0000">Network DDE<br />Network DDE DSDM</font><br /><font color="#008000">Network Location Awareness (NLA)<br />Network Provisioning Service<br />NT LM Security Support Provider<br />Performance Logs and Alerts</font><br /><strong>Plug and Play</strong><br /><font color="#ff0000">Portable Media Serial Number Service [微软反盗版工具，目前只针对多媒体类] <br />Print Spooler</font><br />服务描述: 管理所有本地和网络打印队列及控制所有打印工作。如果此服务被停用，本地计算机上的打印将不可用。如果此服务被禁用，任何依赖于它的服务将无法启用。<br /><strong>Protected Storage</strong><br /><font color="#008000">Remote Access Auto Connection Manager<br />Remote Access Connection Manager<br />Remote Desktop Help Session Manager</font><br /><strong>Remote Procedure Call (RPC)</strong><br /><font color="#008000">Remote Procedure Call (RPC) Locator</font><br /><font color="#ff0000">Remote Registry</font><br />服务描述: 使远程用户能修改此计算机上的注册表设置。如果此服务被终止，只有此计算机上的用户才能修改注册表。如果此服务被禁用，任何依赖它的服务将无法启动。<br /><font color="#008000">Removable Storage<br />Resultant Set of Policy Provider</font><br /><font color="#ff0000">Routing and Remote Access</font><br /><font color="#ff0000">Secondary Logon</font><br /><strong>Security Accounts Manager</strong><br /><font color="#008000">Server</font><br /><font color="#ff0000">Shell Hardware Detection</font><br /><font color="#008000">Smart Card<br />Special Administration Console Helper<br />SQLSERVERAGENT</font><br />System Event Notification<br /><font color="#ff0000">Task Scheduler</font><br />服务描述: 使用户能在此计算机上配置和计划自动任务。如果此服务被终止，这些任务将无法在计划时间里运行。如果此服务被禁用，任何依赖它的服务将无法启动。<br /><font color="#ff0000">TCP/IP NetBIOS Helper</font><br />服务描述: 提供 TCP/IP (NetBT) 服务上的 NetBIOS 和网络上客户端的 NetBIOS 名称解析的支持，从而使用户能够共享文件、打印和登录到网络。如果此服务被停用，这些功能可能不可用。如果此服务被禁用，任何依赖它的服务将无法启动。<br /><font color="#008000">Telephony</font><br /><font color="#ff0000">Telnet</font><br />服务描述: 允许远程用户登录到此计算机并运行程序，并支持多种 TCP/IP Telnet 客户端，包括基于 UNIX 和 Windows 的计算机。如果此服务停止，远程用户就不能访问程序，任何直接依赖于它的服务将会启动失败。<br />Terminal Services<br /><font color="#ff0000">Terminal Services Session Directory<br />Themes</font><br /><font color="#008000">Uninterruptible Power Supply<br />Upload Manager<br />Virtual Disk Service<br />Volume Shadow Copy</font><br /><font color="#ff0000">WebClient<br />Windows Audio [服务器没必要使用声音] <br />Windows Firewall/Internet Connection Sharing (ICS)<br />Windows Image Acquisition (WIA)</font><br /><font color="#008000">Windows Installer</font><br /><strong>Windows Management Instrumentation</strong><br /><font color="#008000">Windows Management Instrumentation Driver Extensions</font><br /><font color="#ff0000">Windows Time</font><br /><font color="#008000">Windows User Mode Driver Framework<br />WinHTTP Web Proxy Auto-Discovery Service</font><br /><strong>Wireless Configuration</strong><br /><font color="#008000">WMI Performance Adapter<br />Workstation</font><br />服务描述: 创建和维护到远程服务的客户端网络连接。如果服务停止，这些连接将不可用。如果服务被禁用，任何直接依赖于此服务的服务将无法启动。<br /><strong>World Wide Web Publishing Service</strong></p>
<p>基于IIS6.0安装配置PHP程序支持：<br />先安装php使用最新版本php-5.2.8-win32-installer.msi<br />安装过程中选择所设置的the web server 为IIS ISAPI module如图所示：</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="http://i3.6.cn/cvbnm/97/3b/87/ee5afcba2f1492e88f578a07e57a204b.jpg" alt="" width="444" height="343" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="http://i3.6.cn/cvbnm/92/37/71/9ac217c084fd631cdb4c17884bc9e842.jpg" alt="" width="460" height="356" /><br />&nbsp;&nbsp;&nbsp; 紧接着简单配置IIS完成站点c.com支持PHP程序<br />&nbsp;&nbsp;&nbsp; 站点属性&#8211;&gt;主目录&#8211;&gt;配置&#8211;&gt;应用程序扩展&#8211;&gt;添加 可执行文件：C:\PHP\php5isapi.dll&nbsp;&nbsp; 格式为：.php <br />如下图所示：</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; <img src="http://i3.6.cn/cvbnm/9c/a7/d0/99ab5a98d847bd2ca0b1a6fbe93faa37.jpg" alt="" width="511" height="440" /><br />&nbsp;&nbsp;&nbsp; 添加相应支持php程序&ldquo;web服务扩展&rdquo;，即打开&ldquo; Internet 信息服务(IIS)管理器&rdquo;，在&ldquo; Web 服务扩展&rdquo;里，选择&ldquo;添加一个新的 Web 服务扩展&rdquo;，扩展名可填写&ldquo;PHP&rdquo;，要求的文件选择: C:\PHP\php5isapi.dll，并设置扩展状态为允许。结果如下图所示：</p>
<p>&nbsp;&nbsp;&nbsp; <img src="http://i3.6.cn/cvbnm/47/9f/bc/999579771891e8165359c653118a792d.jpg" alt="" width="424" height="476" /><br />&nbsp;&nbsp;&nbsp; 打开&ldquo;网站&rdquo;-&gt;&ldquo;属性&rdquo;-&gt;&ldquo;文档&rdquo;-&gt;&ldquo;启用默认内容文档&rdquo;-&gt;&ldquo;添加&rdquo;，可以将 index.php 添加为默认内容文档。最后并重新启动IIS服务项。<br />&nbsp;&nbsp;&nbsp; 最后使用phpinfo();函数测试结果</p>
<p>&nbsp; &nbsp; <img src="http://i3.6.cn/cvbnm/23/09/f8/081e712fc3583454e3ec327d947058ba.jpg" alt="" width="558" height="428" /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yousri.org/2008/12/22/windows-server-2003-install-and-setting.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Windows Server 2003 &amp; IIS For ASP&amp;ASP.NET</title>
		<link>http://blog.yousri.org/2008/12/02/install-windows-server-2003-iis-for-aspaspnet.html</link>
		<comments>http://blog.yousri.org/2008/12/02/install-windows-server-2003-iis-for-aspaspnet.html#comments</comments>
		<pubDate>Mon, 01 Dec 2008 23:16:56 +0000</pubDate>
		<dc:creator>Yousri</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[服务配置]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[windows server 2003]]></category>

		<guid isPermaLink="false">http://xmlinuxers.cn/?p=147</guid>
		<description><![CDATA[发现这里太久没更新&#160;&#160; 故决定不耻的随便贴篇学习日记作为更新下。。。见笑啦。。。。 对于windows server 2003的安装就不必多费口舌，和安装普通的windows xp或vista 没啥两样，没有什么特别之处吧，不过注意C盘分区大小最好根据个人需要进行适当放大些 ~！ 关于IIS6.0安装也很简单，因为2003系统中就默认带有安装包，只需要打开控制面板&#8211;&#62;添加与删除程序&#8211;&#62;添加与删除windows组件&#8211;&#62;应用程序服务器双击打开，勾选ASP.net及双击打开Internet信息服务下的万维网及FTP选项，到此最好也将添加删除组件下的microsoft .NET framework选项也勾选安装下，将会有需要的 即安装选项描述为 ： 添加与删除windows组件 &#124; &#124;&#8212;-Microsoft .NET framework2.0 &#124; &#124;&#8212;-应用程序服务器 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#124; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#124;&#8212;ASP.NET &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#124; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#124;&#8212;Internet信息服务 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#124; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#124;&#8212;-万维网服务 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#124; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#124;&#8212;-Ftp服务 接下来就是关键的IIS配置搭建，重点麻烦出现在合理配置磁盘权限和iis不安全组件 防范windows服务器 WEB SHELL,因为以前都未曾了解过关于windows server 2003 服务器安装完成后的安全强化设置，所以到后面再配置关于IIS站点对于磁盘权限控制设置的时候遇到了疑难未解的麻烦。自己直到后来google了解到后才回头做了相关的安全权限访问设置问题。 所以到此，先推荐一篇可能有点老但经典的文章：合理配置IIS站点对磁盘访问权限 关于IIS设置权限:http://www.yesadmin.com/308/83529/index.html &#34;其实权限设置的基本思路是：1、要为每个独立的要保护的个体（比如一个网站或者一个虚拟目录）创建一个系统用户，让这个站点在系统中具有惟一 的可以设置权限的身份。2、在IIS的【站点属性或者虚拟目录属性&#8594;目录安全性&#8594;匿名访问和验证控制&#8594;编辑&#8594;匿名访问&#8594;编辑】填写刚刚创建的那个 用户名。3、设置所有的分区禁止这个用户访问，而刚才这个站点的主目录对应的那个文件夹设置允许这个用户访问（要去掉继承父权限，并且要加上超管组和SYSTEM组）。 &#34; 所以这里自己计划独立创建一个用户组用于存放为管理各个不同站点或虚拟目录而特地创建的用户，方便统一管理。 测试IIS默认安装是否能支持ASP&#38;ASP.net程序的解析显示： 这里使用的是网上一个号称阿江ASP探针进行测试的。确实很方便而且显示功能也很完善，推荐测试环境可以使用。 最后自己同时安装几个常用ASP组件，也随便分享下： 一、LyfUpload 组件介绍、下载、安装、测试 [...]]]></description>
			<content:encoded><![CDATA[<p style="margin: 0cm 0cm 0.0001pt">发现这里太久没更新<span>&nbsp;&nbsp; </span>故决定不耻的随便贴篇学习日记作为更新下。。。见笑啦。。。。</p>
<p style="margin: 0cm 0cm 0.0001pt">对于<span>windows server 2003</span>的安装就不必多费口舌，和安装普通的<span>windows xp</span>或<span>vista </span>没啥两样，没有什么特别之处吧，不过注意<span>C</span>盘分区大小最好根据个人需要进行适当放大些<span> ~</span>！</p>
<p style="margin: 0cm 0cm 0.0001pt">关于<span>IIS6.0</span>安装也很简单，因为<span>2003</span>系统中就默认带有安装包，只需要打开控制面板<span>&#8211;&gt;</span>添加与删除程序<span>&#8211;&gt;</span>添加与删除<span>windows</span>组件<span>&#8211;&gt;</span>应用程序服务器双击打开，勾选<span>ASP.net</span>及双击打开<span>Internet</span>信息服务下的万维网及<span>FTP</span>选项，到此最好也将添加删除组件下的<span>microsoft .NET framework</span>选项也勾选安装下，将会有需要的</p>
<p style="margin: 0cm 0cm 0.0001pt">即安装选项描述为 ：</p>
<p style="margin: 0cm 0cm 0.0001pt 113.9pt">添加与删除<span>windows</span>组件</p>
<p style="margin: 0cm 0cm 0.0001pt 113.7pt"><span>|<br />
|&#8212;-Microsoft .NET framework2.0<br />
|<br />
|&#8212;-</span>应用程序服务器<span><br />
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>|<br />
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>|&#8212;ASP.NET<br />
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>|<br />
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>|&#8212;Internet</span>信息服务<span><br />
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>|<br />
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>|&#8212;-</span>万维网服务<span><br />
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>|<br />
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>|&#8212;-Ftp</span>服务</p>
<p style="margin: 0cm 0cm 0.0001pt">接下来就是关键的<span>IIS</span>配置搭建，重点麻烦出现在合理配置磁盘权限和<span>iis</span>不安全组件<br />
防范<span>windows</span>服务器<span> WEB SHELL,</span>因为以前都未曾了解过关于<span>windows server 2003 </span>服务器安装完成后的安全强化设置，所以到后面再配置关于<span>IIS</span>站点对于磁盘权限控制设置的时候遇到了疑难未解的麻烦。自己直到后来<span>google</span>了解到后才回头做了相关的安全权限访问设置问题。</p>
<p style="margin: 0cm 0cm 0.0001pt">所以到此，先推荐一篇可能有点老但经典的文章：<span><a href="http://hi.baidu.com/nuanruohan/blog/item/63e831386a54812497ddd897.html"><span><span>合理配置IIS</span></span><span><span>站点对磁盘访问权限</span></span></a></span></p>
<p style="margin: 0cm 0cm 0.0001pt">关于<span>IIS</span>设置权限<span>:http://www.yesadmin.com/308/83529/index.html</span></p>
<p style="margin: 0cm 0cm 0.0001pt"><span>&quot;</span>其实权限设置的基本思路是：<span>1</span>、要为每个独立的要保护的个体（比如一个网站或者一个虚拟目录）创建一个系统用户，让这个站点在系统中具有惟一</p>
<p style="margin: 0cm 0cm 0.0001pt">的可以设置权限的身份。<span>2</span>、在<span>IIS</span>的【站点属性或者虚拟目录属性<span>&rarr;</span>目录安全性<span>&rarr;</span>匿名访问和验证控制<span>&rarr;</span>编辑<span>&rarr;</span>匿名访问<span>&rarr;</span>编辑】填写刚刚创建的那个</p>
<p style="margin: 0cm 0cm 0.0001pt">用户名。<span>3</span>、设置所有的分区禁止这个用户访问，而刚才这个站点的主目录对应的那个文件夹设置允许这个用户访问（要去掉继承父权限，并且要加上超管组和<span>SYSTEM</span>组）。<span> &quot;</span></p>
<p style="margin: 0cm 0cm 0.0001pt">所以这里自己计划独立创建一个用户组用于存放为管理各个不同站点或虚拟目录而特地创建的用户，方便统一管理。</p>
<p style="margin: 0cm 0cm 0.0001pt">测试<span>IIS</span>默认安装是否能支持<span>ASP&amp;ASP.net</span>程序的解析显示：</p>
<p style="margin: 0cm 0cm 0.0001pt">这里使用的是网上一个号称<span><a href="http://www.ajiang.net/products/aspcheck/index.asp"><span><span>阿江ASP</span></span><span><span>探针</span></span></a></span>进行测试的。确实很方便而且显示功能也很完善，推荐测试环境可以使用。</p>
<p style="margin: 0cm 0cm 0.0001pt">最后自己同时安装几个常用<span>ASP</span>组件，也随便分享下：</p>
<p style="margin: 0cm 0cm 0.0001pt">一、<span>LyfUpload </span>组件介绍、下载、安装、测试</p>
<p style="margin: 0cm 0cm 0.0001pt">介绍：国产的老牌的流行的上传组件，可惜的是阿江一直没有尝试这个组件。</p>
<p style="margin: 0cm 0cm 0.0001pt">下载：<span>http://www.ajiang.net/products/download/coms/lyfupload12b.zip</span></p>
<p style="margin: 0cm 0cm 0.0001pt">安装：解压刘云峰下载组件中的<span>LyfUpload.dll</span>文件，然后添加进注册表即<span>win+R</span>（或开始<span>&#8211;&gt;</span>运行<span>)</span>输入<span>regsvr32 E:\lyfupload12b\LyfUpload.dll </span>回车注册完成</p>
<p style="margin: 0cm 0cm 0.0001pt">二、<span>ASPJpeg</span>组件介绍、下载、安装、测试</p>
<p style="margin: 0cm 0cm 0.0001pt">介绍：曾经很流行的图像组件，当时知道它的时候很多人用它来缩放图片，不知道现在多什么功能了没。</p>
<p style="margin: 0cm 0cm 0.0001pt">下载：<span>http://www.oioj.net/down/AspJpegv1.5.0.0.rar</span></p>
<p style="margin: 0cm 0cm 0.0001pt 23.95pt">安装：直接双击运行安装，此文件中已附带有注册码直接复制黏贴就<span>ok</span>。</p>
<p style="margin: 0cm 0cm 0.0001pt 23.95pt">附注：安装过程会提示重启<span>IIS</span>服务器。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yousri.org/2008/12/02/install-windows-server-2003-iis-for-aspaspnet.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
