Avatar of Moshe Singer
Moshe Singer
Flag 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?
Microsoft AccessEncryption

Avatar of undefined
Last Comment
PatHartman

8/22/2022 - Mon
PatHartman

If you include the password in the command line, how does that protect the database?
Máté Farkas

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

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
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
ASKER CERTIFIED SOLUTION
Saadia Attias

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Moshe Singer

ASKER
how i use to code to Unset Database Password?
PatHartman

Try starting a new question.  This one is closed.