Prevent MDB databases from being downloaded with IIS

Source: Internet
Author: User
Tags mdb database

How do I prevent the MDB database from being downloaded? This article discusses the server-side prohibit MDB format database files are downloaded, instead of adding the anti-download table in the database, the database name to the # Number of ASP, ASA and other suffix format.
The following example shows how to disable the download of the MDB database on the server-side IIS6.0. Create a new Notepad file, do not fill in any content, change the file name to NoDownload.dll, copy to C:\Windows\System32\ (Win2000 to C:\WinNT system32\) directory, open the IIS Service Manager, Select the site you want to set, right-click, select "Properties", open the Site Properties dialog, switch to "Home Directory" tab, click the "Configure" button in the bottom



Pop up the Add/Edit Application Extension Mapping window by clicking the "Add" button below the "Mappings" tab in the Application Configuration window.
Click the "Browse" button to locate the NoDownload.dll file that you just clicked, enter ". mdb" in the "extension" text box, action set to: All actions, click "OK" to save the settings.

This will prompt the HTTP 404 error when you enter the database address directly, prompting "file or directory not found" and downloading using FlashGet and other download tools.

Original address: http://www.webshell.cc/3766.html

Prevent MDB databases from being downloaded with IIS

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.