Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Blackout Times    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Prevent Backend access
Matt Hall 
          
2 years ago
Using your table relinking technique, could you link you tables to a dummy (BLACKOUT) database on the MainForm Form_Load event and then relink to the correct tables after non-Blackout times are confirmed?  It seems like this would completely prevent access to the Backend during Blackouts.
Sami Shamma  @Reply  
             
2 years ago
Why don't you simply encrypt the Backend (BE) with a password? I do that and no one can access my BE at any time including non-blackout period. the only access to the BE is through my distributed FE.
Richard Rost  @Reply  
          
2 years ago
Matt, you COULD do that, but then you'd have to distribute the re-linked front-end file in order for that to work during the blackout times and then distribute it again once it's over. Seems like a lot of work.

You could just pull everyone but admin's access rights to the server share. That'll keep em out. :)
Matt Hall OP  @Reply  
          
2 years ago
I was thinking the VBA that would change linking back and forth would reside in the frontend.  The dummy database would contain empty tables and just be a valid placeholder to receive a temporary/useless link (TABLEPARKBtn) during blackout.  After blackout, the VBA would relink (TABLELINKSBtn) to the correct backend database.  I was playing with it with buttons and it seemed to work:

Private Sub TABLELINKSBtn_Click()
    Dim DB
    Set DB = CurrentDb
           DB.TableDefs("Tpoint_TEST").Connect = (";DATABASE=C:\Users\matt.hall\Desktop\MATT\test\FILES\TRIAL28.accdb")
           DB.TableDefs("Tpoint_TEST").RefreshLink
End Sub


Private Sub TABLEPARKBtn_Click()
    Dim DB
    Set DB = CurrentDb
           DB.TableDefs("Tpoint_TEST").Connect = (";DATABASE=C:\Users\matt.hall\Desktop\MATT\test\PARK.accdb")
           DB.TableDefs("Tpoint_TEST").RefreshLink
End Sub

I may just be misunderstanding what you are trying to tell me.
Richard Rost  @Reply  
          
2 years ago
So you're saying the front-end knows during blackout to link to a dummy db instead that has no table data. I guess that would work, but if you lock down the database and prevent them from getting into it in the first place, they can't get to the tables.

In super secure databases, I never leave the tables linked at all. I connect to them on logon and disconnect before the database closes. Therefore even if someone breaks into the FE, they don't have any tables there. I'm pretty sure I talk about this in the Access Security Seminar.
Matt Hall OP  @Reply  
          
2 years ago
I see what you guys are saying.  I have perused through the Access Security seminar but have not really focused on it.  I was hired for a specific project and have had to focus on getting the application correct and data scrubbed.  I haven't even split it yet.  Thanks for the feedback.  Thanks to Sami as well.

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

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: 4/13/2026 6:34:34 AM. PLT: 1s