473,545 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

access Web servies - Integrated windows security

I have some .NET web services deployed in IIS and having the Directory
security set to integrated windows security. I would like to call these
services form other web based applications written in PHP and Java. Is there
a way to pass the credentials as part of the XML used to call the web
service? Maybe as part of the XML header similar to:
<soap:Header>
<AuthHeader xmlns="http://tempuri.org\">
<UserName>domai n\userID</UserName>
<Password>passw ord</Password>
</AuthHeader>

Is this possible? Your help is highly appreciated.
Nov 8 '06 #1
1 1287
Hi Jacob,

Integrated windows authentication is negociated through a serie of HTTP
headers (It is a complicated procol indeed). Perhaps, you can use a normal
..NET client or IE browser and see what HTTP messages are interchanged using
a trace tool.
It does not have anything to do with SOAP, as I said, it is negociated at
HTTP trasport level. If you want to pass the credentials as part of the SOAP
message, you should consider a message security approach using WS-Security.

Regards,
Pablo.

"Jacob" <Ja***@discussi ons.microsoft.c omwrote in message
news:23******** *************** ***********@mic rosoft.com...
>I have some .NET web services deployed in IIS and having the Directory
security set to integrated windows security. I would like to call these
services form other web based applications written in PHP and Java. Is
there
a way to pass the credentials as part of the XML used to call the web
service? Maybe as part of the XML header similar to:
<soap:Header>
<AuthHeader xmlns="http://tempuri.org\">
<UserName>domai n\userID</UserName>
<Password>passw ord</Password>
</AuthHeader>

Is this possible? Your help is highly appreciated.


Nov 8 '06 #2

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

Similar topics

3
9502
by: Rudi Groenewald | last post by:
Hi there... I use SQL server integrated security so when a user opens a database in access it prompts the username & password in a small popup box on connection, but I'd like to use my own customised form for the authentication process, is this possible? I do know that this login popbox is displayed before any forms are loaded, can it be...
3
1997
by: Glen Scott | last post by:
Hi, I'm writing an ASP app that administers an ISA server remotely. The fact that it's an ISA server isn't my problem I believe. My question? What is the security difference between disabling anonymous access and using account X from the web client, versus allowing anonymous access but using account X as the account that runs the...
0
1591
by: Barb | last post by:
Hello again, I had posted over the past couple of days regarding a connection issue I was having to my production database from an Access project. I sorted that out by using integrated Windows login credentials instead of the "sa" account and was able to connect to my production database from the ADP running on my machine using my user...
3
3074
by: martin | last post by:
Hi, I have a website that runs under Annotmous access. I am trying to find out the account that the page is running under the line Response.Write("<hr>" & Page.User.Identity.Name & "<hr>") does not write out the name of the account that the website is running under when it is running under annoymous access, however when the same page...
1
4870
by: Jody Gelowitz | last post by:
We are having an issue in that when trying to read a file that is on Server2 from Server1 (through our ASP.NET project), we receive the error: Access to the path "\\Server2\MyShare\MyFile.tif" is denied. Here is the server setup that we have: Dev - Development Computer on WinXP Pro SP2 (IIS5), VS2003 developing under .NET Framework 1.1...
2
1560
by: Roger | last post by:
Hi, I'm completely stumped with an issue of authentication. I have an ASP.net application which is supposed to retrieve data from a remote database. It is supposed to access the database using the domain credential of the user that is accessing the page. When I access the aspx page from a client, it generates an error: "An error has...
7
19724
by: hufaunder | last post by:
I have a website that uses a web service that is located on the same machine. This webservice calls a program which in return modifies a file in c:\documents and Settings\All Users\Application Data\...'. Unfortunately, whenever the webservice is executed I get the following error message: Access to the path 'C:\Documents and Settings\All...
3
2155
by: D | last post by:
Hello everyone I have developed a web application using .asp to access a data source on a different server than where my .asp files are stored. I've tried to determine how to establish this connection ( to a SQL server ) to access the data source but I cannot. Is this possible and if so...how? provided below is my connection string. Thank...
1
3712
by: Rameel | last post by:
Friends, I'm probably being more critical with VB.Net Windows application. I have Developed VisualStudio 20005 VB.Net Windows application how willl i be able to save a specific record into my database file throu GUI Save Record button? As i write the comand as foloow but it is not inserting the new record in to the Access Database. ...
0
7484
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
1
7440
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7775
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5997
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5344
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3470
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3451
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1902
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
726
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.