The JS file will still be called and rendered to the browser.
Thus one can find the JS in the Temporary Internet Files
directory.

So hiding the JS you can not do that I am aware of, but 
you can make it when they have to go find it by using
the SRC 

>>> [EMAIL PROTECTED] 04/03/03 01:53PM >>>
I'm not sure of the correctness of the following advice, but I kind of
remember reading about something like this.

If you use the src property of the <script> tag, the JavaScript does
not
show up in the HTML output of the file.  This, I know, works; so you
can at
least make them have to go looking for the JavaScript file directly. 
The
part I'm not sure about is, that it maybe possible to put the
javascript.js
file in a non-web directory.  If you do this, then I think that it is
not
easy to download the file directly.

Let me know if this works?

--------------
Ian Skinner
Web Programmer
BloodSource
Sacramento, CA


-----Original Message-----
From: DESIGN SHOP [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 29, 2003 5:42 PM
To: CF-Talk
Subject: Hiding Javascript codes


Hi all!,
This may be a very dumb question.
Is there any way at all to hide/encrypt Client side Javascript codes.
We have a situation where we have to use certain client  side
Javascript
codes which we wish to hide in the source code for security reasons.
Any ideas??

Thanks in advance....


Ben Thomas
Uncertified & Dangerous
Digital Internet Ltd.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to