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.

#Development #Security

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


Discover Opquast training and certification

The objective of these rules and the Opquast community mission is ‘making the web better’ for your customers and for everyone! Opquast rules cover the key major areas of risk that can negatively affect website users such as privacy, ecodesign, accessibility and security.

Opquast training has already allowed over 19,000 web professionals to have their skills certified. Train your teams, contact us

We offer a 1 hour free discovery module.