Hello everyone, is there any safe way to store a password in a cookie in an encrypted form or something? Does WiseJ have any options? For example in ASP.NET there is:
FormsAuthentication.SetAuthCookie(username, true);
and I know that in WiseJ there is Application.Cookies.Add but to save a password maybe not the best way. Can anyone help me with a quick, safe and simple way to save a password encrypted in a cookie? I already have the encrypted password, I just need to make a cookie for that.
cookies don’t provide built in encryption. If your password is already encrypted simply store it a cookie. If it’s binary usually the approach is to store it as base64.
Please login first to submit.