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.