Nowadays Encryption has been getting more and more attention. With so many server attacks being done every minute, we need a solution to prevent our clients data from being used maliciously.
Gravity Forms is an awesome plugin for WordPress. However, it doesn’t come with an option to encrypt the data when it is being stored in the database. While most of us will use gravity forms as a simple Contact Form, many of us might want to use it for much more than that. Gravity Forms is simple enough to use for a Contact Form, but if you wanted to use it as application tool that stores emails, phone numbers, even Social Security Numbers then you might want something that has a higher method of security then storing plain text in the database.
This is where the Gravitate Encryption Plugin comes in handy. This plugin allows you to use four methods of security with your client data.
While this plugin was intended for Gravity Forms, it can be used by any plugin or even in your WordPress theme files. First you will want to make sure that you have installed the Gravitate Encryption Plugin and configured it. Next, make sure to Test the plugin. There is an Encryption Test option at the bottom of the plugin. If it is working properly then the Un-encrypted Text will show as the same as the Decrypted Text.
To encrypt data use this PHP code:
echo GDS_Encryption_Class::encrypt('This is the Text to Encrypt');
To decrypt data use this PHP code:
Once you start using the plugin and start storing the data as Encrypted, you should not change the settings of the plugin as it will no longer be able to Decrypt the data. That means it will not be able to turn the Encrypted data back into a readable form. Therefore it will make the data unusable.
You should only configure it once and then Disable the Plugin from being managed in the Admin Panel.
If you need to change the settings you will need a Web Administrator to backup your data Un-Encrypted then change the settings and Re-Populate the data with the New Encrypted Settings.
Disable the Plugin from being managed in the Admin Panel
This can only be done from within the code of the plugin.
You can update the code in two ways. Either using FTP or you can edit the file from within the Plugin Edit page.
Go into the “gds_encryption.php” file and change:
$gds_encryption_enable_settings_page = true;
$gds_encryption_enable_settings_page = false;
You can get the plugin here:
* Sorry, but Gravitate offers no Support, Guarantees, or Warranty for this plugin. Any comments or reply’s provided by a Gravitate member is done at will. Use this Plugin at your own risk.
*It is recommended to use private data in the comments and to not share your website or company information on this page.
Ready to start a project or really curious about our process? Let’s talk about your idea. We like to come prepared for our first conversation, so for starters, please fill out our project inquiry form in as much detail as possible.
Have a question about a project we completed, our process, or just curious about what’s on tap this week? Drop us a note or give us a call; we’re happy to answer all your questions.