Skip to content

vianetz/secure-cookies-magento1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secure Cookies Extension for Magento 1

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 to Secure and SameSite=Lax
  • The adminhtml cookie will be set to SameSite=Strict (this cookie is by default set to Secure 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

  1. Do a backup of your Magento installation for safety reasons.
  2. Disable Magento compilation feature (if activated): System > Tools > Compiler

a) Installation with composer (recommended)

  1. Run composer require vianetz/secure-cookies-magento1

or b) Installation with modman

  1. Clone this repository into your modman folder and run modman deploy-all

or c) Manual Installation

  1. 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

  1. Clear the Magento cache (and related caches like APC/FPC/Opcache if available)
  2. Logout from the admin panel and then login again
  3. 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

  1. Remove the folder app/code/community/Vianetz/SecureCookies
  2. 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

GPLv3 License

This Magento Extension uses Semantic Versioning - please find more information at http://semver.org.

About

This Magento 1 extension improves the default session cookies by setting the SameSite attribute.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages