Reply to topic
Javascript Code Theft
cheryl


Joined: 17 Apr 2004
Posts: 84
Location: Newark, DE
Reply with quote
While searching around on the web, I came across an interesting tool that prevents people from taking javascript code off your page: http://www.javascript-source.com/javascript-obfuscator.html
Has anyone ever used something like this?
bobum
Elvis Fanatic
Elvis Fanatic

Joined: 16 Nov 2004
Posts: 746
Location: Montgomery, AL
Reply with quote
Actually - I've not used it, but I've seen it in action. It doesn't REALLY prevent script theft...just makes the code you DO steal a little tougher to understand. Any programmer worth his salt though can just bring it into a text editor and un-obfuscate it.

Not that I've EVER done that before...it's just an observation...that's all...I swear...
loftboy
Forum Regular

Joined: 24 Jun 2004
Posts: 1129
Location: Colorado
Reply with quote
why would you want to do that anyways?
bobum
Elvis Fanatic
Elvis Fanatic

Joined: 16 Nov 2004
Posts: 746
Location: Montgomery, AL
Reply with quote
Steal code or obfuscate it?
loftboy
Forum Regular

Joined: 24 Jun 2004
Posts: 1129
Location: Colorado
Reply with quote
hide it
bobum
Elvis Fanatic
Elvis Fanatic

Joined: 16 Nov 2004
Posts: 746
Location: Montgomery, AL
Reply with quote
I saw it used by a company that was making DHTML menus and as such their underlying logic was going to be exposed. In an effort to protect their IP, they obfuscated the output that their app produced and you would copy into your webpage.

That's one example.
bobum
Elvis Fanatic
Elvis Fanatic

Joined: 16 Nov 2004
Posts: 746
Location: Montgomery, AL
Reply with quote
Oh and before you ask - IP in this instance means "Intellectual Property"
loftboy
Forum Regular

Joined: 24 Jun 2004
Posts: 1129
Location: Colorado
Reply with quote
they might as well try and stop someone from trying to steal their pix with a no right click script, if someone wants it, they will get it.
IMO, its a waste of time and if it's that important then do it in flash and "lock" the movie or call in the data so it can't be broken down.
bobum
Elvis Fanatic
Elvis Fanatic

Joined: 16 Nov 2004
Posts: 746
Location: Montgomery, AL
Reply with quote
If they did it in Flash then it wouldn't be a DHTML menu now would it?
loftboy
Forum Regular

Joined: 24 Jun 2004
Posts: 1129
Location: Colorado
Reply with quote
no it wouldnt but if it was that important then you shouldnt use script that is viewable now should you?
bobum
Elvis Fanatic
Elvis Fanatic

Joined: 16 Nov 2004
Posts: 746
Location: Montgomery, AL
Reply with quote
How else would you make a DHTML menu without visible script?
That is what the app was for - making DHTML menus...
loftboy
Forum Regular

Joined: 24 Jun 2004
Posts: 1129
Location: Colorado
Reply with quote
oh, lol did u mention that before?
Still if it was that important do it in a ss or you could do it in flash.
bobum
Elvis Fanatic
Elvis Fanatic

Joined: 16 Nov 2004
Posts: 746
Location: Montgomery, AL
Reply with quote
I don't think you are grasping what I am saying...
It's not important to the person who bought & used the product - it was important to the people who programmed it.

I'm Joe Schmuck and I want a pretty DHTML menu for my webpage - but I have no idea how to program Javascript. So I see this app that will make them for me! I buy the app - create my menu and it spits out this gibbersih for me to paste into my page. Low and behold when I paste it in - THERE IS MY PRETTY DHTML MENU!!!

Joe doesn't care about the security of his code, all he knows is that it had to be DHTML, not Flash, not K()7d Fuzhen...DHTML...but the people who made the app Joe used certainly care about others stealing their hard earned code. You may not like it if I went to one of your Flash sites and decompiled the ActionScript out of it so that I could use your effects on my site without buying your super uber plugin right?
loftboy
Forum Regular

Joined: 24 Jun 2004
Posts: 1129
Location: Colorado
Reply with quote
ok so that stops the less than half witted ppl who arent smart enough to go to google and search for "encode javascript"

and looky what we get

HTML & JavaScript Encoder/Decoder
... Javascript Encoder - Designed to encode Javascript only. Useful to only encode and install a script in an already created HTML page. ...
scriptasylum.com/tutorials/encdec/encode-decode.html - 20k - Cached - Similar pages

Javascript Encoder
... This script will encode javascript to make it more difficult for people to read and/or steal. Just follow the directions below. ...
scriptasylum.com/tutorials/ encdec/javascript_encoder.html - 5k - Cached - Similar pages

How to Encode URLs; An ASCII to URLEncoded JavaScript
... Submit a form by selecting a dropdown item; How to Encode URLs / An ASCII to URLEncoded JavaScript; Checkbox Validator; onunload + window.open = evil ...
lab.artlung.com/scripting/urlencode/ - 14k - Cached - Similar pages

The JavaScript Source: Forms: Encode Special Characters
... When submitting the form "GET" method, JavaScript can encode special characters with the escape() function. Great! (Enter a nickname or password with ...
javascript.internet.com/ forms/encode-special-characters.html - 22k - Cached - Similar pages

JavaScript Encoder download page. JavaScript Encoder by Versaulis ...
Javascript Encoder will encode your HTML pages with javascript, which will cover up your source code. This can save you a lot of money on server usage, ...
www.sharewareorder.com/ JavaScript-Encoder-download-15816.htm - 22k - Cached - Similar pages

JavaScript Obfuscator - obfuscate (make unreadable) and encode ...
Stunnix JavaScript Obfuscator - the advanced obfuscator and encoder for JavaScript source code in pure .js files, as well as in the HTML and ASP files with ...
www.stunnix.com/prod/jo/overview.shtml - 32k - Apr 27, 2005 - Cached - Similar pages



so they it takes another 5 minutes to decode it, whoo hoo

btw mr flash wizard~ you can pw lock a swf or you can "stream in" data, code, photos, whatever that cant be down loaded or decompiled, or make it viewable only if its residing on a certain domain, meaning that if you download it, it wont run and will be blank.

and yes i get what you are saying but it's also 2005 and there are better ways of doing it.

it would be better for them to write reg code and use "special" words as variables and google those words and check the results again registered websites and go after those that steal the code, which is pretty dumb in itself but better than what they are doing.
bobum
Elvis Fanatic
Elvis Fanatic

Joined: 16 Nov 2004
Posts: 746
Location: Montgomery, AL
Reply with quote
loftboy wrote:
btw mr flash wizard~ you can pw lock a swf or you can "stream in" data, code, photos, whatever that cant be down loaded or decompiled, or make it viewable only if its residing on a certain domain, meaning that if you download it, it wont run and will be blank.


See - you are doing the same thing they are doing...obfuscating your code...so you DO get it...finally.
Javascript Code Theft
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 2  

  
  
 Reply to topic