Hacker News new | ask | show | jobs
by lunaynx 2767 days ago
That doesn't prevent unauthorized reading of the cookies. The only way to properly prevent it is using a different domain/subdomain.

https://developer.mozilla.org/en-US/docs/Web/API/document/co...