Then you're doomed.  Basically the Browser has to download the code in a
readable form, that's the way JavaScript is.  There are ways to make it
harder to get at, but most people who would actually care to see your code
know how to defeat them easily.  About the best you can do is put copyright
notices in your code to let people know that they're violating the law if
they steal your code.
    (*Chris*)

----- Original Message -----
From: "Miao, Franco CAWS:EX" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 2001 2:50 PM
Subject: Re: [JSP-INTEREST] hide JavaScript ?


> i agree your intention, but you should realize business production
eniroment
> is totally different ball game from open source development, we should
> discuss both code develpement and code security issue here. Simplely say
if
> you might get fired by let people see your code in brower, who will like
to
> hire you since your development is so unsecure? Also how to enhance
security
> in code- base also is very important topic to all developer. am I right?
>
> Actually I did what you recommend, but no luck. I know you tried to say
> server side scripting, but got error message.
>
> Franco
>
> -----Original Message-----
> From: Syed Rehman [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 25, 2001 2:36 PM
> To: [EMAIL PROTECTED]
> Subject: Re: hide JavaScript ?
>
>
> Hello All:
>
> Since this is a discussion group I will start this thread.
>
> One of the advantages of an open development environment is the sharing
and
> re-use of code. And you never know, someone might even be able to
"enhance"
> a piece of code you have written.
>
> Maybe we should all concentrate more on writing concise, functional code
and
> spend less time worrying about who might be able to see it and learn from
> it.
>
> Now, to answer your question Franco, if you make the extension of your
> include files .asp/.jsp instead of .js the browser will not allow anyone
to
> download your file. But I recommend against using this "trick" to hide
> javascript code.
>
> Syed
>
>
> -----Original Message-----
> From: Miao, Franco CAWS:EX [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 25, 2001 4:22 PM
> To: [EMAIL PROTECTED]
> Subject: hide JavaScript ?
>
>
> How to hide JavaScript, disallow people see the source code with Brower's
> source manus?
>
> Franco
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to