Picto thématique

Rule n° 195 - 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.

#Security #Development

Goal

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

Implementation

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.

Control

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.

By Opquast - Read the license