Skip to content

Implementation of double submit cookies pattern for cross-site request forgery attack protection.

License

Notifications You must be signed in to change notification settings

IT18013856/Double-Submit-Cookies-Pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Double-Submit-Cookies-Pattern

Implementation of double submit cookies pattern for cross-site request forgery attack protection using PHP.

How to build and Deploy

  1. Download and install XAMPP (https://www.apachefriends.org/download.html)
  2. Replace the htdocs folder in the installed location with the provided htdocs folder.
  3. Start the Apache server and MySQL in XAMPP.
  4. Open phpMyAdmin (http://localhost/phpmyadmin/server_import.php) and import csrf.sql file.
  5. Access localhost (http://localhost) to run the web application.
  6. To try out a CSRF attack to the web application, open the "attack.html" file in the same browser session.

About

Implementation of double submit cookies pattern for cross-site request forgery attack protection.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published