Web Security 101



Web Security 101

9 14


web-security-101-slides

[OUTDATED AS OF 08/2016] Slides of my "Web Security 101" lecture.

On Github willdurand-edu / web-security-101-slides

Web Security 101

William Durand

Same-Origin Policy (4/5)

JSON With Padding (JSONP)

It is a communication technique used in JavaScript applications to request data from a server in a different domain:

<!-- Request sent via a `script` tag -->
<script src="https://example.com/status.json?callback=apiStatus"></script>
<!-- Data received as an execution of the predefined function -->
<script>function apiStatus(data) { console.log(data.status); }</script>