Click here to Skip to main content
15,897,334 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
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
Comments
Valery Possoz 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

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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900