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