Hey! 👋🏼
Redi School Munich - Spring 2021
Only one thing can be run at a time
There is something called the call stack
Javascript code can be inspected by users
Generally we shouldn't rely on data coming from the client side
Anything sensitive should be checked in the backend
Domain names are origins
Two websites are not allowed to talk to each other by default
You are only permitted to share data between the same domain name
This is configured on the server
This website is allowed to talk with this other website
Around 40% of all cyberattacks are XSS
The attacker manipulates the HTML and JS to trigger malicious code
The attacker tries to impersonate the user
It can include, changing email, password, steal information and more
Is an added layer of security that helps to detect and mitigate certain types of attacks
Configure the server to return Content-Security-Policy http header
Use the meta tag to configure the policy
HTTPS is basically an HTTP protocol with additional security.
Uses SSL/TSL to secure the information sent to the server