Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

Impersonation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Viorel Ghilas - 24 Feb 2005 16:00 GMT
Hi all

   I have webserver that share common services and i set in web config
<identity impersonate="true" /> and on IIS I set specific user account that
will be used. The main problem that when the IIS start applicaton and
execute the methods from Global.asax.cs it use ASPNET account but not my,
after that it switch to impersonate account. But in my situation I use WSE2
where I need to check password in UsernameTokenManager for that I need to
connect to DB, but I use SSPI connection (with user from impersonate) that
fail. How to solve this problem, I need trusted connection that use my user
from IIS. I need only one user everywhere, how to do that in
UsernameTokenManager.AuthenticateToken(UsernameToken token) to use
impersonate account ?

with best reagrd
Viorel
Arun Ganesh_MVP - 26 Feb 2005 11:23 GMT
Hi Ghilas,

Check this ASP.NET Identity Matrix:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/S
ecNetAP05.asp


which will give you solution to your problem.

Still If you face the problem, even after follwoing the above ASP.NET
Identity Matrix, try this:

Impersonate a Specific User for All the Requests of an ASP.NET Application :

To impersonate a specific user for all the requests on all pages of an
ASP.NET application, you can specify the userName and password attributes in
the <identity> tag of the Web.config file for that application. For example:
<identity impersonate="true" userName="accountname" password="password" />

and for security purpose use the ASPNETSETREG (For user name and pwd in
plain text)...

Thanks,
Warm Regards,
Arun Ganesh.

> Hi all
>
[quoted text clipped - 12 lines]
> with best reagrd
> Viorel

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.