473,399 Members | 3,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Security question

Hi all,
I want to be able to uncheck all the options in the start-up menu so
that along with the workgroup information, all the menu's are removed making
the database even more secure. The problem with that is that I will not be
able to re-instate the menus to do changes should I need to. (Will I?)

With this in mind, is there any way I can create a transparent command
button hidden on one of the forms so that when clicked, then menu's will
re-appear?

Thanks all for your help?

Mark
Nov 12 '05 #1
6 1466
"Mark Reed" <ma*********@ntlworld.com> wrote in message
news:ygMZb.340$8N6.110@newsfe1-win...
Hi all,
I want to be able to uncheck all the options in the start-up menu so
that along with the workgroup information, all the menu's are removed making the database even more secure. The problem with that is that I will not be
able to re-instate the menus to do changes should I need to. (Will I?)

With this in mind, is there any way I can create a transparent command
button hidden on one of the forms so that when clicked, then menu's will
re-appear?

Thanks all for your help?

Mark

Are these steps being taken in addition to using user-level security? If
so, you could have a tab on a form which only becomes visible if you log in
as a member of the admins group.

Fletcher
Nov 12 '05 #2
Hi,
Yes, this is in addition to user level security.

Are you saying that it is possible to put all the menu's on a form which is
only accessible to Admin users?
Hi all,
I want to be able to uncheck all the options in the start-up menu so
that along with the workgroup information, all the menu's are removed making the database even more secure. The problem with that is that I will not be
able to re-instate the menus to do changes should I need to. (Will I?)

With this in mind, is there any way I can create a transparent command
button hidden on one of the forms so that when clicked, then menu's will
re-appear?

Thanks all for your help?

Mark

Are these steps being taken in addition to using user-level security? If
so, you could have a tab on a form which only becomes visible if you log in
as a member of the admins group.

Fletcher
Nov 12 '05 #3
Fletcher,
Build your own switchboard and login screen and check security on login. If
the login is allowed to get to the database window, let them in, otherwise,
load the user's menu to your switchboard.
"Fletcher Arnold" <fl****@home.com> wrote in message
news:c1**********@titan.btinternet.com...
"Mark Reed" <ma*********@ntlworld.com> wrote in message
news:ygMZb.340$8N6.110@newsfe1-win...
Hi all,
I want to be able to uncheck all the options in the start-up menu so
that along with the workgroup information, all the menu's are removed making
the database even more secure. The problem with that is that I will not be able to re-instate the menus to do changes should I need to. (Will I?)

With this in mind, is there any way I can create a transparent command
button hidden on one of the forms so that when clicked, then menu's will
re-appear?

Thanks all for your help?

Mark

Are these steps being taken in addition to using user-level security? If
so, you could have a tab on a form which only becomes visible if you log

in as a member of the admins group.

Fletcher

Nov 12 '05 #4
"Mark Reed" <ma*********@ntlworld.com> wrote in message
news:7dOZb.601$8N6.471@newsfe1-win...
Hi,
Yes, this is in addition to user level security.

Are you saying that it is possible to put all the menu's on a form which is only accessible to Admin users?

Yes. I find that it is sometimes better to make things entirely invisible
for standard users rather than making them visible but disabled. It is just
a question of psychology but it advertising the fact that there are features
there which the current user has no permissions for may make him or her feel
curious / snoopy / left out / whatever.

In this example, there is a form with 2 tabs on it. The second tab contains
controls intended only for db administrators so when the form is opened,
code checks to see if the current user is a member of the admins group and
if so makes the second page of the tab control visible. If the user is not
an administrator, there is no intimidating error message - the second tab
simply does not show up.

I hope you can adapt the general idea to meet your needs.

Fletcher

Private Function AmInAdmins() As Boolean

On Error GoTo Exit_Handler

If
Len(DBEngine.Workspaces(0).Groups("admins").Users( CurrentUser()).Name) > 0
Then
AmInAdmins = True
End If

Exit_Handler:
Exit Function

End Function
Private Sub Form_Open(Cancel As Integer)

On Error GoTo Err_Handler

If AmInAdmins() Then
ctlTab.Pages("pge2").Visible = True
Else
ctlTab.Pages("pge2").Visible = False
End If

Exit_Handler:
Exit Sub

Err_Handler:
MsgBox Err.Description, vbExclamation, "Error No: " & Err.Number
Resume Exit_Handler

End Sub
Nov 12 '05 #5
"Alan Webb" <kn*****@hotmail.com> wrote in message
news:_e***************@news.uswest.net...
Fletcher,
Build your own switchboard and login screen and check security on login. If the login is allowed to get to the database window, let them in, otherwise, load the user's menu to your switchboard.

Hi Alan
Did you see that I'm not the OP - that's Mark Reed, who seems to have
already decided on the built-in user-level security approach.
Regards,

Fletcher
Nov 12 '05 #6
Fletcher Arnold (fl****@home.com) wrote:
: "Mark Reed" <ma*********@ntlworld.com> wrote in message
: news:7dOZb.601$8N6.471@newsfe1-win...
:> Hi,
:> Yes, this is in addition to user level security.
:>
:> Are you saying that it is possible to put all the menu's on a form
:> which is only accessible to Admin users?
:
:
: Yes. I find that it is sometimes better to make things entirely
: invisible for standard users rather than making them visible but
: disabled. It is just a question of psychology but it advertising the
: fact that there are features there which the current user has no
: permissions for may make him or her feel curious / snoopy / left out
: / whatever.
:
: In this example, there is a form with 2 tabs on it. The second tab
: contains controls intended only for db administrators so when the
: form is opened, code checks to see if the current user is a member of
: the admins group and if so makes the second page of the tab control
: visible. If the user is not an administrator, there is no
: intimidating error message - the second tab simply does not show up.
:
: I hope you can adapt the general idea to meet your needs.
:
: Fletcher
:
:
:
: Private Function AmInAdmins() As Boolean
:
: On Error GoTo Exit_Handler
:
: If
: Len(DBEngine.Workspaces(0).Groups("admins").Users( CurrentUser()).Name)
: > 0 Then
: AmInAdmins = True
: End If
:
: Exit_Handler:
: Exit Function
:
: End Function
:
:
: Private Sub Form_Open(Cancel As Integer)
:
: On Error GoTo Err_Handler
:
: If AmInAdmins() Then
: ctlTab.Pages("pge2").Visible = True
: Else
: ctlTab.Pages("pge2").Visible = False
: End If
:
: Exit_Handler:
: Exit Sub
:
: Err_Handler:
: MsgBox Err.Description, vbExclamation, "Error No: " & Err.Number
: Resume Exit_Handler
:
: End Sub

Thanks for posting this, Fletcher -- I've been wanting to do some
control hiding/unhiding based on a user's group for some time but
haven't been able to figure it out on my own.

--
http://rec-sport-golf.com/?rc=oinesroald
Please remove the under_scores if sending me mail.

Nov 12 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

116
by: Mike MacSween | last post by:
S**t for brains strikes again! Why did I do that? When I met the clients and at some point they vaguely asked whether eventually would it be possible to have some people who could read the data...
32
by: Mike MacSween | last post by:
Further to 'Security - more complex than I thought' Has anybody ever seen any studies? Or anecdotal evidence? Done any studies themselves? Done any lab testing - you know - 10 users asked to get...
5
by: Greg Strong | last post by:
Hello All, What are the best ways to implement security for Access databases (i.e. ..MDB files)? I ask the question from a general perspective. Why? Well I had written a prototype database...
1
by: Jeremy S. | last post by:
..NET's code Access Security enables administrators to restrict the types of things that a .NET application can do on a local computer. For example, a ..NET Windows Forms application can be...
15
by: himilecyclist | last post by:
My State government organization has written a PHP/MySQL application which has been in production for about 6 months and has been highly successful. We are now embarking on a similar database...
0
by: jobs | last post by:
Using the delivered login controls, I see there is something for passwordrecovery. But I can't seem to find how to set properties so it does not ask me for my security question. Is there any way...
18
by: Earl Anderson | last post by:
First, I feel somewhat embarrassed and apologetic that this post is lengthy, but in an effort to furnish sufficient information (as opposed to too little information) to you, I wanted to supply all...
4
by: vincent90152900 | last post by:
How to remove Security Question and Security Answer from membership provider? Following is my codes. Please tell me how to remove Question and Answer from membership provider. Thank you for...
1
by: =?Utf-8?B?aGVyYmVydA==?= | last post by:
Question 1: How do I turn off WCF security to get my apps out the door quickly? Question 2: Where can I find a step by step article/flowchart how to configure WCF security (the WCF books miss this...
2
by: Ken Fine | last post by:
I want to add the security question and answer security feature to the ChangePassword control. I am aware that this functionality is built into the PasswordRecovery tool. I have implemented the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.