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

Popular posts from this blog

php - URL redirection after form submitted without inherited params -

c# - ReportViewer control - axd url -

c# - must be a non-abstract type with a public parameterless constructor in redis -