When IIS installs Windows2000, if you choose to install IIS, the system will create a inetpub directory in your%systemdrive% when you install it, and create a scripts directory under the Inetpub directory. IIS also creates a virtual directory scipts point to the directory and executes permissions on the directory. Some time ago NSFocus Security Team research found that the "Unicode Decoding Directory Traversal Vulnerability" Most of the problem is for the Web site executable directory, so we recommend that the directory to move to a non-system disk to some extent to ensure a certain degree of security.
However, when we chose to install the system components, we could not define the IIS installation letter by ourselves, so we have this article today. :)
When we install the system, we do not choose to install IIS, and when the system is installed manually, we can customize the installation of IIS 5.0 in an unattended manner. First verify that your Windows 2000 installation media is available, in this case the installation media is a CD-ROM, so just insert the installation CD into the CD drive, and then create an unattended installation file on your hard disk or floppy disk, in this case we'll create a IIS5install.txt in the D disk. As an unattended installation file, let's look at the contents of the file:
components installed by [Components]
Iis_common = on common file
Iis_inetmgr = on IIS Manager
iis_www = on WWW service
iis_ftp = on FTP Service
Iis_htmla = IIS Manager on Web mode
[InternetServer]
Path= "D:\inetsrv" common file placement (if you uninstall IIS and then manually install, the common file will remain unchanged)
pathftproot= the root path of the "D:\inetPub\FTPRoot" ftp
The root path of pathwwwroot= "D:\InetPub\wwwroot" www
After you save the file, run "Sysocmgr/i:%windir%\inf\sysoc.inf/u:d:\iis5install.txt",
No prompt box appears, the system will automatically install for you IIS, and the scripts directory will be in D disk, the use of "Unicode decoding Directory Traversal Vulnerability" will be invalidated.
If you need to install more IIS components, here is a more detailed unattended installation file:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.