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. impersonation

impersonation

Scheduled Pinned Locked Moved ASP.NET
question
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.
  • M Offline
    M Offline
    mukkanti007
    wrote on last edited by
    #1

    hi can some one give the simple answer what is impersonation i am not getting correct information , would appreciate if someone gives a good answer

    Thanks sri

    K 1 Reply Last reply
    0
    • M mukkanti007

      hi can some one give the simple answer what is impersonation i am not getting correct information , would appreciate if someone gives a good answer

      Thanks sri

      K Offline
      K Offline
      Krugger404
      wrote on last edited by
      #2

      Hi, basically impersonation is a means for a particular process account to access a given ressource on behalf of some other process accounts. Simply speaking, say i am a user process and i have access to some local resources on my computer. You are another process which does not have access to local resources on my pc. If you really need to access these local resources, i can give you access by letting you "impersonate" me (i.e temporarily take my identity). This often occurs in ASP.NET where the account IUSR_YOUR_MACHINE_NAME is required to execute some resources to which it does not have rights. In this case, you have to give ASP.NET the right to impersonate another account (say admin account for example) to do the job. Eg. If you need to save a file on the server and the account IUSR_YOUR_MACHINE_NAME does not have enough rights to do it, it is a common practice to allow ASP.NET to temporarily take the identity of another account to perform the job. This is how it can be done in the web.config file: < identity impersonate="true" userName="MyDomain\Admin" password="admin"/> Hope this helps :-) Carpe diem, Krg

      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