473,395 Members | 1,404 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,395 software developers and data experts.

Passing Credentials to IIS

GRB
My webiste has integrated windows authentication. I need to pass a clients
credentials (username, password) to my site without the login pop up.
I send the client to an anonymous page, get an encrypted cookie and read it
to get the credentials. Then redirect the client to my web site.

How can I pass the credentials to IIS and avoid the login pop up?

Any help or related web sites is appreciated.
Nov 23 '05 #1
3 4889
On Tue, 22 Nov 2005 06:55:04 -0800, GRB <GR*@discussions.microsoft.com> wrote:

¤ My webiste has integrated windows authentication. I need to pass a clients
¤ credentials (username, password) to my site without the login pop up.
¤ I send the client to an anonymous page, get an encrypted cookie and read it
¤ to get the credentials. Then redirect the client to my web site.
¤
¤ How can I pass the credentials to IIS and avoid the login pop up?
¤
¤ Any help or related web sites is appreciated.

You avoid the login pop up by using Integrated Windows authentication. However, there is no use of
encrypted cookies (containing user credentials) with this level of authentication so I'm not sure
why you would need one.
Paul
~~~~
Microsoft MVP (Visual Basic)
Nov 23 '05 #2
GRB
I guess I didn't state the question properly. I've made things confusing you
by telling you how I get the credentials. So lets try again.

How can I programatically log into a web site that has windows integrated
authentication without using the login pop up window or passing it in the
url? I have the username and password.

"Paul Clement" wrote:
On Tue, 22 Nov 2005 06:55:04 -0800, GRB <GR*@discussions.microsoft.com> wrote:

¤ My webiste has integrated windows authentication. I need to pass a clients
¤ credentials (username, password) to my site without the login pop up.
¤ I send the client to an anonymous page, get an encrypted cookie and read it
¤ to get the credentials. Then redirect the client to my web site.
¤
¤ How can I pass the credentials to IIS and avoid the login pop up?
¤
¤ Any help or related web sites is appreciated.

You avoid the login pop up by using Integrated Windows authentication. However, there is no use of
encrypted cookies (containing user credentials) with this level of authentication so I'm not sure
why you would need one.
Paul
~~~~
Microsoft MVP (Visual Basic)

Nov 23 '05 #3
On Tue, 22 Nov 2005 10:51:36 -0800, GRB <GR*@discussions.microsoft.com> wrote:

¤ I guess I didn't state the question properly. I've made things confusing you
¤ by telling you how I get the credentials. So lets try again.
¤
¤ How can I programatically log into a web site that has windows integrated
¤ authentication without using the login pop up window or passing it in the
¤ url? I have the username and password.
¤

OK, I think I understand your question, but the key issue here is that Integrated Windows security
handles the authentication automatically. A user name and password cannot be provided.

If you want to supply a user name and password w/o a login dialog or integrated security then you
should be using Forms authentication (Anonymous access).
Paul
~~~~
Microsoft MVP (Visual Basic)
Nov 23 '05 #4

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

Similar topics

2
by: Angelo Vargheese | last post by:
Hi, I am trying to retrieve XML created by ASP pages on different servers and display them on a single ASP.Net page. I was planning to use the XMLDocument and XMLResolver objects like below: ...
3
by: Ole Hanson | last post by:
Hi I am trying to pass a credentials object to a webpage programmatically. I have a winApp (C#) that I want to be able to open a webpage (by starting IE), but the credentials required by IIS...
3
by: Das | last post by:
Hi all, I'm writig an application that sends an http request to java servlet file. I have to pass an xml file to the servlet. How should I pass xml file to the file. When I try to access the...
7
by: Steve Drake | last post by:
All, I am doing a WEBDAV request and I want to pass the users Credentials to the webdav server, eg some code like : Request.Credentials = CredentialCache.DefaultCredentials; This does not...
7
by: Wade Wegner | last post by:
Hello, I have been desperately trying to programmatically authenticate a windows user, create their credentials, and then redirect them to a different server while passing the credentials at the...
1
by: jadher | last post by:
I try to access an asp page in a machine that has windows integrated authentication turned on. I use System.Net.Networkcredentials as well as System.Net.Webrequest and Webresponse. I receive...
4
by: Dan Higman | last post by:
I'm sure this is easy and I'll be embarrassed when I see the answer, but I just can't figure this one out. Using .Net/ASP 1.1 on a server using integrated authentication-- I have a web page...
2
by: Jay Balapa | last post by:
Hello, Win Forms app is able to connect to my webservice passing credentials as follows- myService.Credentials=System.Net.CredentialsCache.DefaultCredentials; Compact Framework does not...
4
by: Kris Kennaway | last post by:
I want to make use of UNIX credential passing on a local domain socket to verify the identity of a user connecting to a privileged service. However it looks like the socket module doesn't implement...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.