Win2003 tips for improving FSO security

  
ASP provides powerful file system access, which can read, write, copy, delete, rename, and other files on the server hard disk, which brings huge security to the school website. 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: can not use this component to read and write other people's files between different virtual host users)? The following are the experiences I have explored over the years:
The first step is the key to setting up Windows 2000: right click on the C drive, click on "Share & Security" in the dialog box that appears "Security ” tab, delete the Everyone, Users group, if your website can not run even after the deletion of the ASP program, 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; Users”, Create Abc Users, And set the password, and "users must change the password when they log in next time", the previous checkmark is removed, select "User can not change the password" and "Password never expires", and set the user to be affiliated 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 (depends on the content displayed in different situations) Just the same), delete 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 to this All security permissions for the site directory.
3. Open IIS Manager, right click on the Abc.com host name, select the "Attributes → Directory Security" tab in the pop-up menu, click [Edit] and access control [Edit], pop-up 2 dialog box, anonymous access user default is "IUSR_ machine name", click [Browse], in the "Select User" dialog box to find the ABC account created in the previous, determine the password and repeat.
After this setting, the user who visits the website accesses the E:Abc folder site anonymously as the Abc account, because the Abc account only has security rights to this folder, so he can only use FSO under this folder.


FAQ: How to lift FSO program less than 200k upload limit?
First turn off the IIS admin service in the service and find Metabase under the Windows\\System32\\Inesrv directory. Xml and open, find ASPMaxRequestEntityAllowed, modify it to the required value. The default is 204800, which is 200K, change it to 51200000 (50M), and then restart the IIS admin service.
ASP provides a powerful file system access capability, which can read, write, copy, delete, rename, and other files on the server hard disk, which poses a huge threat to the security of the school website. 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: can not use this component to read and write other people's files between different virtual host users)? The following are the experiences I have explored over the years:
The first step is the key to setting up Windows 2000: right click on the C drive, click on "Share & Security" in the dialog box that appears "Security ” tab, delete the Everyone, Users group, if your website can not run even after the deletion of the ASP program, please add the IIS_WPG group (Figure 1), and restart the computer.
Copyright © Windows knowledge All Rights Reserved