Forms Authentication

Forms authentication (forms-based security) is the most flexible form of authentication. With forms-based security, you specify a login Web Form for your Web site, and the first time someone tries to access a secured page, he is redirected to the login form. This form makes the decision whether to grant access. There is no way for a user to bypass the login form—even if he tries to navigate to the exact address of a secure page, he will be redirected to the login Web Form. Code that you add to the page makes the decision whether to grant access. There is no way that an unauthenticated user can bypass the login page and get to the secured page—even if the user tries to navigate to the exact address of a secure page, he will ...

Get Security for Microsoft® Visual Basic® .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.