The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

StrictTransportSecurity object

Use StrictTransportSecurity to configure the Strict-Transport-Security header.

You can customize these directives for a Strict-Transport-Security header. Set values for them in a StrictTransportSecurity object.

For information about each directive, see MDN Web Docs: Strict-Transport-Security Directives

See Also