5 ms·
No one thought about pages.github.com?
by hcarvalhoalves 14y ago
No one thought about pages.github.com?
- steveklabnik 14y agoThat does not solve the security issues that they're looking to mitigate.
- hcarvalhoalves 14y agoI see. I thought they could limit the cookies to the github.com root, but they already have stuff like gist.github.com.
- Groxx 14y agoWhich doesn't run arbitrary JS code, unlike the username.github.com pages, which means gist.github.com is incapable of setting such cookies. Unless there's a way to 'run' gist files? I'm not aware of any, but I haven't tried particularly hard.
- LukeShu 14y agoHe means that if they set cookies to only apply to the root, then you will have to log in to gist.github.com and github.com separately. Taking access away from the un-trusted code also means taking it away from some trusted code.
- Groxx 14y agoAaah, d'oh. Makes sense in retrospect :) thanks!