Here's a patch that adds a field in the admin section for any form ID to be secured.

I needed this functionality because I have a content type that collects sensitive information, so I wanted to make sure the add/edit forms for that content type were secured.

Seems to work well in my limited testing.

Comments

jcmarco’s picture

Status: Needs review » Reviewed & tested by the community

This patch works great! It should go to the official release.

mfb’s picture

Status: Reviewed & tested by the community » Needs work

New features will be added to the 7.x-1.x branch. For the Drupal 7 version, I added an API function such that any form can pretty easily be secured via a hook_form_alter implementation. Hopefully this would meet your needs? A user interface to secure any form could be useful for some, however.

bancarddata’s picture

Version: 5.x-1.x-dev » 7.x-1.x-dev
Status: Needs work » Needs review
StatusFileSize
new1.38 KB

Attached is the patch above ported to 7.x-1.2.

mfb’s picture

Status: Needs review » Fixed

Thanks, added this feature to the 7.x-1.x-dev branch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.