Basic Auth in ASP.NET?
C#
1
Posts
1
Posters
0
Views
1
Watching
-
I need to present one of those nice Authentication boxes to get a Username and Password and then 'do something' with the info - think of it as Windows authentication, but using my own authenticator instead of the Windows one. Now, my thinking is that in the Page_Load() function, I can take a look to see if the Basic Auth token is there, and if it isn't, return the challenge. If it is there, I can test it and allow the username/password through to the page if its ok. Does anyone have code for this? -Adrian