Login and authentication via C# and ASP.NET
<p>I was just wondering what were the best ways to write login and authentication in ASP.NET. To my knowledge, ways to authenticate are via:</p>

<ul>
<li>implementation of the ASP.NET Permissions Provider against SQL Server</li>
<li>Writing your own function, starting a session for the user at login and clearing the session at logout.</li>
</ul>

<p>Any other ideas?</p>

<p>Thanks.</p>
