B
Bruce Hensley
The following model seems to work for us, but I would appreciate any advice
as to the risks, or a simpler/safer way to accomplish the same goals.
The goals are:
- utilize Access user-level security within the application
- not require users to learn a new password for the application
- allow authenticated network users to run the app without Access login
We are working on a local intranet, with the MDB and MDW on a fileserver.
We create user accounts in Access with the same user ID as their network
username, but without passwords.
In Access, there is an AUTOEXEC, or procedure attached to the startup form,
that gets the network user ID and compares it to the Access user ID. If
they don't match, then the application exits. Since the user must first log
on to the network with network user ID and password, we know the user is
valid. If another network user tries to start the app with someone else's
Access user ID, the app will then exit.
To further simplify the startup, we launch the application using a VBScript
file. The VBS file gets the network username and launches the Access app,
passing it the user ID and a blank password. This way, the user need not
even be prompted for user ID and password.
Thanks,
Bruce Hensley
as to the risks, or a simpler/safer way to accomplish the same goals.
The goals are:
- utilize Access user-level security within the application
- not require users to learn a new password for the application
- allow authenticated network users to run the app without Access login
We are working on a local intranet, with the MDB and MDW on a fileserver.
We create user accounts in Access with the same user ID as their network
username, but without passwords.
In Access, there is an AUTOEXEC, or procedure attached to the startup form,
that gets the network user ID and compares it to the Access user ID. If
they don't match, then the application exits. Since the user must first log
on to the network with network user ID and password, we know the user is
valid. If another network user tries to start the app with someone else's
Access user ID, the app will then exit.
To further simplify the startup, we launch the application using a VBScript
file. The VBS file gets the network username and launches the Access app,
passing it the user ID and a blank password. This way, the user need not
even be prompted for user ID and password.
Thanks,
Bruce Hensley