Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Need to handle multiple types of authentication, need help

Reply
Thread Tools

Need to handle multiple types of authentication, need help

 
 
Mike
Guest
Posts: n/a
 
      01-20-2004
I've got an ASP.NET project that i need to support multiple types of login
authentication. I've tried initially to create a login system where you are
presented with an Account / Password page and then also a link that would
allow them to say "Use my Windows NT account". The forms authentication is
a breeze, however I cannot get the Windows authentication to work correctly
without prompting me for a Username/Password when I login.

During development, I'm testing locally on WinXP, when deployed, its on
either Win2K server or Win2K3 server. Kerberos authentication is enabled on
the account and the machine, so I cannot understand why it continues to
prompt for the password. The same code works perfectly in ASP, but not in
ASP.NET.

Can anyone give me some pointers on how to possibly get this to work because
once I get this working, I've still got to implement LDAP and a custom login
protocol too, but I first need to make sure the main SQL/Windows
authentication can work correctly in ASP.NET.

On the virtual folder, both Anonymous and WIA are enabled.
BASIC/Passport/Digest are all turned off.

Thanks,
michael


 
Reply With Quote
 
 
 
 
Keith
Guest
Posts: n/a
 
      02-01-2004
Ran into this recently, perhaps the best way to do this
would be for you use forms authentication and then
programattically authenticate the user off the Active
Directory. Then impersonate the authenticated user.

http://support.microsoft.com/default.aspx?scid=kb;EN-
US;326340

I hope I'm reading your request right. Please let me
know.

>-----Original Message-----
>I've got an ASP.NET project that i need to support

multiple types of login
>authentication. I've tried initially to create a login

system where you are
>presented with an Account / Password page and then also

a link that would
>allow them to say "Use my Windows NT account". The

forms authentication is
>a breeze, however I cannot get the Windows

authentication to work correctly
>without prompting me for a Username/Password when I

login.
>
>During development, I'm testing locally on WinXP, when

deployed, its on
>either Win2K server or Win2K3 server. Kerberos

authentication is enabled on
>the account and the machine, so I cannot understand why

it continues to
>prompt for the password. The same code works perfectly

in ASP, but not in
>ASP.NET.
>
>Can anyone give me some pointers on how to possibly get

this to work because
>once I get this working, I've still got to implement

LDAP and a custom login
>protocol too, but I first need to make sure the main

SQL/Windows
>authentication can work correctly in ASP.NET.
>
>On the virtual folder, both Anonymous and WIA are

enabled.
>BASIC/Passport/Digest are all turned off.
>
>Thanks,
>michael
>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Package to handle table text render (handle space or tab betweenthe columns) ? =?ISO-8859-1?Q?KLEIN_St=E9phane?= Python 3 10-06-2006 08:46 AM
Help needed with design of generic class to handle multiple types Code4u C++ 6 07-14-2005 08:44 AM
Possible to handle web requests without an ASPX page? i.e. have DLL handle request. jdlwright@shaw.ca ASP .Net 2 05-31-2005 05:42 PM
how to handle command line output(not terminal handle) Leon Python 2 11-04-2004 05:16 AM
File Handle Reading Blues: Rereading a File Handle for Input Dietrich Perl 1 07-22-2004 10:02 AM



Advertisments