standalone codeblocker

For HTML  |  Demo  |  Download

 

What does it do?

Yes another code protection i made similar to previous JOOMLA 5 plugin i build  but more standalone for non-Joomla platform. You can add normally on website by paste 2x essential file to protect your HTML codes.  This 2x simple files protect your HTML source code from being viewed on the browser.  You can copy the files inside this folder (.htaccess and html_protector.php) into any custom folder on your web server, make sure your HTML files sit in the same folder where these component placed. This allows you to apply the minification, shortcut blocking, and obfuscation to plain, static .html files that exist on the same web folder.

 

Condition to make it works?

As long as your web host supports PHP and Apache .htaccess rewrites, you can drop those two files into any folder on any website. They will immediately start intercepting and protecting your .html files, and you can turn the features on or off by editing the true/false values at the top of html_protector.php.

 

* DEMO

When you click the "Demo"  it will redirect you to my other website that have this file installed. The file works by blocking your attempt to right click or block keyboard stroke that activate "View Page Source", "Inspection" and other means to reveal the source code of the front page HTML.