Author: Freakish_05 | Posted on: 6/7/2008 1:40:47 AM | Views : 381


Good Morning,


As you may have guessed from the title, I am creating my own authentication system completely separate from the ASP.NET Membership and Profiles System and was hoping that a kind person would just review my principals to make sure I'm on the right track.
Obviously I'm aiming for this to be as performance savvy as possible and this is my first real attempt at an authentication system so please don't hesitate to rip what I've got to shreds!


I have created Custom Identity and Principal objects to cater for any additional fields that may be required in a project.  These are nothing special, just implementations of IIdentity and IPrincipal with the extra properties that I need.

The authentication method looks something like this:

if(!MyAuthentication.checkUserExists(Login1.UserName))
{
//return an error message 'Us ...

Go to the complete details ...