Solved

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

Posted on 2003-11-02
3
257 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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

763 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

6 Experts available now in Live!

Get 1:1 Help Now