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 2006

Tip: Looking for answers? Try searching our database.

How to make a Webservice accessing SQLServer using Integrated secu

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Håkan Lundgren - 19 Dec 2005 09:28 GMT
Hi!
I'm trying to develop a WS that access a SQLServer2000. The WS shall use
Integrated Security to access the database.
The user of the WS is anonymous.
I want THE WS to run as a specific user.
Can anobody help me?
I'm using .Net Framework 1.1
/Thanks
Peter Kelcey - 19 Dec 2005 16:16 GMT
Håkan

In your web.config file, use the <identity> element. The syntax is
<identity impersonate="true|false" userName="domain\username"
password="password"/>

Complete info about it can be found at
http://msdn2.microsoft.com/en-us/library/72wdk8cc.aspx

Peter Kelcey
Antonio Dias - 15 Feb 2006 22:13 GMT
i believe you need to use Impersonation. search in msdn for "impersonation  
asp.net" and you should find the answer as i don't remember right now  
exactly how to do it.

> Hi!
> I'm trying to develop a WS that access a SQLServer2000. The WS shall use
[quoted text clipped - 4 lines]
> I'm using .Net Framework 1.1
> /Thanks

Signature

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


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.