Re: Using Windows Authentication
- From: "Douglas J. Steele" <NOSPAM_djsteele@xxxxxxxxxxxxxxxxx>
- Date: Tue, 19 Jun 2007 17:28:11 -0400
While I agree with Rick that this probably shouldn't be necessary, Randy
Birch has code to use the NT Challenge procedure to validate a user at
http://vbnet.mvps.org/code/network/acceptsecuritycontext.htm
(Obligatory warning: Randy's site is aimed at VB programmers. There are
significant differences between the controls available for us on forms in VB
and in Access. Because of this, many of his samples will not port directly
to Access. Looking quickly at this particular example, though, I think you
should be okay)
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
"Radtherapy" <Radtherapy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3A4D6D5E-2D5F-49EC-8EC0-5458987B7BC8@xxxxxxxxxxxxxxxx
BTW - Thanks for responding Rick.
What I want to accomplish is a way to have my user enter a user name and
password and then verify that account through AD.
After that, I can programmatically control their permissions.
"Rick Brandt" wrote:
Radtherapy wrote:
This is probably pretty simple, but I've spent too much time trying
to figure it out on my own.
I'm using Access 2007, SQL Server 2005 (Windows Authent), Windows
Server 2003.
Multiple users share computers, so I need to create a login feature in
Access that will verify the users through their Windows account. If
the authentication fails, I need to deny them access to the database
- and they need to NOT be able to bypass the login (i.e. hold shift
key to open db).
SQL is set up for Windows Authentication because my users already
have 3 different accounts they have to manage passwords for - I'd
hate to give them one more.
Thanks for any help,
BA
Access cannot use Windows authentication, but if you are using that for
permissions on the server tables then that should be all you need.
Non-authorized users will be able to open the Access file, but if they
have
no permissions on the server all they will get is errors.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
.
- Follow-Ups:
- Re: Using Windows Authentication
- From: Radtherapy
- Re: Using Windows Authentication
- References:
- Re: Using Windows Authentication
- From: Rick Brandt
- Re: Using Windows Authentication
- Prev by Date: Re: Record Sequence
- Next by Date: Re: Using Windows Authentication
- Previous by thread: Re: Using Windows Authentication
- Next by thread: Re: Using Windows Authentication
- Index(es):
Relevant Pages
|