473,703 Members | 3,036 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Passing credentials to windows integrated authentication

Hi folks,
How can i pass credentials to windows integrated authentication.
I want to use my credentials from windows authentication and pass it on to
different asp.net and asp pages without having to login again.
Any help?
Nov 18 '05 #1
3 6116
You cant pass credentials to windows integrated authentication, it will be
automatically picked up by OS from logged on user credentials. Only you can
get the username using user.identity.n ame.

-Saravana
www.ExtremeExperts.com
"Patrick.O. Ige" <Pa*********@di scussions.micro soft.com> wrote in message
news:4D******** *************** ***********@mic rosoft.com...
Hi folks,
How can i pass credentials to windows integrated authentication.
I want to use my credentials from windows authentication and pass it on to
different asp.net and asp pages without having to login again.
Any help?

Nov 18 '05 #2
Thx Saravana,
Yeah i now that.
But can i pass it to a QueryString for example to retrieve Data from the
Database.?
Can i use windows integrated authentication with ASP 3.0 not Asp.net ?
For example when i call an asp 3.0 page i wouldn't need to relogin?
Thanks
"Saravana" wrote:
You cant pass credentials to windows integrated authentication, it will be
automatically picked up by OS from logged on user credentials. Only you can
get the username using user.identity.n ame.

-Saravana
www.ExtremeExperts.com
"Patrick.O. Ige" <Pa*********@di scussions.micro soft.com> wrote in message
news:4D******** *************** ***********@mic rosoft.com...
Hi folks,
How can i pass credentials to windows integrated authentication.
I want to use my credentials from windows authentication and pass it on to
different asp.net and asp pages without having to login again.
Any help?


Nov 18 '05 #3
I am not sure I understand the question. If you are trying to avoid logging
in, you can potentially use Anonymous access and enable impersonation withi
identity with with to run as. Then, you can use SSPI in your connection
string to the database and it will use the impersonated user account.
http://msdn.microsoft.com/library/de...ersonation.asp
If you do want to use authentication, you can use ASP.NET Authentication
from of "Windows".
http://msdn.microsoft.com/library/de...entication.asp

I thnk..
--
Girish Bharadwaj
http://msmvps.com/gbvb
"Patrick.O. Ige" <Pa*********@di scussions.micro soft.com> wrote in message
news:B2******** *************** ***********@mic rosoft.com...
Thx Saravana,
Yeah i now that.
But can i pass it to a QueryString for example to retrieve Data from the
Database.?
Can i use windows integrated authentication with ASP 3.0 not Asp.net ?
For example when i call an asp 3.0 page i wouldn't need to relogin?
Thanks
"Saravana" wrote:
You cant pass credentials to windows integrated authentication, it will
be
automatically picked up by OS from logged on user credentials. Only you
can
get the username using user.identity.n ame.

-Saravana
www.ExtremeExperts.com
"Patrick.O. Ige" <Pa*********@di scussions.micro soft.com> wrote in message
news:4D******** *************** ***********@mic rosoft.com...
> Hi folks,
> How can i pass credentials to windows integrated authentication.
> I want to use my credentials from windows authentication and pass it on
> to
> different asp.net and asp pages without having to login again.
> Any help?


Nov 18 '05 #4

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

Similar topics

4
2202
by: Grind Boy | last post by:
Hi, I'm writing this off the top of my head as I don't have the exact information to hand. We are attempting to set up a secure internet site using ASP.NET on IIS5. We are having some authentication problems early on in the project. The plan is to have 1 ASP.NET (IIS) forms application serving user requests and another ASP.NET (IIS) webservice interfacing to the database.
7
2611
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...
2
1817
by: Matt F | last post by:
Hi all I was hoping some one could clear up an ASP.Net security question I have. I am writing an ASP.NET application that connects to SQL Server. The security setup (connection string and IIS) will vary depending on the client who installs it. Some clients will undoubtedly wish to have IIS and SQL Server on separate machines, with Anonymous authentication in IIS, and a SQL Server connection string using Windows integrated
1
5251
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
5
4394
by: cdlipfert | last post by:
Our intranet is running under windows integrated security. We have domain users that want to access our intranet site via ssl vpn. SSL VPN can not authenticate against services that run under windows integrated security. In order to get around this issue it seems that we would need to create a login page on a separate site that runs under anonymous security. Then pass the users credentials to the site running under integrated security. ...
3
4909
by: GRB | last post by:
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.
2
5976
by: mbrand | last post by:
When trying to connect to my web service from a client application, the System.Net.CredentialCache.DefaultCredentials doesn't authenticate properly. I can see in the event viewer on the server (windows server 2003) that my domain/username are getting passed properly but it gives a 529 error. If I hard code in my credentials using: Service.Credentials = new System.Net.NetworkCredential("Username", "Password", "Domain") it authenticates...
0
3199
by: kkos | last post by:
I noticed the following issue posted as a double-hop issue in many discussion boards but found no answers that explain how to pass the second hop with windows auth from IIS ASPX page to remote SQL Server. Problem: -------------- I am trying to create an asp.net website with integrated windows authentication to access SQL databases. IIS resides on WinXP and SQL Server on Win2000 SRV. Both are in the same NT Domain. IIS and SQL Server...
0
2864
by: Jesper Lund Stocholm | last post by:
I have created a WCF-service running on IIS. The virtual directory has anonymous access disabled and requires integrated windows authentication. The proxy to the service is auto-generated using Visual Studio 2008's "Add Service reference". My problem is that when I try to execute a method on the service, I get the following exception: The HTTP request is unauthorized with client authentication scheme
0
8759
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9252
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9122
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 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...
1
9017
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8966
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6588
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4433
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...
0
4687
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2455
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.