Protecting Backend from prying eyes?

bofonomo

Board Regular
Joined
Feb 4, 2010
Messages
114
Hi, it's been a while since my last post. It's good to be back :)

I've got a simple database with a frontend form linked to a back end.

I've been trying to protect the backend from users of the form. So they can only open the database and fill out the form, but not view the back end table, how can I do this.

Password encryption is all I can find but this still allows the user of the front end to view the back end table, which could contain personal information of others.

Please help!
 

Some videos you may like

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Montez659

Well-known Member
Joined
May 4, 2005
Messages
918
bofonomo,

I don't have all the code for you, but essentially the only way that i know how to do it is to manipulate everything from SQL statements in VBA. That way, you are not showing any linked tables in the front end interface, but the connection and query is done via the underlying VBA.

There is a great little app that Allen Browne has on his site to get some of that SQL converted into VBA. http://allenbrowne.com/ser-71.html

Hopefully this gets you started in the right direction. I am sure that someone will post shortly after me with an easier way of doing things (as always been my experience!) but until that time, you can check out what I talked about above.
 

bofonomo

Board Regular
Joined
Feb 4, 2010
Messages
114
I've got limited time to do this, so I've used the "Usys" prefix for the table name, which should keep most people out for the moment, but I'm definitely check out your link for future reference.

Thanks for the quick reply.
 

boblarson

MrExcel MVP
Joined
Nov 14, 2008
Messages
1,964
I've got limited time to do this, so I've used the "Usys" prefix for the table name, which should keep most people out for the moment, but I'm definitely check out your link for future reference.

Thanks for the quick reply.

All you need to do is to NOT let them have access to the database window/nav pane. And you do that by disabling the F11 key (by unchecking the USE ACCESS SPECIAL KEYS checkbox under the startup options for the current database) and then you would need to use the DISABLE SHIFT KEY BYPASS (do a Google search and you'll find it). Make sure you have the Enable Shift Key Bypass set up to work somehow so you can get in to work on things.
 

Watch MrExcel Video

Forum statistics

Threads
1,109,388
Messages
5,528,408
Members
409,817
Latest member
JiNXX9500

This Week's Hot Topics

  • Change military grades into rank
    Afternoon all Need help with formula that will change military rank (i.e. 1, 2, 3 into Amn, A1C, SrA). Running IF formula that does not work...
  • VBA COUNTIF SOLUTION
    Hi The following are the errors spread across the several columns from E to Q ie. 13 columns across several sheets with more than 500 rows per...
  • INSERT ROW WITH SPECIFIS TEXT IN A COLUMN
    Hi All! How can identify that that the row to be inserted has to be inserted before 1st row with specific text in column F. If I record the...
  • Auto-Create a monthly Sign in sheet for preschool students
    The image below is what each page looks like. Above is space for the "Child Name" "Month" "Class" School days are obviously Monday-Friday but...
  • VBA vlookup multiple results
    Hi folks, Hopefully someone out there can help. I have a list to vlookup which works (ish). the lookup only picks up the first instance of the...
  • Extract values for earliest/latest times
    I am trying to put together a formula to get the earliest start time, the latest end time from column A for each person in Column B-F without the...
Top