{"id":1212,"date":"2017-04-20T20:34:48","date_gmt":"2017-04-20T20:34:48","guid":{"rendered":"https:\/\/www.xsofthost.com\/help\/?p=1212"},"modified":"2021-03-17T13:13:13","modified_gmt":"2021-03-17T13:13:13","slug":"enable-cpanels-leech-protection","status":"publish","type":"post","link":"https:\/\/www.xsofthost.com\/help\/enable-cpanels-leech-protection\/","title":{"rendered":"Enable cPanel Leech Protection for a directory"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1212\" class=\"elementor elementor-1212\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b7da604 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b7da604\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4ae5d12\" data-id=\"4ae5d12\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-faf13e0 elementor-widget elementor-widget-text-editor\" data-id=\"faf13e0\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>cPanel Leech Protection interface allows you to detect unusual levels of activity in password-restricted directories. After you set the maximum number of logins within a two-hour period, the system redirects or suspends users who exceed it. This is useful if, for example, someone posts a user\u2019s login credentials on a public site.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9ec7a99 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9ec7a99\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1bd4809\" data-id=\"1bd4809\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0027c90 elementor-widget elementor-widget-heading\" data-id=\"0027c90\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">What is cPanel leech protection?<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d6b0f19 elementor-widget elementor-widget-text-editor\" data-id=\"d6b0f19\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Leaching Actions occur When users publicly post their username and password , then unauthorized visitors can that credentials to access secure folders of your web site.<\/p>\n<p>Fortunately cPanel provides protection against leeching by limit the number of user to access a secure area of your web site within specific hours period. For example, you can limit users to four logins over a tow-hour period. If users exceed the login limit, cPanel provide feature to redirect them to another URL, or send an alert email, or simply disable their account.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5d1f97c7 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5d1f97c7\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1a9511da\" data-id=\"1a9511da\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-fbd6882 elementor-widget elementor-widget-heading\" data-id=\"fbd6882\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How to Enable leech protection for a directory<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-198b2ff4 elementor-widget elementor-widget-text-editor\" data-id=\"198b2ff4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<ol>\n<li>Login to your <strong>cPanel<\/strong> account using your credentials .<\/li>\n<li>From cPanel dashboard locate <strong>Security <\/strong>tab and click <strong>Leech Protection<\/strong> link.\n<p><a class=\"lightbox-image-link\" title=\"cPanel Leech Protection.\" href=\"https:\/\/www.xsofthost.com\/help\/wp-content\/uploads\/2021\/03\/cpanel-leech-Protection-img.png\" rel=\"lightbox[1131]\" data-lightbox=\"roadtrip\"><img class=\"thumbnail\" src=\"https:\/\/www.xsofthost.com\/help\/wp-content\/uploads\/2021\/03\/cpanel-leech-Protection-img.png\" alt=\"cPanel Leech Protection\" \/><\/a><\/p>\n<\/li>\n<li>From the next page you can select by click the <strong>folder<\/strong> you want to configure leach protect.\n<p><a class=\"lightbox-image-link\" title=\"cPanel Leech Protection Folder Selection.\" href=\"https:\/\/www.xsofthost.com\/help\/wp-content\/uploads\/2021\/03\/cpanel-leech-Protection-select-folder-img.png\" rel=\"lightbox[1131]\" data-lightbox=\"roadtrip\"><img class=\"thumbnail\" src=\"https:\/\/www.xsofthost.com\/help\/wp-content\/uploads\/2021\/03\/cpanel-leech-Protection-select-folder-img.png\" alt=\"cPanel Leech Protection Folder Selection\" \/><\/a><\/p>\n<\/li>\n<li>on the Leech protection page for the selected folder you can start Set up Leech Protection:\n<ol>\n<li><strong>Number of Logins Per Username Allowed in a 2-Hour Period<\/strong>:enter the number of logins allowed per username in a two-hour period.<\/li>\n<li><strong>URL to Redirect Leech Users to<\/strong>:Enter Custom URL to redirect users to another web page when their account is compromised.<\/li>\n<li><strong>Send Email Alert To<\/strong>:Tick this option to receive an email alert when an account is compromised<\/li>\n<li><strong>Disable Compromised Accounts<\/strong>:Tick this option to simply disable accounts that are compromised.<\/li>\n<\/ol>\n<\/li>\n<li>Then Click <strong>Enable<\/strong> Button.and you will get green message <em>Leech Protection enabled<\/em>.for your directory.\n<p><a class=\"lightbox-image-link\" title=\"cPanel Leech Protection Settings.\" href=\"https:\/\/www.xsofthost.com\/help\/wp-content\/uploads\/2021\/03\/cpanel-leech-Protection-settings-img.png\" rel=\"lightbox[1131]\" data-lightbox=\"roadtrip\"><img class=\"thumbnail\" src=\"https:\/\/www.xsofthost.com\/help\/wp-content\/uploads\/2021\/03\/cpanel-leech-Protection-settings-img.png\" alt=\"cPanel Leech Protection Settings\" \/><\/a><\/p>\n<\/li>\n<\/ol>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5f151f1 elementor-widget elementor-widget-heading\" data-id=\"5f151f1\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How to Disable leech protection for a directory<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-55e642c elementor-widget elementor-widget-text-editor\" data-id=\"55e642c\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<br \/>\n<b>Warning<\/b>:  Illegal string offset 'width' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>57<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'height' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>57<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'autoplay' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>57<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'theme' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>57<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'loop_video' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>57<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'enable_fullscreen' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>57<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'show_related' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>57<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'show_popup' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>57<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'thumb_popup_width' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>57<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'thumb_popup_height' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>57<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'show_title' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>57<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'show_youtube_icon' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>57<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'show_annotations' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>57<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'show_progress_bar_color' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>57<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'autohide_parameters' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>57<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'set_initial_volume' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>57<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'initial_volume' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>57<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'disable_keyboard' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>57<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'set_initial_volume' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>68<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'set_initial_volume' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>68<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'enable_fullscreen' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>70<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'autoplay' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>74<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'theme' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>75<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'loop_video' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>76<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'enable_fullscreen' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>77<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'show_title' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>78<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'show_youtube_icon' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>79<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'show_annotations' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>80<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'show_progress_bar_color' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>81<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'autohide_parameters' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>82<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'disable_keyboard' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>83<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'show_related' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>84<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'loop_video' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>92<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'width' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>110<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'height' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>110<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'width' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>110<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Illegal string offset 'height' in <b>\/home\/xsofthost\/public_html\/help\/wp-content\/plugins\/youtube-video-player-pro\/fornt_end\/front_end.php<\/b> on line <b>110<\/b><br \/>\n\t\t\t\t<ol>\n\t<li>Login to your <strong>cPanel<\/strong> account using your credentials .<\/li>\n\t<li>From cPanel dashboard locate <strong>Security <\/strong>tab and click <strong>Leech Protection<\/strong> link.<\/li>\n\t<li>click the folder that you want to disable the leech protection &#8220;<img loading=\"lazy\" src=\"https:\/\/www.xsofthost.com\/help\/wp-content\/uploads\/2017\/04\/leech.jpg\" alt=\"cPanel leech Protection\" width=\"24\" height=\"16\" \/> This icon will indicate that the folder is Leech protection enabled&#8221;.<\/li>\n\t<li>Under Disable Protection click <strong>Disable<\/strong> button.And you will get green message of Leech Protection Disabled!<\/li>\n<\/ol>\n<p><iframe class=\"youtube_embed_iframe\"    data-width=\"0\" data-height=\"0\" style=\"width:0px; height:0px\" src=\"\/\/www.youtube.com\/embed\/EEK0Q3AMTHc?autoplay=0&#038;theme=0&#038;loop=0&#038;fs=0&#038;showinfo=0&#038;modestbranding=1&#038;iv_load_policy=3&#038;color=0&#038;autohide=0&#038;disablekb=0&#038;rel=0&#038;enablejsapi=1&#038;version=3\"><\/iframe><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>cPanel Leech Protection interface allows you to detect unusual levels of activity in password-restricted directories. After you set the maximum number of logins within a two-hour period, the system redirects or suspends users who exceed it. This is useful if, for example, someone posts a user\u2019s login credentials on a public site. What is cPanel [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1217,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[4,166],"_links":{"self":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/1212"}],"collection":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/comments?post=1212"}],"version-history":[{"count":42,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/1212\/revisions"}],"predecessor-version":[{"id":3082,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/1212\/revisions\/3082"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/media\/1217"}],"wp:attachment":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/media?parent=1212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/categories?post=1212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/tags?post=1212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}