Access database prevents downloads

Source: Internet
Author: User
Tags mdb database modify access database
access| Data | database | Download How to prevent the MDB database from being downloaded has always been a big-head disease with access programmers. Now summarize the following effective methods:

1. Modify the database name. This is a common method of putting database names into weird names or long names in case someone else guesses. Once guessed, others can still download the database file, but the odds are not. such as the conversion of database Database.mdb to Dslfjds$^&ijjkgf.mdb

2. Modify the database suffix. Generally, change to database.asp, Database.asa, Database.inc, database.cgi, Database.dll, and so on, and note that files to set these suffixes in IIS cannot be resolved.

3. Change the database Database.mdb to #database.mdb. This is the simplest and most effective way.

Analysis: Suppose someone gets your database address string will be: http://www.yourserver.com/yourfolder/#database. mdb

But actually he got to be: http://www.yourserver.com/yourfolder/

Because the # here plays the role of the discontinuity, the address string encounters the # number and automatically considers the access address string to end. Note: Do not set the directory to access. In this way, no matter what other people use tools can not download, such as FlashGet, network ants.

Note: As long as the database filename contains ' # ' anywhere, no one else can download it properly. Similarly, a space number can act as a ' # ', but it must be a space in the middle of the file name.

4. Put the database connection file under another virtual directory.

5. Encrypt the Access database.

The above list only commonly used method, in order to increase the insurance nature, may use several methods simultaneously.



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.