Recently, due to project needs, I learned ISAPI Filter programming and wrote this system. Now open source to friends in the programming forum.
Instructions for use of RedIce website resource anti-download system
This website resource anti-download system can protect all mdb and asa files in the website to prevent them from being downloaded.
download. Moreover, specific types of files in specific directories can be protected to prevent them from being illegally
download.
How to use:
1 Copy the configuration file FileProtector.ini file to the root directory of drive C.
2 Add ISAPI filter to IIS
Administration->Internet Information Services->Website->Properties->ISAPI Filter Tag
Click Add and enter a filter name (for example: AntiDownload). select
Select the path to the DLL file.
3 Modify the directory relative path in the FileProtector.ini file to the target you want to protect.
relative path to the record.
That’s OK!
Note: 1 AntiDownload.dll file does not need to be registered using the Regsvr32 command.
2 Only the first line of data in the FileProtector.ini file is valid and can only be written
a path.