

Please see WFFM data encryption – Sitecore 8 by Jose Dominguez and Encrypt Web Forms For Marketers Fields in Sitecore by Mike Reynolds.īased on these articles, I created a way to implement data encryption on Forms.
Formentry database how to#
Mike Reynolds and Jose Dominguez wrote nice blog posts about how to encrypt data stored in Web Form for Marketers (WFFM). Encrypt data stored by Forms in SQL databases Here’s what happens if someone that doesn’t have the private key tries to restore/attach your encrypted database.

Formentry database password#
WITH PRIVATE KEY ( FILE = 'X:\Program Files\Microsoft SQL Server\MSSQL13.SQL2016EXPRESS\MSSQL\BackupCertificates\MyServerCert.bak' ,ĮNCRYPTION BY PASSWORD = 'MyStrongPasswordInPowerfulWays') TO FILE = 'X:\Program Files\Microsoft SQL Server\MSSQL13.SQL2016EXPRESS\MSSQL\BackupCertificates\MyServerCert.bak' USE Site_Sitecore_ExperienceForms ĮNCRYPTION BY SERVER CERTIFICATE MyServerCert ĪLTER DATABASE Site_Sitecore_ExperienceFormsĪlso, don’t forget to do a backup of the certificate you have just created. Now, enable the TDE on the Forms database. USE master ĬREATE MASTER KEY ENCRYPTION BY PASSWORD = 'MyStrongPasswordInPowerfulWays' ĬREATE CERTIFICATE MyServerCert WITH SUBJECT = 'Local Server DEK Certificate' Just reminding you that this feature is not available on SQL Server Express editions but on Standard and Developer editions. It is recommended reading through this documentation before planning on using TDE in production environments.īelow I give a brief summary of what you need to do. You can learn more by reading through the Microsoft’s documentation on Transparent Data Encryption (TDE). Here is where Transparent Data Encryption (TDE) comes into action. This prevents anyone without the keys from using the data. One solution is to encrypt the sensitive data in the database and protect the keys that are used to encrypt the data with a certificate. Transparent Data Encryption (TDE)Įven if you take several precautions to secure the database, if the physical media (such as drives or backup tapes) are stolen, a malicious party can just restore or attach the database and browse the data. It turns out Sitecore supports the encryption of data at rest (data storage) by enabling Transparent Data Encryption (TDE) on SQL Server. I was talking to Michael Thyregod on the Slack Sitecore Community about this missing encryption when he said that encryption of data at rest is possible and suggested me filing a ticket for the Sitecore support. It is an issue if an organization is considering Sitecore Forms for sensitive data such as credit card information. I mentioned that one of the missing features at Forms is that Sitecore does not encrypt the information it captures from the forms. Recently I wrote Is it time to migrate WFFM to Sitecore Forms. Then I will walk you through on how to encrypt data stored by Forms in SQL databases. First I will cover the encryption of data at rest (data storage) by enabling Transparent Data Encryption (TDE) on SQL Server. In this blog post, I will talk about two approaches on how to make Sitecore Forms more secure.
