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
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

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

Reply via email to