Ways to prevent Access databases from being downloaded by using redirected URLs in IIS

Source: Internet
Author: User
Tags iis access database

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.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.