Use secure HttpOnly and SameSite cookie defaults
This guide explains the hardened defaults applied to authentication and session cookies. The guide then takes you through the correct route, the checks to complete before making changes, the workflow in order, and the evidence to review afterwards.
Where to goAutomatic core protection — no separate staff menu route
What you’ll accomplish
Understand the hardened defaults applied to authentication and session cookies. The workflow below follows the supported application or module flow and does not invent a menu or bypass validation.
Follow these steps
- Use the supported Britixo CRM release or workflow that produces this security control.
- Check the expected protection through an authorised test.
- Record the result in the deployment or security audit evidence.
Fields and options to review
- Secure
- HttpOnly
- SameSite
Rules the system enforces
- Secure limits transport to HTTPS.
- HttpOnly prevents normal browser JavaScript from reading the cookie.
- SameSite restricts unintended cross-site delivery.
- Do not weaken cookie defaults to solve an unrelated integration problem.
How to confirm it worked
- The protection is active without weakening another security control.
Security, audit and troubleshooting checks
- Use the exact authorised account, role and record before saving or sending.
- Verify the saved status and downstream record; a browser success message alone is not sufficient evidence.
- Never expose passwords, API keys, access tokens, protected attachments or raw server paths in support tickets.
- Do not edit module or core database records directly to bypass validation, permissions, migrations or state rules.
Continue with related guidance
Was this guide useful?Your response is stored only in this browser.
