Re: User Authentication, Active Directory and more (help)

From: Timothy Parez (tpsoftware_at_users.sourceforge.net)
Date: 06/17/04

  • Next message: Joe Kaplan \(MVP - ADSI\): "Re: User Authentication, Active Directory and more (help)"
    Date: Thu, 17 Jun 2004 19:45:16 +0200
    To: "Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com>
    
    

    Joe Kaplan (MVP - ADSI) wrote:
    > Yes, .NET can make use of any Windows account (local machine, NT4 domain or
    > AD) for authentication and authorization.
    >
    > The built-in support for this is in the WindowsIdentity and WindowsPrincipal
    > classes. WindowsIdentity represents the Windows user and is basicallly a
    > wrapper around the Windows login token. WindowsPrincipal contains a
    > WindowsIdentity and provides the ability to do role-based authorization
    > against a user's Windows groups by calling the IsInRole method with the
    > Windows group name. You can get the current WindowsIdentity at any time by
    > calling WindowsIdentity.GetCurrent().
    >
    > The WindowsPrincipal class can be associated automatically with the
    > currently executing thread as well. The mechanism for doing this is
    > different depending on whether it is an ASP.NET or WinForms/Console app.
    > This association allows you to take advantage of the
    > PrincipalPermissionAttribute for doing declarative security in .NET. There
    > is quite a bit of explanation of this stuff that you can find in MSDN if you
    > need specifics, or you can ask here.
    >
    > Joe K.
    >

    What about the PocketPC,
    how would I fit it into this scenario
    because the PocketPC's will be used to scan barcodes and insert items
    into the database (with that barcode as the key)


  • Next message: Joe Kaplan \(MVP - ADSI\): "Re: User Authentication, Active Directory and more (help)"