Solved

Prevent Using Unhide Command...

Posted on 1998-11-23
5
327 Views
Last Modified: 2011-09-20
I just want to know if I can hide my database, so any user can't see my database structures in any condition except admin user, even he can't use unhide command to see my database.
0
Comment
Question by:merci
5 Comments
 
LVL 7

Expert Comment

by:spiridonov
ID: 1969154
If you want to prevent user from using Unhide option , you need to replace general menubar with your own menu bar, that doesn't contain this option.
0
 
LVL 10

Expert Comment

by:brewdog
ID: 1969155
No only will you have to create your own menu bar (or at least turn off the default menu bar), but you'll also have to:

-- hide the default toolbars, most of which contain a button to display the database window. For some reason, even if your database is hidden, Microsoft lets this button display the db window. (Lame)

-- Probably not let users close forms except using methods you want -- funnel them through a switchboard or something.

It's more work than it should be, but I understand the benefits. I do it in all my apps, too.

Hope this helps.

brewdog
0
 

Author Comment

by:merci
ID: 1969156
I  think  you  dont  understand  me, even if   I hide the default menubar,  the other  user can press F11  to unhide my databse,  so,  there  will  be  no  use of your  answer!!!

I  just  want  to  prevent  the user  to  see  the stercure  of my databse?  I  hope  you  understand  me  now!!



0
 
LVL 10

Expert Comment

by:brewdog
ID: 1969157
You'll still need to take the above steps; I didn't know F11 displayed the database window. (Which makes me wonder: how many users do?)

You could create a sub or function that pops up a msgbox telling the user the database window is off limits, then set the KeyPreview property to yes on all forms and reports -- then use your KeyDown event for the form/report to call the sub if the user has pressed F11.
0
 
LVL 3

Accepted Solution

by:
tcurtin earned 0 total points
ID: 1969158
hi brewdog,
the F11 key circumvents any Startup or Autoexec macros, so your comment wouldn't be seen by the database.
Merci,
The only truly way would be to make an .mde and distribute it to the users. The design environment is stripped away. If that is not an option, you need Jet security to use permissions to edit data. The users will not be able to review the design view of objects.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question