How to shield your JavaScript

December 21st, 2012 by Leave a reply »

Protect java script

Okay, therefore your drawback is that you simply are developing in one in all several internet development languages like PHP, JSP, or ASP.NET and you\’re keen on that indisputable fact that your code can not be taken, however you hate the very fact that your javascript are often taken.

First, i will be able to tell that so as for your javascript to be run, it\’s to be downloaded by the client! however else will they run it on their screen!

Let\’s name however others square measure able to read your javascript. First, they will easy read the supply of your webpage and presto! there\’s your inline javascript, naked and embarrassed. So you say, let Pine Tree State place it in a very separate file, which will show them. All they have to try to to is kind within the name of that file at the top of your uniform resource locator and that they have your javascript. Trust me, I even have done it.

Maybe there\’s some way to prevent them from viewing the supply. you may build your page pop-up in a very window with no menus or something, which will stop them. Wrong! In firefox all you would like to try to to is press f11 to induce your menus back or just press ctrl+u to induce the supply directly.

But what if you may block these key presses? Then they could not have the menu or press ctrl+u to look at the supply. Wrong! If they\’re viewing your website on their laptop, which means that\’s has been downloaded to their laptop.

You must perceive however an internet browser works. it\’s two parts, a downloader and a renderer. The downloader connects to the online server and downloads the hypertext mark-up language then the photographs then no matter else has to be downloading, together with the javascript into a short lived place on your disc drive. Then the renderer renders the page victimization the browsers \”render\” engine and shows you what that page is. therefore however are you able to read an internet website while not it being on your onerous drive? You can\’t!!!

What will we tend to do?

The most effective resolution is not any javascript. Wait that does not work. Sorry, drugs. you\’ll use associate degree obfuscation tool. If you would like associate degree example visit dhteumeuleu.com. He has the most effective javascripts I even have ever seen, however {they square measure|they\’re} completely unclear as a result of all the variables are one letter long. it isn\’t not possible however terribly onerous to browse.

In summary, is there some way to prevent anyone from obtaining your javascript? not whereas permitting them to run it.

Incoming search terms:

Bookmark and Share
Advertisement

Comments are closed.

Recipe From Restaurant - Hot Jessica Biel - One Way Links - Recipes - Santander Forbrukslån