Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hiding Source Code

 
Nitin Dubey
Ranch Hand
Posts: 126
Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,
how do I hide the source code.
nitin
 
Anoop Krishnan
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai Nitin,
What source code ?Any way the surce codes of JSP,SERVLET will be hidden .Another thing you can hide is JAVASCRIPT
write your script in a text file save it with extension .js and add the following line in your html page
<SCRIPT src="../myscript.js"></SCRIPT>
The user can't see the script when he view the source of the page but if the user access your file directly with the url
like this http://www.yoursite.com/myscript.js he can download your script file
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic