CSRF token protection using cookie -
is practice save csrf token in cookie or better use hidden field in form? regenerate csrf token every user request captchas doing?
thanks
it best include in form. idea behind csrf token is not passed passively (e.g. if malicious user able trick browser accessing url nasty). cookies passed passively.
Comments
Post a Comment