Web Development: HTML, CSS and JavaScript
Exit

Lesson 14 of 17 · Browser and network

Browser storage (localStorage, cookies) and basic security (XSS, HTTPS)

55 min Node.js 22 (Debian, git, npm, python3)

Objective

Keep information in the visitor's browser (the cart of a craft shop, the chosen theme, the language), choosing the right tool between localStorage, sessionStorage and cookies. Then learn the essential security reflexes: preventing code injection (XSS), protecting sessions, serving everything over HTTPS.

This lesson is part of the full course

Unlock Web Development: HTML, CSS and JavaScript to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.