Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Passing credentials to windows integrated authentication (http://www.velocityreviews.com/forums/t89454-passing-credentials-to-windows-integrated-authentication.html)

=?Utf-8?B?UGF0cmljay5PLklnZQ==?= 10-26-2004 03:29 AM

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?

Saravana 10-26-2004 04:26 AM

Re: Passing credentials to windows integrated authentication
 
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.name.

-Saravana
www.ExtremeExperts.com


"Patrick.O.Ige" <PatrickOIge@discussions.microsoft.com> wrote in message
news:4DFAF4AC-0C12-4865-9209-95449CA3772A@microsoft.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?




=?Utf-8?B?UGF0cmljay5PLklnZQ==?= 10-26-2004 04:55 AM

Re: Passing credentials to windows integrated authentication
 
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.name.
>
> -Saravana
> www.ExtremeExperts.com
>
>
> "Patrick.O.Ige" <PatrickOIge@discussions.microsoft.com> wrote in message
> news:4DFAF4AC-0C12-4865-9209-95449CA3772A@microsoft.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?

>
>
>


Girish bharadwaj 10-26-2004 10:56 AM

Re: Passing credentials to windows integrated authentication
 
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" <PatrickOIge@discussions.microsoft.com> wrote in message
news:B276340A-00E6-4959-8626-32BC03606A87@microsoft.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.name.
>>
>> -Saravana
>> www.ExtremeExperts.com
>>
>>
>> "Patrick.O.Ige" <PatrickOIge@discussions.microsoft.com> wrote in message
>> news:4DFAF4AC-0C12-4865-9209-95449CA3772A@microsoft.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?

>>
>>
>>





All times are GMT. The time now is 05:56 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.