Click here to Skip to main content
Sign Up to vote bad
good
See more: VB.NET
Hello all my brothers,
 
I want to encrypt the whole access database with vb.net.
I don't want to encrypt the tables or records in database.
I want to encrypt the whole access database.
Is it possible?
If it is, Please advise me or show me how to do it.
Thanks all and Hoping any helps.
Posted 13 Nov '12 - 23:11


2 solutions

Why? There's no point to it.
 
In order to use it, you would have to decrypt the database for the life of the application session. This completely strips your database of the encryption "protection" allowing anyone to copy/open the database during the time your app is running.
 
Then, when your app is done with the database, you'd have to re-encrypt it.
 
But, what happens if your app crashes when the database is unencrypted?? There that data sits, out in the open.
 
The bottom line is if data security is a concern, don't use Access databases.
  Permalink  
Thanks Dave Kreskowiak,
 
But Actually I am working with SQL DataBase.
to export some tables, We exported into New created Access Database.
the thing I want to do is encrypting that exported access database.
because I don't want user can easily open the database.
I think if i can encrypt the whole database , it will be secure a little for the End_User.
And sorry for my bad English too.
If there is way , please help me.
  Permalink  
Comments
Dave Kreskowiak - 15 Nov '12 - 0:22
OK. And after you've encrypted the Access database, then what? You can't use it at all until it's decrypted.
Jewelthet - 15 Nov '12 - 21:23
Can't I decrypt before I want to use? Is like that we can only decrypt after encrypted only in app is running the process? I intend to transfer these access database with some tables to another database. Is there something I don't know ??? :( :( :(
Dave Kreskowiak - 16 Nov '12 - 8:12
You HAVE to decrypt the Access database before you use it. The rest of your post made no sense at all.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 425
1 OriginalGriff 315
2 Slacker007 240
3 Aarti Meswania 210
4 Maciej Los 200
0 Sergey Alexandrovich Kryukov 8,953
1 OriginalGriff 7,134
2 CPallini 3,758
3 Rohan Leuva 3,036
4 Maciej Los 2,488


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 14 Nov 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid