Find my article on the following link to get developer's introduction to Forms Authentication in ASP.NET 2.0. http://www.codeproject.com/KB/cs/Forms_Authnetication.aspx
Now you can execute your managed code from SQL Server 2005. To get complete details visit my artical at: http://www.codeproject.com/KB/database/Managed_Code_in_SQL.aspx Keep Learning......