Encrypt your Access database

Source: Internet
Author: User
Tags control characters access database
Secure Your Access Database

How can you keep unwanted people from downloading your database simply by typing in the URL?

You can ' t, it's not possible. BUT can secure it by adding a password to it. Below I'll

Walk you through the steps needed to accomplish this.

1. Download your database (new feature added today, above).

2. Open it up in MS Access. Check the "Exclusive" checkbox in the File dialog box. If you don ' t,

Access would ask you to later.)

3. Menu bar--> Tools--> security--> Set Database Password Select ' Tools ' from the menu bar,

Then "Security", then "Set Database Password."

4. Your Password can: (quoted from MS Access help) "Passwords can is any combination or

Fewer characters, except control characters. Passwords are case-sensitive. "

5. Upload your password protected database to Brinkster.

6. What needs to is changed in your code:
Only your connection string needs to be changed. Here is a sample:

Set Conn = Server.CreateObject ("ADODB. Connection ")
Myconnstr = "Driver={microsoft Access DRIVER (*.mdb)};"
Myconnstr = myconnstr & "Dbq=d:\sites\membername\db\mydbase.mdb;"
Myconnstr = myconnstr & "Pwd=yourpassword"
Conn.Open (MYCONNSTR)

Add the "Pwd=yourpassword" to the connection string and your are set!

7. In the SQL Mgr, a new field has been added for password. This way your can still use the SQL

MGR, even if your Access database has been password protected!

By:jared Stauffer


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.