How Can i Protect Back End

D

Dave Elliott

If users have to be able to access this folder, then how can I protect the
back end db?
 
D

Dave Jones

I use the AutoExec macro to run a function named start in
a module.
The code for the function is:

Function Start()
Dim Strinput
Strinput = InputBox("If you have an administrator password
please enter it. If not please click
Cancel", "Administrator Password")
If Strinput = "your password goes here" Then
'Do nothing
Else
Application.Quit
End If

If the user does not enter the correct password, Access
quits immediately.

Dave




End Function
 
R

Rick Brandt

Dave Elliott said:
If users have to be able to access this folder, then how can I protect the
back end db?

You can use Access security, you can obfuscate where the data file is, and you
can make lots of backups. There is only so much you can do with a file-based
database.
 
T

TC

But with that solution a user can just create a new db & link to the tables
in the (still unprotected) BE.

The proper solution (IMO) is user-level security and Run With Owner
Permission (RWOP) queries - not a task for the faint hearted!

TC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top