Secure a Microsoft Access Database with Startup and Interface Settings
Question details
Configure an Access database to limit users' access to database objects and interface controls.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- A developer wants users to work through a designated interface rather than modify tables, queries, or application design.
- Observed behavior
- The desired setup opens a startup form and limits access to navigation and design tools while preserving a way for developers to maintain the application.
Identify the form users should see at startup and confirm that it provides the navigation they need. Keep a developer copy with unrestricted access, and check that you have permission to change the database's Access options.
Configure Access startup and interface options
Use startup settings to guide users to a form and reduce access to database objects and built-in commands.
These settings restrict the interface but are not a security boundary. Users who can access the database file may be able to open its tables or queries through other tools.
Open the database in Access, select File > Options > Current Database, and choose the user-facing form under Display Form.
On the Current Database page, clear Display Navigation Pane and Use Access Special Keys. Review the Ribbon and Toolbar Options and clear Allow Full Menus if appropriate for your users.
In the startup form's VBA code, add DoCmd.ShowToolbar "Ribbon", acToolbarNo to an appropriate startup event. Test the form to ensure users can still complete their tasks; the code must be allowed to run in the database.
Click OK, close the database, and reopen it normally. Check that the startup form appears and that the navigation and menu restrictions behave as intended.
To bypass startup settings for maintenance, hold Shift while opening the database, provided the AllowBypassKey property has not been disabled. If you disable that property for deployment, retain a separate developer copy where bypass remains available.

Split the database and deploy an ACCDE front end
Use a separate front end and back end to simplify deployment and limit design changes to forms, reports, and VBA code.
Work with Office Documents in WPS Office
WPS Office is a free, lightweight, easy-to-use alternative for everyday documents, spreadsheets, and presentations. Its familiar interface and Office format support make it easier to move existing files. It does not replace Access or secure Access databases.

Frequently Asked Questions
Can users bypass the startup form in Access?
Users can normally hold Shift while opening the database to bypass startup settings. This bypass is unavailable if the database's AllowBypassKey property has been disabled.
Does hiding the Navigation Pane protect my tables?
No. Clearing Display Navigation Pane under File > Options > Current Database hides the pane, but it does not prevent someone with file access from reaching data through other means. Use appropriate file and network permissions.
What does an ACCDE file prevent users from changing?
An ACCDE prevents users from viewing or editing VBA source and changing form and report designs. It does not by itself secure back-end data or prevent every change to queries.
Why might code to hide the Ribbon not run?
Access may block VBA in a database that is not trusted. Review the security warning when opening the file and enable content only if you trust its source, or use an appropriate trusted location.




