by EricButler · 15y ago · 0 comments
The Tunisian government recently took advantage of Facebook's insecure login page to steal passwords for _everyone in the country_: http://blog.jgc.org/2011/01/code-injected-to-steal-passwords...
Protocol-relative URLs may be useful while migrating to HTTPS, but should not be needed long-term. All content should only be served securely.
Once a site is fully functional over HTTPS, adding the HSTS header is an important last step to further mitigate active attacks. http://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security