PDA

View Full Version : How do you encrypt javascript files?


michaelw
12-23-2000, 04:48 PM
anyone know?

Hustler1
12-23-2000, 05:42 PM
i don't think there is really a very secure of a way to hide java scripts the only way i can think of is probably run the java script that disables you to right click on the screen but there is always a way around any of those things...

-carlos
http://www.clicksrus.com paying .004 raw exit imp

nick
12-23-2000, 06:21 PM
you can sign it with netscape, which seems like brain surgery to me.
Or you can convert the ACSII characters which makes it 3 times bigger.

michaelw
12-23-2000, 07:05 PM
how would i convert to ascii?? Also, Im looking for a program that encrypts class files

Jer
12-23-2000, 07:05 PM
yeah, the only way I know is converting to ASCII characters as nick said. But someone with a bit of experience will desencrypt easily.

Muff
12-23-2000, 07:17 PM
try http://www.1javastreet.com they may have a code there.

Hey Jer
Can you ICQ me I have an spanish question. http://adultwebmasterinfo.com/ubb/biggrin.gif

Muff
92044377

Coke
12-23-2000, 07:41 PM
Hm don't you speak Portuguese in Brazil? http://adultwebmasterinfo.com/ubb/biggrin.gif

Muff
12-23-2000, 07:46 PM
Im guessing your right coke. But he also Understands spanish in brazil. http://adultwebmasterinfo.com/ubb/biggrin.gif

Muff

Jer
12-23-2000, 08:37 PM
yes, Coke, you're right, we speak portuguese in Brazil http://adultwebmasterinfo.com/ubb/smile.gif But spanish rocks http://adultwebmasterinfo.com/ubb/smile.gif

richard
12-23-2000, 08:52 PM
try this for size:

<script src=/some/dir/file.js></script>

then in that directory, configure apache to only allow requests to come from the domain name.

All code is imported into the page, but cannot be seen in the src.

If a user goes to download the .js file, then apache should block them.

Perhaps block it based on your servers IP - its very muich harder to fake an IP address than a domain name/ referer.

http://adultwebmasterinfo.com/ubb/wink.gif

piece of piss mate

http://adultwebmasterinfo.com/ubb/biggrin.gif

Rich

michaelw
12-23-2000, 09:01 PM
thanks - thatll have to do for now.. but I know you can encrypt java - look at this, try downloading it, and viewing it in notepad
http://www.westwood.ea.com/games/ccuniverse/redalert2/english/fskdata/Typewriter9.class