![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I woulld like to customize a login password protection scheme for my database. Based on the login name, a password will be automatically generated based on certain security algorithm. May I know if this can be done for Access using macros? |
#3
| |||
| |||
|
|
On Tue, 22 Jun 2010 20:54:06 -0700 (PDT), LightLY lightai... (AT) gmail (DOT) com> wrote: I woulld like to customize a login password protection scheme for my database. Based on the login name, a password will be automatically generated based on certain security algorithm. May I know if this can be done for Access using macros? Using macros? *No. Using VBA code? *Sure, however I'd sure want to have someoe double check the code to ensure it's been properly randomized so folks can't guess at the passwords. Also note that folks, when given an assigned password, will always write them down and hide them within a few feet of their keyboard. Human nature. (Except for those of us who use programs such as KeePass to store thier passwords in a secure, encrypted format.) Tony |
#4
| |||
| |||
|
|
On Jun 23, 1:17*pm, Tony Toews <tto... (AT) telusplanet (DOT) net> wrote: On Tue, 22 Jun 2010 20:54:06 -0700 (PDT), LightLY lightai... (AT) gmail (DOT) com> wrote: I woulld like to customize a login password protection scheme for my database. Based on the login name, a password will be automatically generated based on certain security algorithm. May I know if this can be done for Access using macros? Using macros? *No. Using VBA code? *Sure, however I'd sure want to have someoe double check the code to ensure it's been properly randomized so folks can't guess at the passwords. Also note that folks, when given an assigned password, will always write them down and hide them within a few feet of their keyboard. Human nature. (Except for those of us who use programs such as KeePass to store thier passwords in a secure, encrypted format.) Tony Thank you for your help. I am going to start on this soon. |
#5
| |||
| |||
|
|
On Jun 24, 6:16*pm, LightLY <lightai... (AT) gmail (DOT) com> wrote: On Jun 23, 1:17*pm, Tony Toews <tto... (AT) telusplanet (DOT) net> wrote: On Tue, 22 Jun 2010 20:54:06 -0700 (PDT), LightLY lightai... (AT) gmail (DOT) com> wrote: I woulld like to customize a login password protection scheme for my database. Based on the login name, a password will be automatically generated based on certain security algorithm. May I know if this can be done for Access using macros? Using macros? *No. Using VBA code? *Sure, however I'd sure want to have someoe double check the code to ensure it's been properly randomized so folks can't guess at the passwords. Also note that folks, when given an assigned password, will always write them down and hide them within a few feet of their keyboard. Human nature. (Except for those of us who use programs such as KeePass to store thier passwords in a secure, encrypted format.) Tony Thank you for your help. I am going to start on this soon. Sorry, I think this may sound stupid. I just realized that I do not know where to put the code such that this login-password code always runs first before the database is opened. If someone could advise me, I shall be most grateful. Thank you. |

#6
| |||
| |||
|
|
On Jun 24, 6:16 pm, LightLY <lightai... (AT) gmail (DOT) com> wrote: On Jun 23, 1:17 pm, Tony Toews <tto... (AT) telusplanet (DOT) net> wrote: On Tue, 22 Jun 2010 20:54:06 -0700 (PDT), LightLY lightai... (AT) gmail (DOT) com> wrote: I woulld like to customize a login password protection scheme for my database. Based on the login name, a password will be automatically generated based on certain security algorithm. May I know if this can be done for Access using macros? Using macros? No. Using VBA code? Sure, however I'd sure want to have someoe double check the code to ensure it's been properly randomized so folks can't guess at the passwords. Also note that folks, when given an assigned password, will always write them down and hide them within a few feet of their keyboard. Human nature. (Except for those of us who use programs such as KeePass to store thier passwords in a secure, encrypted format.) Tony Thank you for your help. I am going to start on this soon. Sorry, I think this may sound stupid. I just realized that I do not know where to put the code such that this login-password code always runs first before the database is opened. If someone could advise me, I shall be most grateful. Thank you. |

#7
| |||
| |||
|
|
The AutoExec password can be bypassed if the user holds down the Shift key while opening the database. The way to prevent this is to create a database propery named AllowBypassKey, and set its value to False. However, all members of the Admins group are able to reset this property, and since, by default, all users of an application that hasn't had Access User-Level Security applied to it are members of the Admins group, this means what you're trying to do is virtually an exercise in futility. -- Doug Steele, Microsoft Access MVPhttp://www.AccessMVP.com/DJSteele Co-author: Access 2010 Solutions, published by Wiley (no e-mails, please!) "LightLY" <lightai... (AT) gmail (DOT) com> wrote in message news:27cbaadb-8041-4e4c-8f4b-754771461959 (AT) q12g2000yqj (DOT) googlegroups.com... On Jun 24, 6:26 pm, LightLY <lightai... (AT) gmail (DOT) com> wrote: On Jun 24, 6:16 pm, LightLY <lightai... (AT) gmail (DOT) com> wrote: On Jun 23, 1:17 pm, Tony Toews <tto... (AT) telusplanet (DOT) net> wrote: On Tue, 22 Jun 2010 20:54:06 -0700 (PDT), LightLY lightai... (AT) gmail (DOT) com> wrote: I woulld like to customize a login password protection scheme for my database. Based on the login name, a password will be automatically generated based on certain security algorithm. May I know if this can be done for Access using macros? Using macros? No. Using VBA code? Sure, however I'd sure want to have someoe double check the code to ensure it's been properly randomized so folks can't guess at the passwords. Also note that folks, when given an assigned password, will always write them down and hide them within a few feet of their keyboard. Human nature. (Except for those of us who use programs such as KeePass to store thier passwords in a secure, encrypted format.) Tony Thank you for your help. I am going to start on this soon. Sorry, I think this may sound stupid. I just realized that I do not know where to put the code such that this login-password code always runs first before the database is opened. If someone could advise me, I shall be most grateful. Thank you. I am pleased to find the answer to my question. It is the Autoexec macro ![]() However, I have a concern about the Autoexec macro. Is there some way that it can be bypassed? Can the experts here advise? Thank you very much. |
#8
| |||
| |||
|
|
The AutoExec password can be bypassed if the user holds down the Shift key while opening the database. The way to prevent this is to create a database propery named AllowBypassKey, and set its value to False. However, all members of the Admins group are able to reset this property, and since, by default, all users of an application that hasn't had Access User-Level Security applied to it are members of the Admins group, this means what you're trying to do is virtually an exercise in futility. -- Doug Steele, Microsoft Access MVPhttp://www.AccessMVP.com/DJSteele Co-author: Access 2010 Solutions, published by Wiley (no e-mails, please!) "LightLY" <lightai... (AT) gmail (DOT) com> wrote in message news:27cbaadb-8041-4e4c-8f4b-754771461959 (AT) q12g2000yqj (DOT) googlegroups.com... On Jun 24, 6:26 pm, LightLY <lightai... (AT) gmail (DOT) com> wrote: On Jun 24, 6:16 pm, LightLY <lightai... (AT) gmail (DOT) com> wrote: On Jun 23, 1:17 pm, Tony Toews <tto... (AT) telusplanet (DOT) net> wrote: On Tue, 22 Jun 2010 20:54:06 -0700 (PDT), LightLY lightai... (AT) gmail (DOT) com> wrote: I woulld like to customize a login password protection scheme for my database. Based on the login name, a password will be automatically generated based on certain security algorithm. May I know if this can be done for Access using macros? Using macros? No. Using VBA code? Sure, however I'd sure want to have someoe double check the code to ensure it's been properly randomized so folks can't guess at the passwords. Also note that folks, when given an assigned password, will always write them down and hide them within a few feet of their keyboard. Human nature. (Except for those of us who use programs such as KeePass to store thier passwords in a secure, encrypted format.) Tony Thank you for your help. I am going to start on this soon. Sorry, I think this may sound stupid. I just realized that I do not know where to put the code such that this login-password code always runs first before the database is opened. If someone could advise me, I shall be most grateful. Thank you. I am pleased to find the answer to my question. It is the Autoexec macro ![]() However, I have a concern about the Autoexec macro. Is there some way that it can be bypassed? Can the experts here advise? Thank you very much. |
![]() |
| Thread Tools | |
| Display Modes | |
| |