Hacker News new | ask | show | jobs
by nyuszika7h 2600 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...