It would be nice if this module enabled a Form API property for textfield and password form elements. If we could add '#encrypt'=>true it would be really handy to use with forms where I think most of the use cases are.

Thanks for a well implemented sec solution.

Comments

zzolo’s picture

I have thought about this before, but didn't think it would save all that much work, hence why API is meant to be dead simple. But I like the idea and will hopefully be able to implement it with the second version.

theunraveler’s picture

A note for my own reference: for an example of this, see ctools dependency functionality.

theunraveler’s picture

Version: 6.x-1.x-dev » 7.x-2.x-dev

Also, this will be targeted at 7.x-2.x.

crossmedia’s picture

Hi, still you may apply encryption to your webforms through webform_encryption module in Drupal 6 but you should have The 6.x branch of this module requires Webform 6.x-3.x. It will not work with older versions of Webforms. Please have a look on the following drupal project link http://drupal.org/project/webform_encrypt

Step -1
Install and enable Encrypt Module
Your server should have php mycrypt installed to use mcrypt
Configure and store secret key on the server, however i would request you to store outside the webroot

Step -2
Install and enable webform_encrypt module
Create Test Webform, you will have the checkbox option in every field while creating the form to encrypt or not.

Step -3
Please correct me if i am wrong.

theunraveler’s picture

Status: Active » Closed (fixed)

Committed to 7.x-2.x. Will be part of the first beta.