Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Impersonate and security issues

Impersonate and security issues

Scheduled Pinned Locked Moved ASP.NET
asp-netsecurity
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sarah_chandran
    wrote on last edited by
    #1

    Can someone please explain to me in which situation we need to use impersonate=true. I had read some stuff online about this but i am not very clear about it. It would be very helpful if you could tell me about some practical situations in which you have used impersonate. My understanding is as follows: By default everything runs under the aspnet account. If we choose impersonate=true then it runs under the IUSR_MachineName account and then we can access whatever IUSR_MachineName can access.(I don't know in which situation this would be neccessary) Also if we choose impersonate=true and provide username/password then we can access whatever the particular user can access.I don't know in which situation this would be neccessary)

    M 1 Reply Last reply
    0
    • S sarah_chandran

      Can someone please explain to me in which situation we need to use impersonate=true. I had read some stuff online about this but i am not very clear about it. It would be very helpful if you could tell me about some practical situations in which you have used impersonate. My understanding is as follows: By default everything runs under the aspnet account. If we choose impersonate=true then it runs under the IUSR_MachineName account and then we can access whatever IUSR_MachineName can access.(I don't know in which situation this would be neccessary) Also if we choose impersonate=true and provide username/password then we can access whatever the particular user can access.I don't know in which situation this would be neccessary)

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      If you still have some doubts about the impersonation, then the Security guy might give you a hand. http://www.pluralsight.com/wiki/default.aspx/Keith.GuideBook/WhatIsImpersonation.html[^] One of the examples is to use the Word application at the server side which is quite often asked recently in the forum. Basically, the ASP.NET process identity does not have the permission to active the Word application, so you may want to run your ASP.NET application under a window account who has the permission to start the Word application.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups