Skip to content

What to look for

Browser code

The same origin policy, messages and storage in the browser, and requests another website starts.

Start lesson

0 of 4 completed

Reviews are marked on
CWE-346CWE-942CWE-352Cross-site request forgery
  1. 1
    Same origin policy

    A browser stops a page from one website reading data from another website. The lesson shows the rule, and the server setting that switches the rule off for every website.

    Open the lesson

    Listen to an AI summary of Same origin policy

    0:00 / 0:35
  2. 2
    Messages, storage and sockets

    A web page can send messages, save data in the browser and keep a connection to a server open. Each has a check a reviewer looks for.

    Open the lesson

    Listen to an AI summary of Messages, storage and sockets

    0:00 / 0:30
  3. 3
    How CSRF works

    A page on another website can make a signed-in person's browser send a request the person never chose to send. The example is a change of address on the sports shop.

    Open the lesson

    Listen to an AI summary of How CSRF works

    0:00 / 0:32
  4. 4
    CSRF defences

    Another website can make a signed-in person's browser send a request the person did not intend. The lesson covers the defences that refuse the request, and three defences that do not work.

    Open the lesson

    Listen to an AI summary of CSRF defences

    0:00 / 0:33