0

We have a webform that must be open to anonymous users. Users can upload a file to the form, and we found out that some users abuse this option and keep uploading files to our site without submitting the form.

I am trying to find a way to remove the upload button (still allow users to find a file), and perform the upload when they click submit.

This will allow me to leverage modules like honeypot and captaca to prevent users from writing a script and adding too many bad files to my server

I saw https://www.drupal.org/project/autoupload and Removing the upload button in managed files

but isn't autoupload will still allow users to just keep looking for files and uploading them without submitting?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.