Easily add encryption to your DataObjects
Currently, only Text and HTMLText are supported. Simply replace your text fields by their
corresponding DBEncryptedText or DBEncryptedHTMLText.
Make sure that the private key is not accessible! The key will be generated by default one level above your baseFolder.
This can be altered in the encrypt.yml configuration file. Note that if you are using SilverStripe 4, you will need
to change this as it lacks a '/public' directory.
You can also define the key in an overriding config file, as below.
--- Name: sharedencryptionkey After: - '#silverstripeencrypt' --- LeKoala\SilverStripeEncrypt\EncryptHelper: encrypted_shared_key: YOURSHAREDKEY---
Unit tested with 4.1 and 4.2
LeKoala - [email protected]
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem