Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced CsrfGuard #83

Closed
wants to merge 5 commits into from
Closed

Enhanced CsrfGuard #83

wants to merge 5 commits into from

Conversation

fuegas
Copy link

@fuegas fuegas commented Sep 5, 2013

This pull request allows the user to use a secret to generate tokens. $_SERVER is quite easy reverse engineerable. Even more so on shared hosting accounts.
Also, after a token has been used it will be removed and a new token will be generated before the variables are assigned to the template. This way a token can't be guessed by looking at previous pages with a form.

@fuegas fuegas closed this Apr 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant