Click here to Skip to main content
13,550,246 members
Rate this:
Please Sign up or sign in to vote.
See more:
i have developed an application in 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 7:55am
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.

1 solution

Rate this: bad
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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.180515.1 | Last Updated 18 Feb 2013
Copyright © CodeProject, 1999-2018
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