Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Access VB.NET Exercise
i have developed an application in vb.net with msaccess database. for security purpose i want to protect ms access file so any way to protect...
 
i tried to but password but there some tools to crack the password.. i like to keep the database file with in exe or any encryption and decryption methods..
 
plz help..
Posted 18-Feb-13 8:55am
Comments
valery possoz at 18-Feb-13 17:27pm
   
If you can avoid using Access. There are better alternatives Sql Server compact for example, The sdf file can be encrypted and the connection can require a password.
Valery.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You can't protect a Access database file. Like you said, passwords on the database are a joke.
 
You also can't encrypt the database and use it. It has to be decrypted and in file form on the drive to be usable. Well, once you decrypt it, it's wide open to anyone who wants a peek.
 
Oh, then there's that "embedded in an .EXE". Wrong. Not going ot happen as an .EXE is locked and not writable while the .EXE is running. Resource files in an .EXE are read-only and cannot be modified at runtime.
 
If you want to protect the database, use SQL Server instead. It supports FAR greater security and encryption options than Access ever will.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 5,130
1 DamithSL 4,237
2 Maciej Los 3,700
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,846


Advertise | Privacy | Mobile
Web01 | 2.8.141216.1 | Last Updated 18 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100