The whitelist input filter disables HTML forms whose domains are not part of an approved whitelist. It works by stripping out the "action" attribute for all forms which are not on the whitelist. For example, you could use this to enable all forms that submit to http://www.good-site.com while disabling forms that submit to http://www.evil-site.com or other suspicious destinations.
I wrote this module to solve a specific need on my website. It could be generalized to support whitelisting of other HTML in addition to forms, such as hyperlinks and images. Another enhancement worth considering would be the ability to blacklist domains rather than whitelisting domains. Maybe I'll eventually get around to adding those features, but for now this just does forms.
Downloads
Project Information
- Maintenance status: Seeking new maintainer
- Development status: No further development
- Module categories: Content, Filters/Editors, Security
- Reported installs: 3 sites currently report using this module. View usage statistics.
- Downloads: 266
- Last modified: March 23, 2013