JavaScript protection


  • Dadman with a boy
  • Posts: 16,078
JavaScript protection
« on May 7th, 2011, 01:03 PM »
Feature: JavaScript protection
Developer: Nao
Target: modders, geeks
Status: 100% (complete.)

Sometimes, a developer will be very protective of their code. We understand that. JavaScript code, unfortunately, is by nature in plain view. Wedge offers an option to obfuscate JavaScript filenames, making it harder (if not impossible) to find the original unminified file with comments. And even if someone did... Well, there's now a nice little .htaccess file in the script folder that prevents directly access to the original files. We didn't try to encrypt JS data in the cached file because, let's be clear, it can still be decrypted easily through a JS debugger. We're not making it impossible to get the JS source code -- only more annoying.