473,396 Members | 1,884 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,396 software developers and data experts.

conditional on a form already being opened

I have a form in my database that is password protected, and several
forms contain buttons that open the password protected page. Each
button asks for the password, but I dont want access to ask the user
for the password if the form that is protected is already open. Is
there a way to do this?
Thanks
Dan

Nov 13 '05 #1
4 1360
Generally, protecting a form with a password is a user-written approach to
security and it would be difficult for us to comment on something that
someone else has done. In general, I can comment that such "security lite"
is usually trivial for a knowledgeable party to penetrate. Also in general,
if you record in a table that exists in the user's copy of the Front End
that the user has supplied the password, you can simply check that and open
the form; if the user has not, then you can ask for the password.

But do bear in mind that this level of security does little but give a false
sense of security.

If you use Access' own security mechanism (that is a non-trivial
undertaking), the user will provide his/her password once when the
application begins and you could test the User or security Group membership
to determine whether to open the form. Access security can be broken but it
is not trivial to do so.

Larry Linson
Microsoft Access MVP
"dvorett" <da********@hotmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
I have a form in my database that is password protected, and several
forms contain buttons that open the password protected page. Each
button asks for the password, but I dont want access to ask the user
for the password if the form that is protected is already open. Is
there a way to do this?
Thanks
Dan

Nov 13 '05 #2
DFS
Larry Linson wrote:
Generally, protecting a form with a password is a user-written
approach to security and it would be difficult for us to comment on
something that someone else has done. In general, I can comment that
such "security lite" is usually trivial for a knowledgeable party to
penetrate. Also in general, if you record in a table that exists in
the user's copy of the Front End that the user has supplied the
password, you can simply check that and open the form; if the user
has not, then you can ask for the password.

But do bear in mind that this level of security does little but give
a false sense of security.

If you use Access' own security mechanism (that is a non-trivial
undertaking), the user will provide his/her password once when the
application begins and you could test the User or security Group
membership to determine whether to open the form. Access security can
be broken but it is not trivial to do so.

? Access security is a freakin' joke. I think an MVP of all people should
know that.

This $45 program will let you drop an .mdb, .mde, or .mdw file on a panel,
and returns a list of all users, their groups, and every password in the
system.

http://www.lostpassword.com/access.htm

Heck, I use the trial download version from time to time when I'm blocking
on an old password.


Larry Linson
Microsoft Access MVP
"dvorett" <da********@hotmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
I have a form in my database that is password protected, and several
forms contain buttons that open the password protected page. Each
button asks for the password, but I dont want access to ask the user
for the password if the form that is protected is already open. Is
there a way to do this?
Thanks
Dan

Nov 13 '05 #3
> ? Access security is a freakin' joke. I think an MVP of all people should
know that.


Why?
Nov 13 '05 #4
rkc
Lyle Fairfield wrote:
? Access security is a freakin' joke. I think an MVP of all people
should
know that.

Why?


Because they are valuable and professional.

Mostly.
Nov 13 '05 #5

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

Similar topics

4
by: Tonya | last post by:
Hi, Does anyone have any example of how i can manage forms in my application?? I want to be able to reference my form instances that are currently open from other forms. why cant i open...
3
by: Cindy K. | last post by:
I'm using Access 2000, and have a continuous form with subtotals on the bottom of the form. The formula for the subtotal is =- The calcSum field is simply a Sum of a currency field in the form....
3
by: Susan Bricker | last post by:
Greetings. I have three forms that are open at the same time. They are related and cascading. The first form (frmEventAdd) is the anchor. Each event can have many Trials. The second form is...
1
by: Amir Steta | last post by:
i am using one aspx.net form to enter data. it is opened as a popup window (lets call it dataentry.aspx) on w=760 and h=400. from this page i allow opening new aspx.net form (searchdata.aspx) to...
9
by: RichG | last post by:
In VB 5 I could have a form named frmTest and open it with frmTest.Show Now in VB.net I have to Dim frm as New frmTest frm.show The problem is I only want one instance of frmTest open, not a...
2
by: jpr | last post by:
I am using moduled to open forms. I run them from a menu that I have created on the toolbar. The source of the forms are queries all with record source to "lstpreinterview" on a form named eforms....
19
by: =?Utf-8?B?R3JlZw==?= | last post by:
How can I tell via code if a Form is already open. Each time my forms load I have some initialization code that runs, but if the form is already open and hidden I don't want that initialization...
1
by: DAObermeyer | last post by:
Hey all, first time here. I have a database that is designed to be opened and viewed at other locations on the network. I use Form (A) to modify Data in Table (A), and Form (B) is used scrictly...
1
by: Earl Anderson | last post by:
A business colleague and I are collaborating 'long distance' on an applet for work. He is doing the programming and I am doing the business process form design. We had discussed my desire to make...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.