I want encrypt javascript code in web page, however, browser need fully
recognize it.. There any many Javascript Obfuscators in the Net. Is
there some good and handy utility(or script) among them that can be
recommended?(fr eeware) 20 2154 ko****@hotmail. com wrote: I want encrypt javascript code in web page, however, browser need fully recognize it..
AFAIK, encryption (if that is what you mean) is not realistically
possible client side. After all the client needs the key as well to be
able to decrypt and run the code.
Obfuscators are different to encryption. Obfuscators do not encrypt,
they just make it harder to read.
There any many Javascript Obfuscators in the Net. Is there some good and handy utility(or script) among them that can be recommended?(fr eeware)
If you just search this newsgroup on the word "obfuscator ", you will
find that plenty of people have asked this, and received plenty of
answers.
Also search under terms relating to compression or minimising the size
of JavaScript files.
You will find that obfuscators tend to be frowned upon, although
opinion does vary (as is the way with opinion). One common reason is
that if the script is that valuable, it is better to keep it on the
server.
If optimisation of file size is your aim, then you could look at
<URL:http://dean.edwards.na me/packer/>
Regards
Julian Turner
Julian Turner писал(а): ko****@hotmail. com wrote:
I want encrypt javascript code in web page, however, browser need fully recognize it.. AFAIK, encryption (if that is what you mean) is not realistically possible client side. After all the client needs the key as well to be able to decrypt and run the code.
Obfuscators are different to encryption. Obfuscators do not encrypt, they just make it harder to read.
There any many Javascript Obfuscators in the Net. Is there some good and handy utility(or script) among them that can be recommended?(fr eeware)
If you just search this newsgroup on the word "obfuscator ", you will find that plenty of people have asked this, and received plenty of answers.
Also search under terms relating to compression or minimising the size of JavaScript files.
You will find that obfuscators tend to be frowned upon, although opinion does vary (as is the way with opinion). One common reason is that if the script is that valuable, it is better to keep it on the server.
If optimisation of file size is your aim, then you could look at <URL:http://dean.edwards.na me/packer/>
Regards
Julian Turner
----------
No, the purpose if obfuscate code(just make it harder to read), not
size optimisation.
AFAIK, encryption (if that is what you mean) is not realistically possible client side. After all the client needs the key as well to be able to decrypt and run the code.
There is a obfuscator that can encrypt and decrypt: http://javascript.about.com/library/blenc.htm
Thanks. ko****@hotmail. com wrote:
[snip] There is a obfuscator that can encrypt and decrypt: http://javascript.about.com/library/blenc.htm
Thanks.
[/snip]
Hmm, but I would think twice before using is. The following are quotes
from that page:-
<quote>Actually , the encryption of a page makes no difference at all to
how easily it can be stolen by knowledgeable thieves who can easily
bypass the encryption in seconds using nothing more than a web
browser</quote>
<quote>Please note that any web pages encrypted using this script (or
any encryption program that you purchase) can be easily decrypted in
under 30 seconds by anyone who knows how so don't blame us if
encrypting your page encourages its theft rather than stopping
it.</quote>
Regards
Julian Turner
"Julian Turner" <ju****@baconbu tty.com> writes: Hmm, but I would think twice before using is. The following are quotes from that page:-
[protection can be broken]
That's actually refreshing honesty from someone making an obfuscator.
If I needed on (and I can't imagine for what), it would be one that
I would consider.
/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'
I purchased Jasob 1.8 from http://www.jasob.com and it works
excellently. It removes the comments and spaces and substitutes
letters for variables and function names. Since I write engineering
programs that have many long winded variable and function names to make
it easier to program, the obfuscation does an excellent job in reducing
size and making the program virtually unreadable. While many may be
able to extract the code, few will be able to determine what the heck
is going on with all the variable substitutions and no comments. It is
hard enough for me to write the code with the comments and long
variable names.
Lasse Reichstein Nielsen wrote: That's actually refreshing honesty from someone making an obfuscator. If I needed on (and I can't imagine for what), it would be one that I would consider.
Thats true enough. Didn't mean to criticise the author as such. I
have come accross the author - Felgall, I think - in the
Webdeveloper.co m forums, and (not that I have any right to judge) he
seemed very geniune.
Regards
Julian Turner
> Lasse Reichstein Nielsen wrote: That's actually refreshing honesty from someone making an obfuscator. If I needed on (and I can't imagine for what), it would be one that I would consider.
Thats true enough. Didn't mean to criticise the author as such. I have come accross the author - Felgall, I think - in the Webdeveloper.co m forums, and (not that I have any right to judge) he seemed very geniune.
Regards
Julian Turner
-------
I tried few online javascript obfuscators, all of them generate fully
'garbage' obfuscated code, but no any javascripts work anymore..
Browser not recognize it.. el*********@ele ctrician.com said the following on 4/4/2006 12:56 PM: I purchased Jasob 1.8 from http://www.jasob.com and it works excellently.
Then you really are as stupid as you seem.
It removes the comments and spaces and substitutes letters for variables and function names.
JSMin is free.....
Since I write engineering programs that have many long winded variable and function names to make it easier to program, the obfuscation does an excellent job in reducing size and making the program virtually unreadable.
And you paid for a program to make what you write unreadable? It was
wasted money as 99.999999999999 99999999% of what you write is unreadable
anyway.
While many may be able to extract the code, few will be able to determine what the heck is going on with all the variable substitutions and no comments.
You don't need the comments and lack of white space to make your code
worthless - it is already worthless.
It is hard enough for me to write the code with the comments and long variable names.
Then learn to program and it becomes easy.
--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
<You don't need the comments and lack of white space to make your code
worthless - it is already worthless.>
Ahh chucks, Randy, we can't all be as smart as you. I think Jason
needed and deserved the $99 and I enjovyed paying him. He did a hell
of a job, in my opinion. Besides it is a tax write off, and do I ever
need tax write offs. Too many people give away programs on the
Internet, when people like myself are perfectly willing to pay for
them. It is all about marketing and making money. Do you have
anything for sale, or are you just another Net Whore that gives it all
away? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Mr. x |
last post by:
Hello,
Can I make my java script code be invisible to other people who enter into
my site by IE browser ? - How ?
Thanks :)
|
by: Pjotr Wedersteers |
last post by:
I am new to J(ava)Script, use PHP a lot and consider moving some stuff for a
project over to the client side. Problem is part of the PHP code is
copyrighted and the author would not be happy to see his work made available
to the world. Guess he is entitled to that opinion.
Is it possible to hide javascript and/or html data from the user or is the
only way to make it hard to get by obscuring it through removing
indentation, variable...
|
by: Matt Kruse |
last post by:
I am far from a PHP expert, and I've been struggling to create a function
which will take a javascript .js file and "compact" it as much as possible.
Meaning, remove all comments and unnecessary whitespace. "Obfuscation" is
not necessary. Obviously, the compacted javascript should run identically to
the original javascript.
Can anyone point me to an existing function that does this?
Thanks!
|
by: Pete Davis |
last post by:
This isn't directly a C# question, so I apologize for being somewhat off
topic, but we have a project that is open source. When we release, the
actual release builds will be obfuscated using string encryption. This is
necessary because a non-open source component will include some encryption
code.
My question is, does anyone have any experience with obfuscators using
string encryption, and more importantly, because this is open source,...
|
by: Luke Matuszewski |
last post by:
Hi,
Can anyone point me for some JavaScript Obfuscators ? I know one
written by Dean Edwards (but it do not substitute variable names, which
a would like to do).
B.R.
Luke Matuszewski
| |
by: Eric Renken |
last post by:
So I have a question we are looking at obfuscators. I am trying to push for
dotfuscator from www.preemptive.com, but management is thinking about
xenocode from www.xenocode.com. Has anyone used these applications? I am
looking for a comparison or pluses minuses of either. I really don't have a
preference, but I want to chose the right piece of software to protect our
code.
Eric Renken
|
by: mistral |
last post by:
Neeed good javascript unescape encoder, to protect javascript code.
Some advices? Online tool, or ready javascript only.
Any opinions about the Javascript Obfuscator:
http://www.javascript-source.com/
|
by: =?iso-8859-1?q?Martin_M=FCcke?= |
last post by:
Hi,
I am looking for a good javascript obfuscator - I found several on the
web, but I am looking for one that can also handle javascript in jsp,
html and java files - so I need a javascript obfuscator that handles
my entire web project.
Is there anything like that, preferable as a Eclipse plugin?
Thanks,
|
by: FAQ server |
last post by:
-----------------------------------------------------------------------
FAQ Topic - How do I protect my javascript code?
-----------------------------------------------------------------------
With clientside Javascript you can't as your code is distributed
in source form and is easily readable. With JScript, there is the
Script Encoder (see MSDN), but this is nothing more than obfuscation.
Disabling the right mouse button also does...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |