I am developing an web application on java where i need to have kind of functionality that whenever any user try to view the source of the page or try to save entire page from filemenu -> save as option, user should not get javascript code nor should be able to get the css code.
Usually when done javascript code in separate .js file and css code in a .css file and including in page, when user tries to save page, all these entire (js, css,...) files are downloaded and user easily can see that.
In this case user easily can check all kind of validations performed in .js file. Here i have this major point to solve it.
Can anyone help me on this ???