Link to home
Start Free TrialLog in
Avatar of Moshe Singer
Moshe SingerFlag for United States of America

asked on

Protect Access 2016 database with password

I encrypted the database with a password, however, I want to be able to open the database with a command line which should include the password, because I see no other way to protect the application except for using a password. Does anyone have a suggestion how I can include the database password in the command line?
Avatar of PatHartman
PatHartman
Flag of United States of America image

If you include the password in the command line, how does that protect the database?
Yes it is possible to provide the password when you open the database file in Access:

C:\<path to office>\MSACCESS.EXE /pwd <password> YourDatabase.mdb

Open in new window

Avatar of Moshe Singer

ASKER

thanks Mate Farkas
if you try this, you will see that  it is not possible
"pwd" is not working for a "Database Password"


And for PatHartman
the Command line I can close in many ways, it can be a vb project, and some other ways
ASKER CERTIFIED SOLUTION
Avatar of Saadia Attias
Saadia Attias

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
how i use to code to Unset Database Password?
Try starting a new question.  This one is closed.