Title: Blocking File Upload
Last modified: June 11, 2023

---

# Blocking File Upload

 *  Resolved [teinformatik](https://wordpress.org/support/users/teinformatik/)
 * (@teinformatik)
 * [3 years ago](https://wordpress.org/support/topic/blocking-file-upload/)
 * Hi there
 * We are using Contact Form 7 for sending emails. We have a plugin installed for
   multi file drag and drop upload: [https://wordpress.org/plugins/drag-and-drop-multiple-file-upload-contact-form-7/](https://wordpress.org/plugins/drag-and-drop-multiple-file-upload-contact-form-7/)
   
   It worked for a long time very well. But now NinjaFirewall seems to be blocking
   these file attachments / uploads.
 * When NinjaFirewall is disabled, everything works fine. If it is enabled, the 
   upload gets stuck at 99% and after php max execution time, the error “file size
   is too big” is shown.
 * How can I make sure its working again without disabling the firewall plugin? 
   Is there an option in the pro version that we do need?
 * Thanks in advance for your help!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [3 years ago](https://wordpress.org/support/topic/blocking-file-upload/#post-16811756)
 * Can you check the firewall log (NinjaFirewall > Logs) and paste here the lines
   that show the blocked requests?
 * In the free version, you can select either to allow or blocks uploads in the 
   Firewall Policies > Uploads section.
 *  Thread Starter [teinformatik](https://wordpress.org/support/users/teinformatik/)
 * (@teinformatik)
 * [3 years ago](https://wordpress.org/support/topic/blocking-file-upload/#post-16812507)
 * I don’t know what line it is exactly. Maybe its the cross site scripting?
 * Here the anonymized file: [https://file.io/QZMkceyy92HX](https://file.io/QZMkceyy92HX)
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [3 years ago](https://wordpress.org/support/topic/blocking-file-upload/#post-16815705)
 * There’s nothing in the log that is related to your issue.
   Did you make change
   lately to the “HTTP response headers” policies in the “NinjaFirewall > Firewall
   Policies > Advanced Policies” tab ?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Blocking File Upload’ is closed to new replies.

 * ![](https://ps.w.org/ninjafirewall/assets/icon-256x256.png?rev=976137)
 * [NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall](https://wordpress.org/plugins/ninjafirewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninjafirewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninjafirewall/)
 * [Active Topics](https://wordpress.org/support/plugin/ninjafirewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninjafirewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninjafirewall/reviews/)

## Tags

 * [file upload](https://wordpress.org/support/topic-tag/file-upload/)

 * 3 replies
 * 2 participants
 * Last reply from: [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/blocking-file-upload/#post-16815705)
 * Status: resolved