Rule n° 200 - Pages using the HTTPS protocol do not offer HTTP resources.

When users browse sites offering HTTPS, a padlock is displayed. When the site offers certain http and HTTPS resources on the same page, the browser may display a security alert for the site visited. When you offer a site in HTTPS, make sure that all the resources called are also in HTTPS.

#Development #Security

Goal

  • Prevent alerts on the users' side.
  • Improve safety for all site resources.

Solution technique

For each page of the website sent by the server in HTTPS, provide all the resources of which it is composed (images, CSS, JS files, etc.) via the HTTPS protocol and not via HTTP.

Moyen de contrôle

For each page of the website sent by the server in HTTPS, check that none of the resources that compose it (images, CSS, JS files, etc.) are provided via the HTTP protocol.