When you start Access you can hold down the shift key in order to be able to edit the database. I don't want my users to have access to this. How can I disable this or require a password (preferably with a password so I can still edit it myself.)
Are you wanting to disable the "allow bypass" in the "master" copy of the copy that is deployed?
I also added a second link to my previous post that has other code.
You could use the code for the utility in your own app.
The reason I use the utility to set the "allow Bypass" property with an external Database is that the property does not take effect once set until you exit the database and then get back in.
Note: I would only disable; the "Allow ByPass" property on the deployed copy of the front end.