Secure Cookies

Enforcing all cookies are set as secure adds a layer of protection against cross-site scripting attacks and is an easy measure to protect your website.

Secure Cookies - Enable or disable

These settings are added to your wp-config.php file.

@ini_set('session.cookie_httponly', true);
@ini_set('session.cookie_secure', true);
@ini_set('session.use_only_cookies', true);

Was this helpful?

Previous Article

Security Headers