{"id":739,"date":"2023-02-20T18:15:00","date_gmt":"2023-02-20T18:15:00","guid":{"rendered":"https:\/\/yohost.org\/library\/?p=739"},"modified":"2023-02-18T16:02:02","modified_gmt":"2023-02-18T16:02:02","slug":"how-to-harden-cpanel-server-security","status":"publish","type":"post","link":"https:\/\/yohost.org\/library\/how-to-harden-cpanel-server-security\/","title":{"rendered":"How to harden cPanel server security"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Recently we have noticed increased amount of attacks against online shops using the popular shopping cart software, like WooCommerce, OpenCart etc. In this article we will cover several basics to level up your cPanel server security.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-password-strength\">Password strength<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Sorry but we have to mention it. The most obvious but the most neglected security advice. Make your passwords really strong. Six characters is not strong. Password containing dictionary words is even less strong. Some time ago we have <a href=\"https:\/\/yohost.org\/library\/what-is-strong-password\/\">published an article<\/a> showing how much time does it take to brute force passwords of different length. Read it to get a basic understanding about what is strong password and what the best practices are.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Everybody wants to use same password for everything, but nowadays it&#8217;s no longer an option. <a href=\"https:\/\/www.f5.com\/labs\/articles\/threat-intelligence\/spaceballs-security--the-top-attacked-usernames-and-passwords\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Same applies to user names<\/a>, whenever possible do not use default users, like &#8220;admin&#8221;, &#8220;administrator&#8221;, &#8220;user&#8221;, &#8220;test&#8221; etc. Good practice is to have your username also randomly generated.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In <strong>&#8220;WHM &gt; Security Center &gt; Configure Security Policies&#8221;<\/strong> there is an option to enforce password strength and age requirement.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><span class=\"placeholder-el\" data-svq-align=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-36-45x25.png\" alt=\"Enforce password strength requirement in cPanel\/WHM\" class=\"wp-image-740 lazy\" width=\"498\" height=\"276\" data-srcset=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-36.png 785w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-36-300x167.png 300w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-36-45x25.png 45w\" data-sizes=\"auto, (max-width: 498px) 100vw, 498px\" data-width=\"498\" data-height=\"276\" data-src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-36.png\" style=\"height: 0; width: 498px; padding-bottom: 55.42%;\"><span class=\"svq-img-loader\"><\/span><\/span><noscript><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-36.png\" alt=\"Enforce password strength requirement in cPanel\/WHM\" class=\"wp-image-740\" width=\"498\" height=\"276\" srcset=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-36.png 785w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-36-300x167.png 300w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-36-45x25.png 45w\" sizes=\"auto, (max-width: 498px) 100vw, 498px\" \/><\/noscript><figcaption class=\"wp-element-caption\">Enforce Password Strength in cPanel<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Two-Factor authentication<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Two-factor is a powerful add up to the security of your server. You can configure 2FA with your Google auth for WHM and cPanel logins.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Go to <strong>&#8220;Security Center &gt; Two-Factor Authentication&#8221;<\/strong> to enable it. First, you will need to &#8220;Set-up two factor authentication&#8221; within &#8220;Manage my account&#8221; tab and then toggle &#8220;ON&#8221; button to enforce the new security policy.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><span class=\"placeholder-el\" data-svq-align=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-37-45x26.png\" alt class=\"wp-image-741 lazy\" width=\"503\" height=\"286\" data-srcset=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-37.png 854w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-37-300x171.png 300w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-37-768x438.png 768w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-37-700x400.png 700w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-37-45x26.png 45w\" data-sizes=\"auto, (max-width: 503px) 100vw, 503px\" data-width=\"503\" data-height=\"286\" data-src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-37.png\" style=\"height: 0; width: 503px; padding-bottom: 56.86%;\"><span class=\"svq-img-loader\"><\/span><\/span><noscript><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-37.png\" alt=\"\" class=\"wp-image-741\" width=\"503\" height=\"286\" srcset=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-37.png 854w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-37-300x171.png 300w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-37-768x438.png 768w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-37-700x400.png 700w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-37-45x26.png 45w\" sizes=\"auto, (max-width: 503px) 100vw, 503px\" \/><\/noscript><figcaption class=\"wp-element-caption\">Enable 2FA WHM\/cPanel<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">According to the <a href=\"https:\/\/docs.cpanel.net\/whm\/security-center\/two-factor-authentication-for-whm\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">cPanel docs<\/a>, server time should be accurate in order for 2FA to work correctly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is another alike 2FA security option for cPanel\/WHM &#8211; <strong>Security Questions.<\/strong> You can set 4 security questions which will be asked every time you login from unrecognized IP address. If answered correctly, IP will be added to the white-list and you will not be able to answer questions again. Simple but powerful option.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><span class=\"placeholder-el\" data-svq-align=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-38-45x28.png\" alt=\"security questions cpanel\/whm settings\" class=\"wp-image-742 lazy\" width=\"527\" height=\"331\" data-srcset=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-38.png 768w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-38-300x189.png 300w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-38-45x28.png 45w\" data-sizes=\"auto, (max-width: 527px) 100vw, 527px\" data-width=\"527\" data-height=\"331\" data-src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-38.png\" style=\"height: 0; width: 527px; padding-bottom: 62.81%;\"><span class=\"svq-img-loader\"><\/span><\/span><noscript><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-38.png\" alt=\"security questions cpanel\/whm settings\" class=\"wp-image-742\" width=\"527\" height=\"331\" srcset=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-38.png 768w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-38-300x189.png 300w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-38-45x28.png 45w\" sizes=\"auto, (max-width: 527px) 100vw, 527px\" \/><\/noscript><figcaption class=\"wp-element-caption\">Security questions 2FA<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-disable-services\">Disable services<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Services which you do not use frequently but can be targeted by the hackers- .<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>SSH<\/strong>. Go to &#8220;<strong>Service Configuration > Service Manager<\/strong>&#8220;, find SSH Daemon and untick both Enabled and Monitor marks.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><span class=\"placeholder-el\" data-svq-align=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-39-45x7.png\" alt class=\"wp-image-744 lazy\" width=\"543\" height=\"80\" data-srcset=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-39.png 732w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-39-300x44.png 300w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-39-45x7.png 45w\" data-sizes=\"auto, (max-width: 543px) 100vw, 543px\" data-width=\"543\" data-height=\"80\" data-src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-39.png\" style=\"height: 0; width: 543px; padding-bottom: 14.73%;\"><span class=\"svq-img-loader\"><\/span><\/span><noscript><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-39.png\" alt=\"\" class=\"wp-image-744\" width=\"543\" height=\"80\" srcset=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-39.png 732w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-39-300x44.png 300w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-39-45x7.png 45w\" sizes=\"auto, (max-width: 543px) 100vw, 543px\" \/><\/noscript><figcaption class=\"wp-element-caption\">Disable SSH<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Turn off <strong>FTP<\/strong>. FTP is another common target for the brute-force attacks, nowadays we rarely upload\/download files via FTP and generally this service should be disabled. Go to <strong>&#8220;Service Configuration > FTP Server Selection&#8221;<\/strong> and set FTP server to &#8220;Disabled&#8221;.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><span class=\"placeholder-el\" data-svq-align=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40-45x45.png\" alt=\"showing how to disable FTP server cPanel\" class=\"wp-image-745 lazy\" width=\"355\" height=\"354\" data-srcset=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40.png 617w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40-300x300.png 300w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40-150x150.png 150w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40-350x350.png 350w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40-240x240.png 240w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40-120x120.png 120w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40-100x100.png 100w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40-45x45.png 45w\" data-sizes=\"auto, (max-width: 355px) 100vw, 355px\" data-width=\"355\" data-height=\"354\" data-src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40.png\" style=\"height: 0; width: 355px; padding-bottom: 99.72%;\"><span class=\"svq-img-loader\"><\/span><\/span><noscript><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40.png\" alt=\"showing how to disable FTP server cPanel\" class=\"wp-image-745\" width=\"355\" height=\"354\" srcset=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40.png 617w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40-300x300.png 300w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40-150x150.png 150w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40-350x350.png 350w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40-240x240.png 240w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40-120x120.png 120w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40-100x100.png 100w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-40-45x45.png 45w\" sizes=\"auto, (max-width: 355px) 100vw, 355px\" \/><\/noscript><figcaption class=\"wp-element-caption\">Disable FTP server cPanel\/WHM<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Traceroute<\/strong>. Hackers can use ping to discover available hosts\/servers. Disabling traceroute will make your server non-responsive to ping requests. Go to <strong>Security Center > Traceroute Enable\/Disable<\/strong> to turn it off.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><span class=\"placeholder-el\" data-svq-align=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-41-45x43.png\" alt=\"disable ping traceroute in cPanel\/WHM\" class=\"wp-image-746 lazy\" width=\"388\" height=\"373\" data-srcset=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-41.png 544w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-41-300x288.png 300w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-41-45x43.png 45w\" data-sizes=\"auto, (max-width: 388px) 100vw, 388px\" data-width=\"388\" data-height=\"373\" data-src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-41.png\" style=\"height: 0; width: 388px; padding-bottom: 96.13%;\"><span class=\"svq-img-loader\"><\/span><\/span><noscript><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-41.png\" alt=\"disable ping traceroute in cPanel\/WHM\" class=\"wp-image-746\" width=\"388\" height=\"373\" srcset=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-41.png 544w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-41-300x288.png 300w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-41-45x43.png 45w\" sizes=\"auto, (max-width: 388px) 100vw, 388px\" \/><\/noscript><figcaption class=\"wp-element-caption\">Disable Traceroute<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">cPHulk<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Although cPHulk provides good protection against brute force attacks, sometimes it can be triggered by legit requests as well. We recommend to white-list your known IPs. And if you do not want to reveal your IPs on the system for privacy reasons or you have a dynamic IP, the best way would be to whitelist your VPNs IP address.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The next important feature is <strong>Countries blacklist<\/strong>. Most of the <a href=\"https:\/\/blog.cyberproof.com\/blog\/which-countries-are-most-dangerous\" target=\"_blank\" rel=\"noreferrer noopener\">attacks are coming from known networks and countries<\/a>, like China, Brazil and India. Blacklisting those will highly increase your server security. The blacklist applies only to logins to the cPanel server&#8217;s services and not to the website access.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><span class=\"placeholder-el\" data-svq-align=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-42-45x27.png\" alt=\"blacklist login from countries cPHulk WHM\" class=\"wp-image-747 lazy\" width=\"484\" height=\"292\" data-srcset=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-42.png 970w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-42-300x181.png 300w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-42-768x464.png 768w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-42-45x27.png 45w\" data-sizes=\"auto, (max-width: 484px) 100vw, 484px\" data-width=\"484\" data-height=\"292\" data-src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-42.png\" style=\"height: 0; width: 484px; padding-bottom: 60.33%;\"><span class=\"svq-img-loader\"><\/span><\/span><noscript><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-42.png\" alt=\"blacklist login from countries cPHulk WHM\" class=\"wp-image-747\" width=\"484\" height=\"292\" srcset=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-42.png 970w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-42-300x181.png 300w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-42-768x464.png 768w, https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-42-45x27.png 45w\" sizes=\"auto, (max-width: 484px) 100vw, 484px\" \/><\/noscript><figcaption class=\"wp-element-caption\">Countries blacklist in cPHulk<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Apache Jail<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">We will not go into much details here since already described it in our <a href=\"https:\/\/yohost.org\/library\/how-to-chroot-jail-apache-in-whm-cpanel\/\" target=\"_blank\" rel=\"noreferrer noopener\">previous article<\/a>. You can read and follow. To keep it short, this tweak hardens the Apache security by segmenting Apache Virtual Hosts in cPanel.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Custom admin URLs<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">We mean admin login URLs of your shopping cart software. Most of them you can customize, like in  WordPress, Prestashop, OpenCart etc. Hackers usually scan known admin paths of popular CMS and they will not be able to test it of the path is modified. We will cover the admin URL change of the popular shopping carts in our next article.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently we have noticed increased amount of attacks against online shops using the popular shopping cart software, like WooCommerce, OpenCart etc. In this article we will cover several basics to level up your cPanel server security. Password strength Sorry but we have to mention it. The most obvious but the most neglected security advice. Make [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"stax_block_gap":"","stax_show_title_section":"","stax_single_post_media_panel_height":"","stax_single_post_media_panel_text":"","stax_single_post_cateory_breadcrumb":"","stax_single_post_title_position":"","stax_single_post_title_align":"","stax_single_post_title_extra_align":"","stax_single_post_title_size":"","stax_single_post_image_width":"","stax_single_post_image_format":"","stax_single_post_audio_panel":"","stax_single_post_video_panel":"","stax_single_post_video_width":"","stax_single_post_gallery_panel":"","stax_single_post_gallery_width":"","stax_single_post_gallery_slides":"","stax_single_post_meta_author_avatar":"","stax_single_post_meta_author_name":"","stax_single_post_meta_post_date":"","stax_single_post_meta_reading_time":"","stax_single_post_shapes":"","footnotes":""},"categories":[66,5],"tags":[139,140],"class_list":["post-739","post","type-post","status-publish","format-standard","hentry","category-linux","category-security","tag-cpanel-server-security","tag-level-up"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.12 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to harden cPanel server security<\/title>\n<meta name=\"description\" content=\"In this article we provide some steps and tips how to harden your cPanel server security.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/yohost.org\/library\/how-to-harden-cpanel-server-security\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to harden cPanel server security\" \/>\n<meta property=\"og:description\" content=\"In this article we provide some steps and tips how to harden your cPanel server security.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/yohost.org\/library\/how-to-harden-cpanel-server-security\/\" \/>\n<meta property=\"og:site_name\" content=\"Privacy Dedicated Library\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-20T18:15:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-36.png\" \/>\n<meta name=\"author\" content=\"Paul M\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@yohostorg\" \/>\n<meta name=\"twitter:site\" content=\"@yohostorg\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Paul M\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/how-to-harden-cpanel-server-security\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/how-to-harden-cpanel-server-security\\\/\"},\"author\":{\"name\":\"Paul M\",\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/#\\\/schema\\\/person\\\/69f04ef60b945341f65db69ad70c0faf\"},\"headline\":\"How to harden cPanel server security\",\"datePublished\":\"2023-02-20T18:15:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/how-to-harden-cpanel-server-security\\\/\"},\"wordCount\":655,\"publisher\":{\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/how-to-harden-cpanel-server-security\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/yohost.org\\\/library\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/image-36.png\",\"keywords\":[\"cpanel server security\",\"level up\"],\"articleSection\":[\"Linux\",\"Security\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/how-to-harden-cpanel-server-security\\\/\",\"url\":\"https:\\\/\\\/yohost.org\\\/library\\\/how-to-harden-cpanel-server-security\\\/\",\"name\":\"How to harden cPanel server security\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/how-to-harden-cpanel-server-security\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/how-to-harden-cpanel-server-security\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/yohost.org\\\/library\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/image-36.png\",\"datePublished\":\"2023-02-20T18:15:00+00:00\",\"description\":\"In this article we provide some steps and tips how to harden your cPanel server security.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/how-to-harden-cpanel-server-security\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/yohost.org\\\/library\\\/how-to-harden-cpanel-server-security\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/how-to-harden-cpanel-server-security\\\/#primaryimage\",\"url\":\"https:\\\/\\\/yohost.org\\\/library\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/image-36.png\",\"contentUrl\":\"https:\\\/\\\/yohost.org\\\/library\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/image-36.png\",\"width\":785,\"height\":437},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/how-to-harden-cpanel-server-security\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/yohost.org\\\/library\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to harden cPanel server security\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/#website\",\"url\":\"https:\\\/\\\/yohost.org\\\/library\\\/\",\"name\":\"Privacy Dedicated Library\",\"description\":\"Everything about privacy protection, Bitcoin, encryption and technology\",\"publisher\":{\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/yohost.org\\\/library\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/#organization\",\"name\":\"Yohost.org\",\"url\":\"https:\\\/\\\/yohost.org\\\/library\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/yohost.org\\\/library\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/yhscree2.png\",\"contentUrl\":\"https:\\\/\\\/yohost.org\\\/library\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/yhscree2.png\",\"width\":431,\"height\":466,\"caption\":\"Yohost.org\"},\"image\":{\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/yohostorg\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/yohost.org\\\/library\\\/#\\\/schema\\\/person\\\/69f04ef60b945341f65db69ad70c0faf\",\"name\":\"Paul M\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6d68ca6c8d2150c879f23586b6734b585aca8528d5f9d6158a28685239857aee?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6d68ca6c8d2150c879f23586b6734b585aca8528d5f9d6158a28685239857aee?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6d68ca6c8d2150c879f23586b6734b585aca8528d5f9d6158a28685239857aee?s=96&d=mm&r=g\",\"caption\":\"Paul M\"},\"sameAs\":[\"https:\\\/\\\/yohost.org\\\/library\"],\"url\":\"https:\\\/\\\/yohost.org\\\/library\\\/author\\\/admin_31kufsla\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to harden cPanel server security","description":"In this article we provide some steps and tips how to harden your cPanel server security.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/yohost.org\/library\/how-to-harden-cpanel-server-security\/","og_locale":"en_US","og_type":"article","og_title":"How to harden cPanel server security","og_description":"In this article we provide some steps and tips how to harden your cPanel server security.","og_url":"https:\/\/yohost.org\/library\/how-to-harden-cpanel-server-security\/","og_site_name":"Privacy Dedicated Library","article_published_time":"2023-02-20T18:15:00+00:00","og_image":[{"url":"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-36.png","type":"","width":"","height":""}],"author":"Paul M","twitter_card":"summary_large_image","twitter_creator":"@yohostorg","twitter_site":"@yohostorg","twitter_misc":{"Written by":"Paul M","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/yohost.org\/library\/how-to-harden-cpanel-server-security\/#article","isPartOf":{"@id":"https:\/\/yohost.org\/library\/how-to-harden-cpanel-server-security\/"},"author":{"name":"Paul M","@id":"https:\/\/yohost.org\/library\/#\/schema\/person\/69f04ef60b945341f65db69ad70c0faf"},"headline":"How to harden cPanel server security","datePublished":"2023-02-20T18:15:00+00:00","mainEntityOfPage":{"@id":"https:\/\/yohost.org\/library\/how-to-harden-cpanel-server-security\/"},"wordCount":655,"publisher":{"@id":"https:\/\/yohost.org\/library\/#organization"},"image":{"@id":"https:\/\/yohost.org\/library\/how-to-harden-cpanel-server-security\/#primaryimage"},"thumbnailUrl":"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-36.png","keywords":["cpanel server security","level up"],"articleSection":["Linux","Security"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/yohost.org\/library\/how-to-harden-cpanel-server-security\/","url":"https:\/\/yohost.org\/library\/how-to-harden-cpanel-server-security\/","name":"How to harden cPanel server security","isPartOf":{"@id":"https:\/\/yohost.org\/library\/#website"},"primaryImageOfPage":{"@id":"https:\/\/yohost.org\/library\/how-to-harden-cpanel-server-security\/#primaryimage"},"image":{"@id":"https:\/\/yohost.org\/library\/how-to-harden-cpanel-server-security\/#primaryimage"},"thumbnailUrl":"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-36.png","datePublished":"2023-02-20T18:15:00+00:00","description":"In this article we provide some steps and tips how to harden your cPanel server security.","breadcrumb":{"@id":"https:\/\/yohost.org\/library\/how-to-harden-cpanel-server-security\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/yohost.org\/library\/how-to-harden-cpanel-server-security\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/yohost.org\/library\/how-to-harden-cpanel-server-security\/#primaryimage","url":"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-36.png","contentUrl":"https:\/\/yohost.org\/library\/wp-content\/uploads\/2023\/02\/image-36.png","width":785,"height":437},{"@type":"BreadcrumbList","@id":"https:\/\/yohost.org\/library\/how-to-harden-cpanel-server-security\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/yohost.org\/library\/"},{"@type":"ListItem","position":2,"name":"How to harden cPanel server security"}]},{"@type":"WebSite","@id":"https:\/\/yohost.org\/library\/#website","url":"https:\/\/yohost.org\/library\/","name":"Privacy Dedicated Library","description":"Everything about privacy protection, Bitcoin, encryption and technology","publisher":{"@id":"https:\/\/yohost.org\/library\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/yohost.org\/library\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/yohost.org\/library\/#organization","name":"Yohost.org","url":"https:\/\/yohost.org\/library\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/yohost.org\/library\/#\/schema\/logo\/image\/","url":"https:\/\/yohost.org\/library\/wp-content\/uploads\/2021\/12\/yhscree2.png","contentUrl":"https:\/\/yohost.org\/library\/wp-content\/uploads\/2021\/12\/yhscree2.png","width":431,"height":466,"caption":"Yohost.org"},"image":{"@id":"https:\/\/yohost.org\/library\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/yohostorg"]},{"@type":"Person","@id":"https:\/\/yohost.org\/library\/#\/schema\/person\/69f04ef60b945341f65db69ad70c0faf","name":"Paul M","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/6d68ca6c8d2150c879f23586b6734b585aca8528d5f9d6158a28685239857aee?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/6d68ca6c8d2150c879f23586b6734b585aca8528d5f9d6158a28685239857aee?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6d68ca6c8d2150c879f23586b6734b585aca8528d5f9d6158a28685239857aee?s=96&d=mm&r=g","caption":"Paul M"},"sameAs":["https:\/\/yohost.org\/library"],"url":"https:\/\/yohost.org\/library\/author\/admin_31kufsla\/"}]}},"_links":{"self":[{"href":"https:\/\/yohost.org\/library\/wp-json\/wp\/v2\/posts\/739","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yohost.org\/library\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yohost.org\/library\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yohost.org\/library\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yohost.org\/library\/wp-json\/wp\/v2\/comments?post=739"}],"version-history":[{"count":2,"href":"https:\/\/yohost.org\/library\/wp-json\/wp\/v2\/posts\/739\/revisions"}],"predecessor-version":[{"id":748,"href":"https:\/\/yohost.org\/library\/wp-json\/wp\/v2\/posts\/739\/revisions\/748"}],"wp:attachment":[{"href":"https:\/\/yohost.org\/library\/wp-json\/wp\/v2\/media?parent=739"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yohost.org\/library\/wp-json\/wp\/v2\/categories?post=739"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yohost.org\/library\/wp-json\/wp\/v2\/tags?post=739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}