Title: block all /plugins/.* requests?
Last modified: November 18, 2019

---

# block all /plugins/.* requests?

 *  Resolved [thomask](https://wordpress.org/support/users/thomask/)
 * (@thomask)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/block-all-plugins-requests/)
 * I wonder if it would be possible to block everyone who tries to access any file
   in /wp-content/plugins directory except few defined filetypes (jpg, png, css,
   gif, svg, js). I guess this could be lifesaver for using almost any hole in any
   plugin.

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

 *  [WFGerroald](https://wordpress.org/support/users/wfgerald/)
 * (@wfgerald)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/block-all-plugins-requests/#post-12146664)
 * Hey [@thomask](https://wordpress.org/support/users/thomask/),
 * Thanks for the feedback!
 * This isn’t a feature that Wordfence supports. However, I do know that there are
   membership plugins that can restrict this type of access. I don’t believe they’ll
   actually block them for being suspicious, but they will prevent access to them.
 * Thanks,
 * Gerroald
 *  [WFGerroald](https://wordpress.org/support/users/wfgerald/)
 * (@wfgerald)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/block-all-plugins-requests/#post-12202730)
 * Hey [@thomask](https://wordpress.org/support/users/thomask/),
 * We haven’t heard back from you in a while, so I’ve gone ahead and marked this
   thread as resolved.
 * Please feel free to open another thread if you’re still any questions about Wordfence.
 * Thanks,
 * Gerroald

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

The topic ‘block all /plugins/.* requests?’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [WFGerroald](https://wordpress.org/support/users/wfgerald/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/block-all-plugins-requests/#post-12202730)
 * Status: resolved