Windows / Forms Login
Posted on 2009-04-28
What to do&
I am building a portal for an office.
I intend to offer a lot of user-specific customizations (like user-specific web parts and color schemes and content).
I want to take advantage of the .net personalization controls.
Those controls expect you to use forms authentication and to have a database that includes all of the default tables such as aspnet_PersonalizationPerUser
So far, I have used the Visual Studio web administration tool to set up page-level security, roles, membership etc. etc. Although I used MS SQL SERVER (rather than the default MS sqlserver express database).
Everything works just fine. Users are directed to Login.aspx, they enter their user name and password, they are authenticated and they proceed to their home page.
I don't really want to have them enter their user name and password. The application is on a secure intranet and they are already logged in.
I would like to cheat and simply automatically fill out and submit the Login form. I can set the username on that form to Request.ServerVariables("LOGON_USER"), but I cannot set the password& it is read only of course.
I don't want to switch to Windows authentication because then I lose the ability to create simple and easy user customizations that rely on the database data that was created by using forms security and the Visual Studio web administration tool.
What might I do here?