{"id":186,"date":"2017-08-26T11:40:52","date_gmt":"2017-08-26T11:40:52","guid":{"rendered":"https:\/\/d1m0.com\/?p=186"},"modified":"2017-09-11T11:53:24","modified_gmt":"2017-09-11T11:53:24","slug":"securing-web-servers","status":"publish","type":"post","link":"https:\/\/d1m0.com\/?p=186","title":{"rendered":"Securing web servers."},"content":{"rendered":"<p>Tips<\/p>\n<p>1.Hide apache version and OS identitty<\/p>\n<p>vim \/etc\/httpd\/httpd.conf<\/p>\n<div class=\"crayon-pre\">\n<blockquote>\n<div id=\"crayon-59a3d674bb0a8899408175-1\" class=\"crayon-line\"><span class=\"crayon-e\">ServerSignature <\/span><span class=\"crayon-e\">Off<\/span><\/div>\n<div id=\"crayon-59a3d674bb0a8899408175-2\" class=\"crayon-line crayon-striped-line\"><span class=\"crayon-e\">ServerTokens <\/span><span class=\"crayon-i\">Prod<\/span><\/div>\n<\/blockquote>\n<\/div>\n<p>2.Disable directory listing<\/p>\n<p>webhost config file<\/p>\n<div class=\"crayon-pre\">\n<blockquote>\n<div id=\"crayon-59a3d674bb0b7931197503-1\" class=\"crayon-line\"><span class=\"crayon-o\">&lt;<\/span><span class=\"crayon-i\">Directory<\/span> <span class=\"crayon-o\">\/<\/span><span class=\"crayon-i\">var<\/span><span class=\"crayon-o\">\/<\/span><span class=\"crayon-i\">www<\/span><span class=\"crayon-o\">\/<\/span><span class=\"crayon-i\">@@@<\/span><span class=\"crayon-o\">&gt;<\/span><\/div>\n<div id=\"crayon-59a3d674bb0b7931197503-2\" class=\"crayon-line crayon-striped-line\"><span class=\"crayon-h\">\u00a0\u00a0\u00a0\u00a0<\/span><span class=\"crayon-i\">Options<\/span> <span class=\"crayon-o\">&#8211;<\/span><span class=\"crayon-i\">Indexes<\/span><\/div>\n<div id=\"crayon-59a3d674bb0b7931197503-3\" class=\"crayon-line\"><span class=\"crayon-o\">&lt;<\/span><span class=\"crayon-o\">\/<\/span><span class=\"crayon-i\">Directory<\/span><span class=\"crayon-o\">&gt;<\/span><\/div>\n<\/blockquote>\n<\/div>\n<p>3.Disable Unnecessary Modules<\/p>\n<p>4.Use mod_security<\/p>\n<p>5.Turn off Server Side Includes and CGI Execution<\/p>\n<p>6.Limit Request Size<\/p>\n<p>7.Use only TLS, Disable SSlv2, SSlV3, Disable ssl conpression<\/p>\n<p>add in webhost config file<\/p>\n<p>SSLProtocol TLSv1.2<br \/>\nSSLCompression off<\/p>\n<p>8.Disable Weak chipers<\/p>\n<p>add in webhost config file<\/p>\n<p>SSLOptions +StrictRequire<br \/>\nSSLCipherSuite &#8220;HIGH:!aNULL:!MD5:!3DES:!CAMELLIA:!AES128&#8221;<br \/>\nSSLHonorCipherOrder on<br \/>\nSSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!RSA+3DES:!aNULL:!MD5:!DSS:!SSLv2:!3DES:!ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tips 1.Hide apache version and OS identitty vim \/etc\/httpd\/httpd.conf ServerSignature Off ServerTokens Prod 2.Disable directory listing webhost config file &lt;Directory \/var\/www\/@@@&gt; \u00a0\u00a0\u00a0\u00a0Options &#8211;Indexes &lt;\/Directory&gt; 3.Disable Unnecessary Modules 4.Use mod_security 5.Turn off Server Side Includes and CGI Execution 6.Limit Request Size 7.Use only TLS, Disable SSlv2, SSlV3, Disable ssl conpression add in webhost config file SSLProtocol &#8230;<\/p>\n<p><a href=\"https:\/\/d1m0.com\/?p=186\" class=\"more-link\">Continue reading &lsquo;Securing web servers.&rsquo; &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-186","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/d1m0.com\/index.php?rest_route=\/wp\/v2\/posts\/186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/d1m0.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/d1m0.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/d1m0.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/d1m0.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=186"}],"version-history":[{"count":4,"href":"https:\/\/d1m0.com\/index.php?rest_route=\/wp\/v2\/posts\/186\/revisions"}],"predecessor-version":[{"id":230,"href":"https:\/\/d1m0.com\/index.php?rest_route=\/wp\/v2\/posts\/186\/revisions\/230"}],"wp:attachment":[{"href":"https:\/\/d1m0.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/d1m0.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/d1m0.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}