Windows Server 2003 Improves FSO Security Settings Tutorial

  

ASP provides powerful file system access capabilities for reading, writing, copying, deleting, and renaming any file on the server's hard drive. This gives the school website security. Bring a huge threat. Many campus hosts are now suffering from FSO Trojans. But after disabling the FSO component, the consequence is that all ASP programs that use this component will not run and will not be able to meet the customer's needs. How to allow the FileSystemObject component without affecting the security of the server (ie: different virtual host users can not use this component to read and write other people's files)? Here are the experiences I have explored over the years:

The first step is different from the key set in Windows
2000: right click on the C drive, click on "Share & Security", in the dialog box that appears, select “Security" tab, and then Everyone Delete the Users group. If your website cannot run even after the deletion, please add the IIS_WPG group (Figure 1) and restart the computer.

After this design, the FSO Trojan is no longer operational. If you want to set a more secure level, please set each disk partition separately as above, and set different anonymous access users for each site. The following is an example (assuming that your host has an Abc.com site under the Abc folder on the E drive):

1. Open “Computer Management & Rarr; Local Users and Groups & Rarr; User & rdquo;, Create Abc user, and set the password, and "user must change the password when logging in next time", the previous checkmark is removed, select "User can not change the password" and "Password never expires" and set the user As part of the Guests group.

2. Right-click E:Abc and select the “Properties →Security” tab. At this point, you can see that the default security setting for this folder is “Everyone”; full control (depending on the situation) The content is not exactly the same), delete the Everyone's full control (if you can't delete, please click the scale advanced) button, will "allow the parent's inheritance permission to propagate", remove the previous checkmark, and delete all), add Administrators and Abc users have all security rights to the directory of this website.

3. Open the IIS Manager, right click on the Abc.com hostname, select the "Attributes → Directory Security" tab in the pop-up menu, click on Authentication and Access Control [edit] The dialog box shown in Figure 2 pops up. The default user access is “ IUSR_machine name”, click [Browse], find the Abc account created in the “Select User” dialog box, and then enter it repeatedly after confirming. password.

After this setting, the user who visits the website accesses the site of the E:Abc folder anonymously as the Abc account, because the ABC account only has security permissions for this folder, so he can only be in this folder. Use FSO.

Copyright © Windows knowledge All Rights Reserved