View Full Version : Security question


mahmudich
07-01-2003, 03:50 AM
Hi guys!

I’ve got a DB security question, and it sounds quite easy, but I stuck with it. The DB on start requests User Name and Password. What I want to do is if a visitor is not the admin, then Menues, Toolbars, Display Database Window, Display Status Bar should NOT appear on a screen. So, all users, except admin, do not see any unnecessary stuff on a screen, and don’t have any access to modify design, but only data.

I presume somehow I can use VB code in MainFormOnLoad() event to check whether it’s user or a admin and set permissions.

Thank you in advance for any hints!

Autoeng
07-01-2003, 04:12 AM
Here you go...

http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=30793&highlight=hide+toolbar