Why it matters

Your website uses small files called cookies to remember visitors and handle logins. A cookie without the Secure flag can be sent over an insecure connection, where it can be captured 1. If that cookie keeps someone logged in, whoever captures it can use their account 1. To protect your organization's information and systems, we recommend that you use HTTPS wherever possible 2. Organizations should ensure that their websites meet basic web security guidelines to protect against common weaknesses [S5, S6].

How to tell if this affects you

Our security check found that your website is sending cookies without marking them as secure. If these cookies handle user login sessions, anyone snooping on an insecure network connection could potentially hijack those active sessions.

Can you fix it yourself?

Cookie settings usually require access to your website's code or platform configuration. If you manage your own website software, you can often fix this directly. Otherwise, you will need to ask the person who builds or maintains your website to make the change.

What to do

  1. Review the report to see the specific cookie names. Cookies whose names suggest sessions or logins matter most 1.
  2. Configure your website software to set the Secure flag (and the HttpOnly flag for cookies that scripts do not need) on those cookies 1. Many platforms have a single setting, often called "secure cookies" or "cookie secure", once the site runs on HTTPS 1.
  3. Make sure HTTP redirects to HTTPS and add HTTP Strict Transport Security (HSTS), which is a web security policy tool that forces users' browsers to load HTTPS-supported websites and ignore unsecured websites [S1, S2].

Check your fix

Run another security check on your website to confirm the warning is gone 1.

When to get professional help

Cookie settings live in your website's code or platform configuration 1. If you do not manage your website directly, ask your web developer or platform support for assistance, and share the specific cookie names listed in the report 1. You can also work with a managed security service provider who can help deploy, monitor, and manage your website and network security infrastructure 3.

Want to check if your website has other security gaps? Run a free check of your business at aeolussecurity.ca.