473,379 Members | 1,355 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

How to make a Webservice accessing SQLServer using Integrated secu

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
Dec 19 '05 #1
2 1109
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

Dec 19 '05 #2
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.

On Mon, 19 Dec 2005 09:28:02 -0000, Håkan Lundgren
<Hk**********@discussions.microsoft.com> wrote:
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


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Feb 15 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Paul | last post by:
Hi My web page is accessing a SQL DB to display some data. It works fine using login/password security on the sql server database, but I'm trying to use WIndows authenication and I get the...
3
by: Ron L | last post by:
I have an existing ASP/ MSSQL project that we are looking at migrating to VB.Net (standalone app, not ASP) which will still interact with a single central SQL server. Because we have a requirement...
9
by: Tim Baley | last post by:
I recently created some intranet web sevices to expose stored procedures on our SQL Servers (SQL2k). The stored procedures include an audit trail with user/login identification, so the web...
3
by: Buddy Ackerman | last post by:
I have a webservice based app that a company has purchased to use internally. They want the authentication to integrate with their Active Directory. Is there anyway that the client portion of the...
8
by: Maxi | last post by:
Hello, i'm sorry my bad english :( I have CR9 Webservice, how to change databadse name and User_name into Webservice method? (not Viewer Control) Tks!! -- --------------------------
0
by: kamig | last post by:
Hi! Scenario: Consuming my webService in a windows application give denied acces! Explanation: I have to say a moveTo fn. which move one file/dir from one drive to another, <authorization>
1
by: Mahesh Devjibhai Dhola | last post by:
Hi, Scenario: The webservice was developed on windows 2000 Pro and deployed previously on windows XP pro for testing. We have tested for many days. The client for that service was 30+ and...
2
by: =?Utf-8?B?SmVmZnJleQ==?= | last post by:
How to configure the IIS, ASPNET userID, Windows or SQL Authentiation, std or integrated security for SQLserver database? The VS.net 2002 web server and SQL Server client are at the same PC, ...
10
by: Anton | last post by:
Hi, when accessing a secured 3rd party webservice i'm getting a 401 HTTP Statuscode (unauthorized). When entering the url in a browser and entering the username and password manually, the wsdl is...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.