Results 1 to 3 of 3

Thread: Gaining access with identity impersonation on and windows authentication on

  1. #1

    Thread Starter
    Hyperactive Member stingrae's Avatar
    Join Date
    Apr 2002
    Location
    Sydney
    Posts
    401

    Gaining access with identity impersonation on and windows authentication on

    Hi,

    I was wondering if anybody has had any experience with allowing anonymous access to a website, or virtual directory, and getting the application to assume the identity of a windows user, with identity impersonation on and windows authentication on.

    Any articles or experience would be great.

    thanks,

    Rodney
    "The passion lives to keep your faith, though all are different, all are great" ... Michael Hutchence 1960-1997.

    Windows & Web Developer
    Specialising in Visual Basic .Net & Client Server Programming & Client/Customer Relations Databases
    Sutherland Shire, Sydney Australia
    www.stingrae.com.au
    Developer of Arnold - Gym & Martial Arts Database Management System
    www.gymdatabase.com.au

  2. #2
    Frenzied Member ntg's Avatar
    Join Date
    Sep 2004
    Posts
    1,449

    Re: Gaining access with identity impersonation on and windows authentication on

    I think that you can control that from the web project's web.config file - there's an authentication section in there. I've used impersonation on the web.config level without any problems. I'm not sure if it would work in conjunction with Win authentication set from IIS, but I don't see why it shouldn't.
    "Feel the force...read the source..."
    Utilities: POPFileDebugViewProcess ExplorerWiresharkKeePassUltraVNCPic2Ascii
    .Net tools & open source: DotNetNukelog4NetCLRProfiler
    My open source projects: Thales SimulatorEFT CalculatorSystem Info ReporterVSS2SVNIBAN Functions
    Customer quote: "If the server has a RAID array, why should we bother with backups?"
    Programmer quote: "I never comment my code. Something that is hard to write should be impossible to comprehend."
    Ignorant quote: "I have no respect for universities, as they teach not practicle stuff, and charge money for"

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Gaining access with identity impersonation on and windows authentication on

    I have been using the same thing in my apps, but what exactly are you looking for? I ask this because impersonating the user is as simple as one or two lines of code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width