Why would a webdev store info on server side instead of client side?
2. to avoid back and forth data transmission of typical cookies
Sessions
lets website store variables specific for a given visit on the server-side
session ID / token
assigned to client and identifies user session
How does a web application install session IDs on a web browser
by using session cookies
session cookies
contain single parameter value pair referring to the session
SOP: Same Origin Policy
How does a browser determine if JavaScript can access a resource?
hostname, port, and protocol must match
What does SOP apply to?
ONLY the actual code of a script
In terms of SOP, what would happen if a script on domain A could read content on domain B?
it would be possible to steal clients’ information and mount a number of very dangerous attacks
intercepting proxy
tool that lets you analyze and modify any request or response exchanged between an HTTP client and server
proxy server
different from intercepting
- fro bandwidth optimization, content filtering, etc
What does Burp Suite let you do?
How to check what HTTP traffic Burp is collecting?
- Target > Site Map tab
What is Burp Repeater
lets you manually build raw HTTP requests