Re: LDAP?

From: Ethan (Ethan_at_discussions.microsoft.com)
Date: 11/29/04


Date: Mon, 29 Nov 2004 13:47:08 -0800

Hello Cory,

Your suggestion on integrating Active Directory and MS Access sounds good.
I would like to take you up on your offer to share the front-end that you
created.

Thanks,
Ethan

"Cory Hug" wrote:

> "Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote:
>
> >If you mean you want to try and integrate it with Access security, it can't
> >be done. Unlike, say, SQL Server, Access doesn't support Trusted Connection.
>
> Actually, I've come up with a way. You're right that there's no
> built-in way to directly tie Access security to another type of
> security, but there is a way to fake it.
>
> In my case, I'm authenticating users against our mainframe system
> through an IBM DB2 connection using ODBC. However, my idea can be
> adopted to use any sort of authentication method you choose, as long
> as you're able to write a VBA procedure in Access to accomplish it.
>
> I've expaned upon an idea that was expressed a few times in this
> newsgroup already by a gentleman named Jeff Conrad. In Jeff's case,
> all he was doing was creating a custom login screen to log in to
> Access security.
>
> The basic idea is to create a front-end unsecured database with a
> single form of your own design that prompts for the user ID and
> password, then uses the Shell command to launch the real database and
> automatically log in as the user ID and password provided in the front
> end. Compile the front end as an .MDE file and disable the ability to
> use the Shift Key to bypass the startup.
>
> I took that general idea and added an intermediate step in the front
> end that verifies the user ID and password against another system
> first, then launches the real database and logs into the Access
> user-level security. You still create user ID's in Access for all of
> your users, but there are 2 ways to handle the passwords (so you don't
> have to change them in the Access security every time the external
> password changes, my company forces passwords to change every 30
> days). Either hard code the passwords in the Access security, or what
> I did was use a lookup table to match the System user ID that you
> authenticate with through your method (LDAP, Active Directory,
> whatever) to an Access security user ID and password. This table is
> stored in your real database (which is secured) and read by the front
> end, so not just anybody can read the back end Access security user
> ID's and passwords.
>
> I've created a simple template .mdb file that can easily be adopted to
> any authentication purpose, as mentioned above as long as you can
> write a VBA procedure in Acesss to perform your authentication. If
> you'd like a copy of it, e-mail me directly or post a reply here and I
> can e-mail you my .mdb file as an attachement. It's only about 250k.
> (Oh, it's in Access 2000, but should easily convert to whatever
> version you need.)
>
> On a side note, if somebody does have VBA code to perform LDAP or
> Active Directory authentication checks, I'd sure love to get it.
> Right now, as I mentioned above, I'm authenticating against our
> mainframe because that was the easiest thing I could figure out to do,
> but I'd love to authenticate against Active Directory instead.
>
>
>
>



Relevant Pages

  • Re: LDAP?
    ... Unlike, say, SQL Server, Access doesn't support Trusted Connection. ... built-in way to directly tie Access security to another type of ... adopted to use any sort of authentication method you choose, ... then launches the real database and logs into the Access ...
    (microsoft.public.access.security)
  • Re: Can I use Windows authentication for my MS Access db?
    ... adopted to use any sort of authentication method you choose, ... then launches the real database and logs into the Access ... have to change them in the Access security every time the external ... LDAP or Active Directory authentication checks, ...
    (microsoft.public.access.security)
  • Re: Please Help
    ... controller that handles authentication for the computers in the domain. ... Logon and logoff are a little difficult with Active Directory. ... Use the Event logs. ...
    (microsoft.public.windows.server.active_directory)
  • Microsoft Active Directory security vulnerability
    ... Kerberos V (for information on Kerberos interoperability see ... return results from the Active Directory. ... My guess is that Microsoft does not check for a zero value ... nor did I test it with simple authentication. ...
    (Bugtraq)
  • Re: Basic Authentication + IIS 5 + Windows 2000 + Frontpage 2002 = failure?
    ... Authentication" story and can relate to them all. ... the introduction of Active Directory. ... All rights ... > | Vincent Polite ...
    (microsoft.public.inetserver.iis.security)