For asp+access development of the site, security is the most worrying is that Access database can be downloaded at will, of course, we can modify the database name means to protect as far as possible, but in the final analysis is not thorough. So let's talk today. The method of using redirected URLs in IIS to prevent Access databases from being downloaded.
This method requires you to have the administrative authority of IIS, if you are using a virtual host, then there is no way, hehe. This assumes that you have administrative permissions on IIS.
1. First Open Internet Information Services (IIS) Manager, in the Internet Information Services (IIS) Manager left window to find the folder where your database is located, the relevant screenshots are as follows:
2, in the right window to right-click your database file name → select "Properties"
3, in the pop-up window check "redirect to URL", and then "redirect to:" Input box to enter the URL can be, the relevant screenshots are as follows:
After the above settings, the Access database in the Web site can not be downloaded, the download will automatically jump to the URL you set.