?
Solved

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

Posted on 2003-11-02
3
Medium Priority
?
283 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
ricswika earned 500 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month14 days, 13 hours left to enroll

770 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