JavaScript Can't Touch This

In this lesson, we'll study how the HttpOnly flag works.

We'll cover the following...

As we’ve seen earlier, XSS attacks allow a malicious user to execute arbitrary JavaScript on a page. Considering that you could read the contents of the cookie jar with a simple document.cookie, protecting our cookies from untrusted JavaScript access is a very important aspect of hardening cookies from a security ...

Access this course and 1400+ top-rated courses and projects.