Skip to content

Prevent crossdomain attacks #49

Description

@stefchri

add token to session and check if this is the same as posted with each form.

  1. Add session var TOKEN (randomly generated)
  2. Add TOKEN to each form (same as in session)
  3. Check if both are the same

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions