Re:Core flaw of Cookies
by kenton on Sunday July 21, 2013 @07:23PM
(#6080829)
Not quite seeing the problem when you can use the secure flag to enable it on only https http://en.wikipedia.org/wiki/HTTP_cookie#Secure_and_HttpOnly
[ Parent
| on HN ]
I haven't tested it fully but what if https is running on different port i.e. 443 (It is possible.)
I believe marking cookie secure will only save you from MITM attack, not from attacks where ports are shared in a domain. i.e. cookies will be sent over https only but to a compromised port.