472,961 Members | 2,727 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Retrieve non-webform client identity information for Web Services

Hi,

I have a client (C# MS Excel Project) calling a Web Service to retrieve and
update data. One of the business requirement is the client's NT Login ID, IP
Address and computer name must be log for each web service method call.

To get client information using integrated Windows authentication with
ASP.NET client. You need to disable "Anonymous Access" and enable
"Integrated Windows authentication". IE will automatically pass in the
authetication information to IIS.

Since I am not using IE to call the Web Service, IIS could not retrieve
authentication information. How can I fix that limitation?

Thanks,

John Yung
jo*******@sac.com
Nov 23 '05 #1
1 2417
Hi John,
You have two alternatives to solve that problem.

1. Set the proxy credentials to use Windows Authentication.

proxy.Credentials = System.Net.CredentialCache.DefaultCredentials; // The
current user credentials will be used

2. Configure the Web service to use WSE.
In this case, an UsernameToken should be used to authenticate the user (You
need to enable "Anonymous Access").

Regards,
Pablo Cibraro
www.lagash.com

In that case, maybe the better option is to disable Windows
"John Yung" <jo***@sac.com> wrote in message
news:eC****************@TK2MSFTNGP12.phx.gbl...
Hi,

I have a client (C# MS Excel Project) calling a Web Service to retrieve
and
update data. One of the business requirement is the client's NT Login ID,
IP
Address and computer name must be log for each web service method call.

To get client information using integrated Windows authentication with
ASP.NET client. You need to disable "Anonymous Access" and enable
"Integrated Windows authentication". IE will automatically pass in the
authetication information to IIS.

Since I am not using IE to call the Web Service, IIS could not retrieve
authentication information. How can I fix that limitation?

Thanks,

John Yung
jo*******@sac.com

Nov 23 '05 #2

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

Similar topics

2
by: forums_mp | last post by:
I've got an STL class (see below) with two functions to store and retrieve data - msg structs. The "Store" function when called will copy the received message (depending on which message) into...
16
by: Daniel Tonks | last post by:
First, please excuse the fact that I'm a complete MySQL newbie. My site used forum software that I wrote myself (in Perl) which, up until now, has used flat files. This worked fine, however...
79
by: Klaus Bonadt | last post by:
In order to protect software from being copied without licence, I would like to use something like a key, which fits only to the current system. The serial number of the CPU or the current...
2
by: David Elliott | last post by:
I know I can use AxSHDocVw.AxWebBrowser browser.Navigate(...); catch the browser_DocumentComplete() and retrieve using the page using htm = (mshtml.HTMLDocument)browser.Document; I am looking...
33
by: jacob navia | last post by:
Recently there was a discussion in this group about how to retrieve the file name given a FILE *. The question raised my curiosity, and after some research I have come up with a good...
3
by: Richard Thornley | last post by:
Hello, I was just been given a project and I have some questions on how to accomplish the first part of the task. If a user sends an email to a specific email address I need to detect...
2
by: Benoist LUGNIER | last post by:
Hello VB .NET - ADO .NET - SQL Server (MSDE) I want to retrieve the parameters of a stored procedure before execute it. I've already try the fillschema but it return the "return object (table)"...
4
by: John Savage | last post by:
I have a free web mail address and would like to use python to retrieve files that have been emailed to me. The basic code would accommodate cookies, a login name and password, then download using...
6
by: Dylan Nicholson | last post by:
Running as an administrator, I can retrieve the account password stored by IIS for any application pool (using the WAMUserPass property). But, unsurprisingly, an ASP.NET application running inside...
3
by: Keith Thompson | last post by:
Victor <vhnguyenn@yahoo.comwrites: You're declaring an array of pointers to unsigned long long, but you're initializing the pointers with integer values. This is actually a constraint...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.