Ask a Question related to ASP.NET Security, Design and Development.
-
Dominick Baier [DevelopMentor] #1
Re: Custom IPrincipal and declarative security checking
download [url]http://www.pluralsight.com/toolcontent/show_pipeline.zip[/url]
put the ashx file in a web app and run it through your browser - you'll see the DefaultAuthentication event (this one is hardwired and you will not find a registration in the HttpModules section in machine.config).
fire up Reflector and look for System.Web.Security.DefaultAuthenticationModule - in the OnEnter method you'll see a call to "SetPrincipalOnThread" - follow this link - and there you are.
was that the "documentation" you are looking for ? :)
---
Dominick Baier - DevelopMentor
[url]http://www.leastprivilege.com[/url]
nntp://news.microsoft.com/microsoft.public.dotnet.security/<AF107FF6-A8D1-481B-AC68-FAD1F18A1A00@microsoft.com>
Thanks Nicole and Dominick,
@Nicole, you guessed right, my implementation of IsAuthenticated was buggy,
fixed that and everything works as expected...
@Dominick, do you happen to have a link to some documentation on that
undocumented behavior?
rgds,
Baileys
[microsoft.public.dotnet.security]
Dominick Baier [DevelopMentor] Guest
-
Custom HttpHandlers and Declarative Security
Hello All, I am using maverick.net (a framework based around a custom httphandler in ASP.NET) and I'm trying to integrate declarative security... -
Exception Handling declarative security
I'm reading myself into security and ASP.Net. I have written some demo code and now I'm wondering how you deal with exception handling when you... -
Declarative Security in ASP .net
Hi, I am trying to use declarative security in a ASP .net application With the statement below ... -
Custom Permission and Declarative support
Please forgive if this question has been answered a million times before, as I have seen many requests for help on this issues but I have not seen... -
UNC Security permission checking
Hello there all. Got a slight problem that is really starting to grate me. Have created a search page that interacts with the index service on one...



Reply With Quote

