asp.net forms authentification security issues

Posted by Andrew Florko on Stack Overflow See other posts from Stack Overflow or by Andrew Florko
Published on 2010-05-05T20:51:09Z Indexed on 2010/05/05 20:58 UTC
Read the original article Hit count: 205

Hi there,

I have a kind of asp.net forms authentication with the code like that:

FormsAuthentication.SetAuthCookie(account.Id.ToString(), true);
HttpContext.Current.User = new GenericPrincipal(new GenericIdentity(account.Id.ToString()), null);

What kind of additional efforts shall I take to make authentication cookie (that is user id) more securable? (https, encoding for example)

Thank you in advance!

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about forms-authentication