Loading

Custom Authentication provider by implementing IHttpModule, IPrincipal and IIdentity

Custom Authentication provider by implementing IHttpModule, IPrincipal and IIdentity

http://www.codeproject.com/KB/web-security/AspNetCustomAuth.aspx

Asp.Net: Authentication based on HTTP Basic protocol. HttpModule.

http://blogs.x2line.com/al/articles/146.aspx

Implementing Intercepting Filter in ASP.NET Using HTTP Module

http://msdn.microsoft.com/en-us/library/ff649096.aspx

Demo:

https://files.cnblogs.com/joe-yang/CustomAuthenticationDemo.zip

when deploy demo app in windows 7's IIS 7.5, it may be occured the following error:

Unable to cast object of type 'System.Security.Principal.GenericIdentity' to type 'CustomSecurity.CustomIdentity'

solution:

IIS 7.5 httpmodule authentication Error

posted @ 2011-05-13 20:01  .net's  阅读(789)  评论(0)    收藏  举报