Skip to content

nav7neeet/Same-Origin-Policy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Same Origin Policy

It's a simple J2EE web application to learn and understand Same Origin Policy. It has practice labs for

  1. Cross origin simple request.
  2. Cross origin preflighted request.
  3. Cross origin request for flash applications.
  4. Cross window communication between same origins.
  5. Cross window communication between different origins.
  6. Cross window communication using using Postmessage.
  7. Cross Origin request for null origin.

Each exercise is accompanied with instructions for understanding.

Installation

  1. The project can be imported in Eclipse using the Eclipse Github plugin or manually.
  2. Configure Tomcat in Eclipse.
  3. Configure the build path.
  4. Run the application on server.
  5. Access the application at http://localhost:8080

Note

Application is meant to run on port 8080.

Reference: https://www.netsparker.com/whitepaper-same-origin-policy/

About

J2EE application to understand same origin policy.

Topics

Resources

Stars

Watchers

Forks