Solved

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

Posted on 2003-11-02
3
269 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

685 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