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. 3 4901
On Tue, 22 Nov 2005 06:55:04 -0800, GRB <GR*@discussion s.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)
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*@discussion s.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)
On Tue, 22 Nov 2005 10:51:36 -0800, GRB <GR*@discussion s.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) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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:
xmlResolver.Credentials = CredentialCache.DefaultCredentials
xmlDoc = New XmlDocument
xmlDoc.XmlResolver = xmlResolver
|
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 serving this webpage should be sent
along automatically. This to prevent the user from being forced to login to
the site.
It should be something like LOGONUSER from the User32.dll native API, but
just to a webpage...
|
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 url directly it shows me
Forbidden
You do not have permission to access /RequestListenerServlet on this server.
|
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 work, as I get AUTH FAIL, but if I pass the user name and
password by using :
|
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 same time so that they don't have to
login again.
Specifically, I have two webservers in the same domain. When I have a user
go to Webserver A (which uses basic authentication) I programmatically
create either a user credential or impersonate...
| |
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 a response but when I try to use Response.Redirect(), a popup
windows appears asking me for user, password, domain.
Is there a way to pass the credentials to the Reponse.Redirect function so I
|
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 (.aspx) that will collect some data from the user,
call a web service to get additional data, and then merge and format the
data back to the user's browser. But I want the web service to
authenticate with the user's credentials, not the credentials of...
|
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 have a CredentialsCache class. Is there an
alternate way of passing default credentials?
|
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
sendmsg/recvmsg wrappers, and I can't find another module that does this
either. Is there something I have missed?
Kris
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |