File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes URGENT - NEED HELP - Block Code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "URGENT - NEED HELP - Block Code" Watch "URGENT - NEED HELP - Block Code" New topic


Cristina Proenca

Joined: Oct 10, 2002
Posts: 12
Hello Everybody,
I would like to ask if it is possible for me to block the acess to my html code.
For instance, if someone in the Internet Explorer goes to the " View Menu " �� "View Source", the person is not able to view the html code.
It is very important and very urgent for me to hide my code, if someone could help me....

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Can not be done
liang gu
Ranch Hand

Joined: Nov 05, 2001
Posts: 89
Is it possible to generate HTML using a JavaScript and then do some tricks so that the user can not easily access/read that javascript? For example, mangling the javascript code, change variable/function names to non human readable, and yet the javascript still functions correctly.
I know a smart programmer can still get your HTML code, but it can block many average users.
I agree. Here's the link:
subject: URGENT - NEED HELP - Block Code
It's not a secret anymore!