{"id":1537,"date":"2014-04-21T08:04:07","date_gmt":"2014-04-21T08:04:07","guid":{"rendered":"http:\/\/www.milesweb.com\/hosting-faqs\/?p=1537"},"modified":"2022-04-22T14:53:45","modified_gmt":"2022-04-22T09:23:45","slug":"basic-security-tips-shared-hosting-server","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/","title":{"rendered":"Basic Security Tips For The Shared Hosting Server"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1539\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/04\/shared-hosting-security.jpg\" alt=\"shared hosting, shared hosting security\" width=\"500\" height=\"330\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/04\/shared-hosting-security.jpg 500w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/04\/shared-hosting-security-300x198.jpg 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p><strong>Here are some basic security tips for a <a title=\"shared hosting\" href=\"https:\/\/www.milesweb.in\/hosting\/shared-hosting\">shared hosting<\/a> server:<\/strong><br \/>\n* It is important to ensure that your local machine is safe. For doing this, use reliable and updated antivirus software like Microsoft Security Essentials.<\/p>\n<p>* Update all your web applications on a regular basis. This includes components, modules and addons that you have integrated.<!--more--><\/p>\n<p>* Select strong and complicated passwords for the cPanel account, FTP, MySQL and mail users. Avoid using the same passwords for different users. It is also important to ensure that your cPanel username and password should not be saved in any file of your account.<\/p>\n<p>* Do not use directories having permissions above 755. In case your applications warrants the use of such directories, place them outside your web root (public_html) or you can even place a .htaccess file in them that contains \u2018deny from all\u2019 for restricting public access to these files.<\/p>\n<p>* Make use of secure and encrypted connections while logging into cPanel yourdomain(dot)com\/cpanel.<\/p>\n<p>* Tweak the local PHP settings for improved security. For doing this, disable the unnecessary options and functions. Below mentioned are some sample recommendations:<\/p>\n<p><strong>allow_url_fopen=off<\/strong><\/p>\n<p><strong>disable_functions = proc_open , popen, disk_free_space, set_time_limit, leak, tmpfile, exec, system, shell_exec, passthru<\/strong><\/p>\n<p>Note that the directives mentioned above can hamper your code\u2019s functionality. They have to be added in a php.ini file in every directory where you would like to apply them.<\/p>\n<p>* Deny Pearl and other bots from accessing your website. This can be easily implemented by applying the following rules in your .htaccess:<\/p>\n<p><strong>SetEnvIfNoCase User-Agent libwww-perl bad_bots<\/strong><br \/>\n<strong> order deny,allow<\/strong><br \/>\n<strong> deny from env=bad_bots<\/strong><\/p>\n<p>* If you are not utilizing the Pearl scripts, you can add a bogus handler for these files. Create a .htaccess file in your home directory with the content mentioned below:<br \/>\n<strong>##Deny access to all CGI, Perl, Python and text files<\/strong><br \/>\n<strong> &lt;FilesMatch \u201c.(cgi|pl|py|txt)\u201d&gt;<\/strong><br \/>\n<strong> Deny from all<\/strong><br \/>\n<strong> &lt;\/FilesMatch&gt;<\/strong><br \/>\n<strong> ##If you are using a robots.txt file, please remove the<\/strong><br \/>\n<strong> # sign from the following 3 lines to allow access only to the robots.txt file:<\/strong><br \/>\n<strong> #&lt;FilesMatch robots.txt&gt;<\/strong><br \/>\n<strong> #Allow from all<\/strong><br \/>\n<strong> #&lt;\/FilesMatch&gt;<\/strong><\/p>\n<p>* Change SSH port number from default 22 to any other one you want.<\/p>\n<p>The tips mentioned above will prevent the Pearl scripts from being implemented. Many exploits and backdoors are created in Pearl and with the settings mentioned above, they will be prevented from running. This directive will be applicable to all your subdirectories.<\/p>\n<p>Remember, once your <a href=\"https:\/\/www.milesweb.in\">web hosting<\/a> account has been compromised, it is a possibility that the intruder will leave a backdoor for gaining easy access at a later point of time. This is the reason why it is not just enough to fix the vulnerable code. Detecting the backdoor can be time consuming and expensive as it might require a professional developer. Therefore, it is important to follow the security guidelines mentioned above.<\/p>\n<p><span style=\"border-radius: 2px; text-indent: 20px; width: auto; padding: 0px 4px 0px 0px; text-align: center; font: bold 11px\/20px 'Helvetica Neue',Helvetica,sans-serif; color: #ffffff; background: #bd081c no-repeat scroll 3px 50% \/ 14px 14px; position: absolute; opacity: 1; z-index: 8675309; display: none; cursor: pointer; top: 36px; left: 183px;\">Save<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here are some basic security tips for a shared hosting server: * It is important to ensure that your local machine is safe. For doing this, use reliable and updated antivirus software like Microsoft Security Essentials. * Update all your web applications on a regular basis. This includes components, modules and addons that you have [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,36],"tags":[50,130,131],"class_list":["post-1537","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-domain-name-dns-issues","category-cpanel-hosting-faq","tag-cpanel-hosting-2","tag-shared-hosting","tag-web-hosting-security"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Basic Security Tips For The Shared Hosting Server<\/title>\n<meta name=\"description\" content=\"Running and managing a shared web hosting server? Follow the given steps to configure necessary security settings on your server.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Basic Security Tips For The Shared Hosting Server\" \/>\n<meta property=\"og:description\" content=\"Running and managing a shared web hosting server? Follow the given steps to configure necessary security settings on your server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2014-04-21T08:04:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-22T09:23:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/04\/shared-hosting-security.jpg\" \/>\n<meta name=\"author\" content=\"Admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/\"},\"author\":{\"name\":\"Admin\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\"},\"headline\":\"Basic Security Tips For The Shared Hosting Server\",\"datePublished\":\"2014-04-21T08:04:07+00:00\",\"dateModified\":\"2022-04-22T09:23:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/\"},\"wordCount\":495,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/04\/shared-hosting-security.jpg\",\"keywords\":[\"cPanel hosting\",\"shared hosting\",\"web hosting security\"],\"articleSection\":[\"Domain Name &amp; DNS Issues\",\"Shared Hosting FAQ\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/\",\"name\":\"Basic Security Tips For The Shared Hosting Server\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/04\/shared-hosting-security.jpg\",\"datePublished\":\"2014-04-21T08:04:07+00:00\",\"dateModified\":\"2022-04-22T09:23:45+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\"},\"description\":\"Running and managing a shared web hosting server? Follow the given steps to configure necessary security settings on your server.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/04\/shared-hosting-security.jpg\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/04\/shared-hosting-security.jpg\",\"width\":500,\"height\":330,\"caption\":\"shared hosting, shared hosting security\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Basic Security Tips For The Shared Hosting Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png\",\"caption\":\"Admin\"},\"description\":\"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Basic Security Tips For The Shared Hosting Server","description":"Running and managing a shared web hosting server? Follow the given steps to configure necessary security settings on your server.","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:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/","og_locale":"en_US","og_type":"article","og_title":"Basic Security Tips For The Shared Hosting Server","og_description":"Running and managing a shared web hosting server? Follow the given steps to configure necessary security settings on your server.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2014-04-21T08:04:07+00:00","article_modified_time":"2022-04-22T09:23:45+00:00","og_image":[{"url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/04\/shared-hosting-security.jpg","type":"","width":"","height":""}],"author":"Admin","twitter_misc":{"Written by":"Admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/"},"author":{"name":"Admin","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69"},"headline":"Basic Security Tips For The Shared Hosting Server","datePublished":"2014-04-21T08:04:07+00:00","dateModified":"2022-04-22T09:23:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/"},"wordCount":495,"commentCount":0,"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/04\/shared-hosting-security.jpg","keywords":["cPanel hosting","shared hosting","web hosting security"],"articleSection":["Domain Name &amp; DNS Issues","Shared Hosting FAQ"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/","name":"Basic Security Tips For The Shared Hosting Server","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/04\/shared-hosting-security.jpg","datePublished":"2014-04-21T08:04:07+00:00","dateModified":"2022-04-22T09:23:45+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69"},"description":"Running and managing a shared web hosting server? Follow the given steps to configure necessary security settings on your server.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/#primaryimage","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/04\/shared-hosting-security.jpg","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/04\/shared-hosting-security.jpg","width":500,"height":330,"caption":"shared hosting, shared hosting security"},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/basic-security-tips-shared-hosting-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"Basic Security Tips For The Shared Hosting Server"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png","caption":"Admin"},"description":"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.","url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=1537"}],"version-history":[{"count":10,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1537\/revisions"}],"predecessor-version":[{"id":16673,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1537\/revisions\/16673"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=1537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=1537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=1537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}