Title: LimitRequestBody 10240000
Last modified: January 27, 2019

---

# LimitRequestBody 10240000

 *  Resolved [18TommyBoy](https://wordpress.org/support/users/18tommyboy/)
 * (@18tommyboy)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/limitrequestbody-10240000/)
 * Good day,
    I search 2 days at AIOWSF and at my hosting panel where is blocking
   uploading .zip or videos 10+MB files… What setting in AIOWSF is this? “LimitRequestBody
   10240000”
 * Where can it set in the AIOWSF?

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/limitrequestbody-10240000/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/limitrequestbody-10240000/page/2/?output_format=md)

 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/limitrequestbody-10240000/#post-11137262)
 * Hi, please check the following [documentation](https://mbrsolution.com/wordpress/all-in-one-wp-security-firewall-custom-rules.php).
   This will help you with your question.
 * Let me know if you need more help.
 * Kind regards
 *  Thread Starter [18TommyBoy](https://wordpress.org/support/users/18tommyboy/)
 * (@18tommyboy)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/limitrequestbody-10240000/#post-11770221)
 * Can You make a menu for this too?
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/limitrequestbody-10240000/#post-11773999)
 * Hi,
 * > Can You make a menu for this too?
 * Can you elaborate further your question.
 * Thank you
 *  Thread Starter [18TommyBoy](https://wordpress.org/support/users/18tommyboy/)
 * (@18tommyboy)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/limitrequestbody-10240000/#post-11779633)
 * Add menu point like:
    WP Security -> Filesystem Security -> Upload filesize set
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/limitrequestbody-10240000/#post-11779712)
 * Thank you for clarifying your question further. I have submitted a message to
   the developers to investigate further your request.
 * Kind regards
 *  [archesis](https://wordpress.org/support/users/anchises/)
 * (@anchises)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/limitrequestbody-10240000/#post-12164131)
 * Same problem here. I had to do quite the research, including bothering my webhoster,
   before I noticed that it was AIOWPS, that sets a 10 MB limit on uploads.
 * As far as I can see this is not mentioned in aiowps-dashboard and certainly not
   in the “alert box” of the firewall rules.
 * So please either mention what these rules do in more detail (at least put a link
   to the documentation) or preferably provide an option to set the “LimitRequestBody”
   somewhere in the dashboard, as [@18tommyboy](https://wordpress.org/support/users/18tommyboy/)
   suggested.
    -  This reply was modified 6 years, 5 months ago by [archesis](https://wordpress.org/support/users/anchises/).
 *  Thread Starter [18TommyBoy](https://wordpress.org/support/users/18tommyboy/)
 * (@18tommyboy)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/limitrequestbody-10240000/#post-12166829)
 * I don´t know why not it make an option after 1 year… User must search over the
   internet what is wrong with this plugin…
 *  [mra13](https://wordpress.org/support/users/mra13/)
 * (@mra13)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/limitrequestbody-10240000/#post-12168386)
 * That is part of the basic firewall rule. That firewall is suppose to limit uploads
   to prevent hackers from uploading large files. Don’t enable the basic firewall
   option if you don’t want that rule to be applied to your site. It is there for
   other people who want that rule.
 * You can’t just apply all the different firewall rules blindly to your site. Because
   some of the firewall will limit certain functionality. All the options are there
   for people to choose. You need to pick and choose the ones that you want to apply
   based on what it does and what functionality you need your site to continue to
   perform.
 *  [archesis](https://wordpress.org/support/users/anchises/)
 * (@anchises)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/limitrequestbody-10240000/#post-12170462)
 * You missed the point spectacularly.
 * 1) How do I know if I want this rule, if I do not know it exists unless I dig
   around in htaccess after the fact. Which is not why you want to have the convenience
   of a security plugin.
 * 2) I CAN NOT “pick and choose” – exactly because there is just the one switch.
   The alert box above it does neither say what it does nor is there a link to any
   documentation.
 * So yeah, by your own admission, my assertion has been confirmed in its entirety.
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/limitrequestbody-10240000/#post-12170486)
 * Hi, I understand what you mean. We have added information for each feature available
   in the plugin to help the user understand what happens when a feature is activated.
 * > 1) How do I know if I want this rule, if I do not know it exists unless I dig
   > around in htaccess after the fact. Which is not why you want to have the convenience
   > of a security plugin.
 * When you enable the following feature **Enable Basic Firewall Protection:** located
   in **WP Security -> Firewall -> Basic Firewall Rules**, we added a **More Info**
   link to let the user know what will be included when it is activated. This link
   states the following.
 * > This setting will implement the following basic firewall protection mechanisms
   > on your site:
   >  1) Protect your htaccess file by denying access to it. 2) Disable
   > the server signature. 3) Limit file upload size (10MB). 4) Protect your wp-
   > config.php file by denying access to it. The above firewall features will be
   > applied via your .htaccess file and should not affect your site’s overall functionality.
   > You are still advised to take a backup of your active .htaccess file just in
   > case.
 * Does the above information help you in any way?
 * Thank you
 *  Thread Starter [18TommyBoy](https://wordpress.org/support/users/18tommyboy/)
 * (@18tommyboy)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/limitrequestbody-10240000/#post-12170495)
 * We still need a switch for this 🙂
    The owner of server must set the max filesize
   of Upload, he probably knows how much is secure to set… RAW files from camera
   is 3x bigger than 10MB, this is joke…
 *  [archesis](https://wordpress.org/support/users/anchises/)
 * (@anchises)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/limitrequestbody-10240000/#post-12171448)
 * > When you enable the following feature Enable Basic Firewall Protection: located
   > in WP Security -> Firewall -> Basic Firewall Rules, we added a More Info link
   > to let the user know what will be included when it is activated. This link 
   > states the following.
 * Thanks, perhaps you could add a link to the documentation, like: “Here is how
   you can adapt these rules”
    [https://mbrsolution.com/wordpress/all-in-one-wp-security-firewall-custom-rules.php](https://mbrsolution.com/wordpress/all-in-one-wp-security-firewall-custom-rules.php)
 * Also some information on the differences between WordPress’ own upload limit 
   and a limit in htaccess would be nice.
 * > The owner of server must set the max filesize of Upload, he probably knows 
   > how much is secure to set… RAW files from camera is 3x bigger than 10MB, this
   > is joke…
 * Well, a security plugin is usually aimed at people who do not exactly know how
   to harden security manually. You can put “LimitRequestBody 102400000” in “Custom
   Rules” to set the limit to 100 MB.
 * However I do agree that it would be nice to be able to set this limit yourself(
   with 10 MB being the recommended default).
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/limitrequestbody-10240000/#post-12187032)
 * Hi, just letting you know the developers are planning in adding something for
   this feature in a future release. However I don’t know when though.
 * Thank you for your patience and understanding.
 * Enjoy the plugin.
 *  [Peter](https://wordpress.org/support/users/hardpeter4u/)
 * (@hardpeter4u)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/limitrequestbody-10240000/#post-12247824)
 * Hi,
    I concur that having a setting for this would be very preferable. If you
   use the custom rules it results in 2 entries for LimitRequestBody in the htaccess
   file. For the time being, I changed this in /classes/wp-security-utility-htaccess.
   php line 364:
 *     ```
       //limit file uploads to 10mb
       $rules .= 'LimitRequestBody 102400000' . PHP_EOL;
       ```
   
 * It’s not best practice to change core files of plugins, but this works and there
   are not two entries this way for LimitRequestBody.
 * Thanks,
    Pete
 *  Plugin Contributor [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * (@wpsolutions)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/limitrequestbody-10240000/#post-12256376)
 * Hi
    The next version will have a configurable field which will allow you to set
   the file upload limit.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/limitrequestbody-10240000/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/limitrequestbody-10240000/page/2/?output_format=md)

The topic ‘LimitRequestBody 10240000’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 16 replies
 * 6 participants
 * Last reply from: [18TommyBoy](https://wordpress.org/support/users/18tommyboy/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/limitrequestbody-10240000/page/2/#post-12259377)
 * Status: resolved