Hide & Protect the Database window

W

Warrio

Hello!

Is it possible to do not let the user see the Access objects?
I know that it is possible to hide with the menu 'Window, Hide' or by VBA
Code..
but the user can simply press F11 or go to the Menu 'Window, Unhide'

If there is another way to hide completely or maybe even protect the unhide
window with a password

Thanks for any suggestion.
 
W

Warrio

Even with an .mde file the user can still see the databse window
the only thing that he cannot do is to edit the forms or reports and see the
the code..
but he can still see the access objects (tables, queries, forms, reports...)

Thanks but it doesn't answer my question
any correct answer would help

Thanks again
 
R

Rick Brandt

Warrio said:
Even with an .mde file the user can still see the databse window
the only thing that he cannot do is to edit the forms or reports and
see the the code..
but he can still see the access objects (tables, queries, forms,
reports...)
Thanks but it doesn't answer my question
any correct answer would help

Security in Access is largely a process of erecting barriers. The simplest of
barriers will block most people who are not familiar at all with Access. As the
familiarity with Access goes up, you have to erect higher barriers. Keeping in
mind that nothing will make an Access file completely secure you have the
following options.

Use the tools in Startup to...

Hide the db window
Disable all built in Menus
Disable "Special Keys" (like F11)

This is a "level 1" barrier. Users more familiar with Access will know that
they can bypass all of these settings by holding the shift key while opening
the file. To raise the bar you can execute code that will disable the shift key
for your particular file. See help topic on AllowBypassKey Property for
details.

That would be a "level 2" barrier, but more sophisticated users will know that
they could run similar code to re-enable the bypass key. To raise the bar
further you can utilize Access User Level Security. Besides the normal benefits
of applying ULS it gives you the ability to disable the bypass key in a manner
that cannot be reversed except by users with Adminstrator authority in the
security settings. Details of this at link below...

http://www.mvps.org/access/general/gen0040.htm

In parallel with the above you can hide your objects so even if they get to the
db window they will not see anything. This is level 1 because many users will
know that they can alter their options to show hidden objects. Level 2 would be
to prefix all object names with USys which will also hide them by treating them
as system objects. The user who changes his option settings to show hidden
objects still would not see these unless they also chose to show system objects.
Level 3 would be to create all table links at startup and destroy them at
closing so that they simply don't exist until your application needs them. The
tables that are linked to can exist in a file with an obscure file name (doesn't
even need mdb extension) in an obscure location so that the user would have
difficulty even knowing what file it is.

An old axiom is that 5% of your efforts will block 95% of the users. The
remaining 95% of your efforts will block an additional 3% of users. No amount
of effort will block the last 2%.
 
G

Guest

hi,
try this and see if this is want you want.....
Tools>Startup.
Enter a starup form and uncheck show db window. there are other options
there you may wish to review.

Regards
FSt1
 
W

Warrio

Thanks for your help!!


FSt1 said:
hi,
try this and see if this is want you want.....
Tools>Startup.
Enter a starup form and uncheck show db window. there are other options
there you may wish to review.

Regards
FSt1
 
A

Albert D.Kallal

You most certainly can, and should hide all of the ms-access interface. The
options to complete hide and keep people out of the ms-access interface can
easily be done using the tools->start-up options. Using those options allows
you to complete hide the ms-access interface (tool bars, database window
etc). Also, using these options means you
do not have to bother setting up security.

Try downloading and running the 3rd example at my following web site that
shows a hidden ms-access interface, and NO CODE is required to do
this....but just some settings in the start-up.

Check out:

http://www.members.shaw.ca/AlbertKallal/msaccess/DownLoad.htm

After you try the application, you can exit, and then re-load the
application, but hold down the shift key to by-pass the start-up options. If
want, you can even disable the shift key by pass. I have a sample mdb file
that will let you "set" the shift key bypass on any application you want.
You can get this at:

http://www.members.shaw.ca/AlbertKallal/
 

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