Solved

How i encrypt my MSaccess database , i'm using ADO and Delphi 6 ENT

Posted on 2003-11-02
3
260 Views
Last Modified: 2010-04-05
Hi all,

i'm using a Delphi 6 Ent, i have an application that uses TADOConnection with MSAccess database, i want to be sure that my data is encrypted, i have "Encrypt Database=True" in my connection string but i want to know for sure that my database is encrypted.Please explain to me how can i be sure that i INSERT data in my databse encrypted and how can i check that, my database is passwrod protected.
0
Comment
Question by:closeall
3 Comments
 
LVL 1

Accepted Solution

by:
ricswika earned 125 total points
ID: 9673382
I follow this procedure (there may be others):

1) Open database for exclusive use in Access.
2) Use Tools/Security/Set Database Password to assign a password. I think the password is used as the encryption key, but am not sure.
3) Close the database
4) Use Tools/Security/Encrypt to encrypt the database
5) For my purposes, I also make the .mdb file readonly.
6) Supply the password when you connect (OnPassword event, PromptForPassword = True)

After this I can no longer see the data in my .mdb file with a binary browser, so I guess it is really encrypted. My program doesn't seem any slower when using the encrypted version.

Chow
Rick
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now