home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comsdk.cab / samples.exe / QuickStart / aspplus / doc / impersonation.aspx < prev    next >
Encoding:
Text File  |  2000-06-01  |  1.3 KB  |  20 lines

  1.  
  2. <!-- #include virtual="/quickstart/aspplus/include/header.inc" -->
  3.  
  4. <h4>User Account Impersonation</h4>
  5. As mentioned in the <a href="/quickstart/aspplus/doc/securityoverview.aspx">Security Overview</a>, impersonation refers to a process whereby a server application executes with the identity of the entity it's performing work on behalf of.  What this means for a Web application is that if a server is impersonating, it's doing work using the identity of the client making the request.
  6. <p>
  7. By default, ASP+ does not do per-request impersonation.  This is a different from ASP, which does impersonate on every request.  If desired, an application can be configured to impersonate on every request with the following configuration directive:
  8.  
  9. <p>
  10. <div class="code"><xmp>
  11. <security>
  12.     <identity>
  13.         <impersonation enable="true" />
  14.     </identity>
  15. </security>
  16. </xmp></div>
  17. <p>
  18. Since ASP+ does dynamic compilation, enabling impersonation requires that all accounts have read/write access to the application's "codegen" directory (where dynamically compiled objects are stored by the ASP+ runtime) as well as the global assembly cache (%windir%\assembly).  Some applications will require impersonation to be enabled for ASP compatibility or to use Windows authentication services.
  19.  
  20. <!-- #include virtual="/quickstart/aspplus/include/footer.inc" -->