Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Users Can Set Startup Options in Accde
Jennifer Neighbors 
     
14 months ago
I'm trying to lock down my accde databases so users can't see "under the hood." I'm using code I'm sure I got from this site, perhaps from one of the security courses or seminars. After running the code to hide the navigation pane, remove the ribbon, disable all the other startup options, etc., users can still select Options from the File menu and change the startup options easily!

Why are these database options available to users of an accde database? What are other developers doing to prevent this and ensure the security of their accde databases?
Sami Shamma  @Reply  
             
14 months ago
Are you creating accde file (Run time)?
Alex Hedley  @Reply  
           
14 months ago
.accdr might not have the options
Jennifer Neighbors OP  @Reply  
     
14 months ago
I am using a .accde, which I had hoped would hide Options in the File menu and prevent users from changing the startup options I set. What is the value in setting startup options to hide the navigation pane and the ribbon if users can quickly turn them back on? I don't want to have to distribute runtime Access. Is that what other developers are doing?
Sami Shamma  @Reply  
             
14 months ago
Jennifer Neighbors I just tested what you are saying, and I am surprised that the users can change the start Form.
This is one for Richard.
Richard Rost  @Reply  
          
14 months ago
Yes, it is indeed a problem that nothing you do can hide the file options menu. I wish there was a setting to turn this off. I've tried for hours, but no matter what you do, even disabling the ribbon and creating your own custom ribbon, there's no way to prevent the user from getting into file options.

So, they could pick a different startup form if they really wanted to. What I teach in the security seminar is that your database isn't going to have any links to the back-end tables in your front-end database. You're not keeping those links active. So, even if the user picks a different startup form and they open up the Customer form, it's not going to be linked to the Customer table at that point. So, they just get an error message.

What my security seminar teaches you to do is when the database opens, the front-end database immediately opens a logon form. The logon form will check your username and password against the User table in the back-end, but it doesn't do it through a link. It opens up a recordset connection to it, and then once that is valid, it will link all of the tables. When the database shuts down, it will unlink all of the tables. That is the method that I use. And I've been doing it for 20 years and I've got multiple clients using it, and it's good enough security for the average small office.

But like I always say, the only 100% secure way to protect your data is to use a Microsoft Access front-end and an SQL Server back-end. Access by itself just does not have that level of security. I am very surprised that users can get in there and change that form too, but as far as I can tell, there's no way to disable it. So that's what I do; I just unlink the tables, and if they do change the startup form, they're just not going to have any data.

You could also write a routine that runs in the AutoExec macro that checks to make sure that if any other forms are open, it closes them because the startup form is going to run first. Then you can have an AutoExec macro run right after that, and the AutoExec macro can close any other open forms and open up the logon form. That is certainly possible, and I've done that before.
William Dowler  @Reply  
       
14 months ago
Richard,
I've tried to open the thread I had about a year ago on this subject but to no avail. The thread was titled "Privacy Options". I can't remember all the details, but I know the mods walked me through creating a new Menu to turn off the "Options" under the File tab, something to do with the Default Ribbon, I think. How can I review the posts on this thread? This may help Jennifer (and others) with this particular problem.
Matt Hall  @Reply  
          
14 months ago
William, was it this one?
William Dowler  @Reply  
       
14 months ago
Matt,
It was, thank you. "UsysRibbons" was the term I couldn't remember. This worked perfectly for me.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/6/2026 11:25:08 AM. PLT: 0s