-2

Just received the results of a security audit - everything clear apart from two things

  • Session cookie without http flag.
  • Session cookie without secure flag set.

So how I can set the httpOnly flag and secure flag through jQuery?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459

1 Answers1

1

Both needs to be configured at server before issuing cookie. You can read more about the security issues otherwise from OWASP documentation

kamoor
  • 2,909
  • 2
  • 19
  • 34