{"id":742,"date":"2010-05-19T09:06:50","date_gmt":"2010-05-19T16:06:50","guid":{"rendered":"http:\/\/www.ait-pro.com\/aitpro-blog\/?p=742"},"modified":"2010-09-30T00:58:27","modified_gmt":"2010-09-30T07:58:27","slug":"bulletproof-security-for-html-websites-htaccess-security-for-html-websites","status":"publish","type":"post","link":"https:\/\/www.ait-pro.com\/aitpro-blog\/742\/misc-projects\/bulletproof-security-for-html-websites\/bulletproof-security-for-html-websites-htaccess-security-for-html-websites\/","title":{"rendered":"BulletProof Security for HTML Websites &#8211; htaccess security for html websites"},"content":{"rendered":"<p>I had a client that was using WordPress on GoDaddy and had an HTML website on GoDaddy.\u00a0 Both websites were hacked several times a couple of months ago.\u00a0 This prompted me to create an .htaccess security solution for my client and other GoDaddy clients and my own websites hosted on GoDaddy.\u00a0 I created a WordPress plugin called BulletProof Security.\u00a0 It uses an .htaccess security file that filters out XSS and SQL injection attack code.\u00a0 Yep it blocks base64_encode script injections.\u00a0 \ud83d\ude09\u00a0 I am very happy to report that it has now been over\u00a06 months and none of the websites that are using my BulletProof Security WordPress plugin have been hacked.\u00a0 My BulletProof Security WordPress plugin is easily adapted for HTML websites.\u00a0 I am in the process of creating a pre-made html version for regular folks who are not coders.\u00a0 For anyone interested in immediate security protection for your HTML website on GoDaddy do a Google search for &#8220;BulletProof Security WordPress plugin&#8221; and you will find my WordPress plugin in the WordPress plugin repository.\u00a0 For now HTML users can download the PHP WordPress plugin from the WordPress repository and just use the secure.htaccess file that is included with my plugin.<\/p>\n<p>\u00a0All that is needed to use this secure .htaccess file on an HTML website is to edit and change the RewriteRule . \/index.php [L] line of code in the secure.htaccess file to RewriteRule . \/index.html [L].\u00a0 This is of course assuming that your home page is index.html.\u00a0 If your home page is named something else than that would be the home page file name you would use instead.\u00a0 Example:\u00a0 www.yourwebsitename.com\/home.html.\u00a0\u00a0 Once you have made the edit \/ modification to the secure.htaccess file then just name the file to .htaccess (removing secure from secure.htaccess) and upload the .htaccess file to your website domain root folder.\u00a0 If you have a website in another folder other than the domain root folder (a subfolder ie http:\/\/www.yourwebsitename.com\/anotherfolder\/) the same file path modifications required for WordPress use applies to HTML website use.\u00a0 You need to add your subfolder name to\u00a0these lines of code in the secure.htaccess file:\u00a0\u00a0<span style=\"font-size: x-small;\">RewriteBase \/anotherfolder\/ and for the RewriteRule:\u00a0\u00a0<\/span><span style=\"font-size: x-small;\">RewriteRule . \/anotherfolder\/index.html [L]<\/span><\/p>\n<p><p>The HTML version of\u00a0the BulletProof plugin will eventually have a nice GUI interface\u00a0like\u00a0WordPress plugin.\u00a0 I don&#8217;t have a whole lot of extra time\u00a0these days.\u00a0 Someday I&#8217;ll get back to this project.<\/p>\n<p>This is a rush post.\u00a0 I will fill it out with more detail later when I have more time.\u00a0 Add comments if you need clarification or help.\u00a0 Thanks.<\/p>\n<\/p>\n<p><br class=\"spacer_\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had a client that was using WordPress on GoDaddy and had an HTML website on GoDaddy.\u00a0 Both websites were hacked several times a couple of months ago.\u00a0 This prompted me to create an .htaccess security solution for my client and other GoDaddy clients and my own websites hosted on GoDaddy.\u00a0 I created a WordPress [&hellip;]<\/p>\n","protected":false},"author":167,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[141],"tags":[143,142],"class_list":["post-742","post","type-post","status-publish","format-standard","hentry","category-bulletproof-security-for-html-websites","tag-bulletproof-security-for-html","tag-website-security-for-html-websites"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-json\/wp\/v2\/posts\/742","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-json\/wp\/v2\/users\/167"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-json\/wp\/v2\/comments?post=742"}],"version-history":[{"count":0,"href":"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-json\/wp\/v2\/posts\/742\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-json\/wp\/v2\/media?parent=742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-json\/wp\/v2\/categories?post=742"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-json\/wp\/v2\/tags?post=742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}