vianetz / secure-cookies-magento1
A Magento 1 extension that improves the cookie settings for Magento frontend and admin session cookies.
Installs: 40
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 5
Forks: 2
Open Issues: 1
Type:magento-module
Requires
- php: >=7.2.0
Requires (Dev)
- roave/security-advisories: dev-latest
- vianetz/coding-standards: dev-master
This package is auto-updated.
Last update: 2024-11-12 11:50:00 UTC
README
Facts
- Extension key:
Vianetz_SecureCookies
Description
This extension for the Magento 1 online shop software improves the default Magento session cookies:
- The
frontend
cookie will be set toSecure
andSameSite=Lax
- The
adminhtml
cookie will be set toSameSite=Strict
(this cookie is by default set toSecure
already)
This is required e.g. in Chrome and Firefox as described in this Google blog post.
Requirements
- PHP >= 7.2.0
- Magento >= 1.9
Installation Instructions
For installation notes please see also our FAQ.
Preparations
- Do a backup of your Magento installation for safety reasons.
- Disable Magento compilation feature (if activated): System > Tools > Compiler
a) Installation with composer (recommended)
- Run
composer require vianetz/secure-cookies-magento1
or b) Installation with modman
- Clone this repository into your modman folder and run
modman deploy-all
or c) Manual Installation
- Unzip the setup package and copy the contents of the
src/
folder into the Magento root folder. (The folder structure is the same as in your Magento installation. No files will be overwritten.) Please assure that the files are uploaded with the same file user permissions as the Magento installation!
Final Tasks
- Clear the Magento cache (and related caches like APC/FPC/Opcache if available)
- Logout from the admin panel and then login again
- Enable the Magento compilation feature (if it was activated before): System > Tools > Compiler
We also offer paid installation services. If you are interested please contact me.
Uninstallation
- Remove the folder
app/code/community/Vianetz/SecureCookies
- Remove the file
app/etc/modules/Vianetz_SecureCookies.xml
Frequently Asked Questions
Please find the Frequently Asked Questions on our website.
Support
If you have any issues or suggestions with this extension, please do not hesitate to contact me.
Developer
Christoph Massmann
https://www.vianetz.com
@vianetz
License
This Magento Extension uses Semantic Versioning - please find more information at http://semver.org.