block copying a database

  • Thread starter Thread starter Guest
  • Start date Start date
You can't.

If you are using a classic front-end and back-end scenario, you could 'hide'
the back-end and prevent the average user from finding it, but if someone
can access a file, they can copy it.

Rick B
 
It is possible to insert a function that doesn't allow to make a copy to a
place you don't want.
Use following as example.

If Mid(Db.Name, 1, 17) <> "C:\data\Helpde~1\" Then
Response = MsgBox("This interface runs only from c:\data\Helpde~1\
"You are obliged to take a copy of it there."

"If you want me to make a copy for you, select Yes."
"Else, select No and I will close" _
, vbExclamation + vbYesNo, "Forbidden server use")
 
Back
Top