Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Making a ASP.NET page run under a different account?


Message #1 by "Oliver, Wells" <WOliver@l...> on Tue, 3 Dec 2002 14:10:28 -0800
Any tips? I'd rather have a certain few pages run under a different account
than the local machine's ASPNET.

Thanks!

Wells Oliver
Web Applications Programmer
Leviton Voice & Data
xxx-xxx-xxxx
http://www.levitonvoicedata.com 

Message #2 by "jayathakar" <jayathakar@y...> on Fri, 6 Dec 2002 15:32:08
> Any tips? I'd rather have a certain few pages run under a different 
account
than the local machine's ASPNET.

You can do that by using IMPERSONATION. You can do that by adding the 
following code in web.config file
<identity impersonate=true name="username" password="passwd">

--Regards
Jaya

Thanks!

Wells Oliver
Web Applications Programmer
Leviton Voice & Data
xxx-xxx-xxxx
http://www.levitonvoicedata.com 


  Return to Index