I have one common question related to Java/Servlet.
I have done one some functionality in my application , i want to make java/servlet code write protected or accessibility hidden or cannot alter by someone.
Any option in java to impletement this functionality.
At any rate you can make any file in your computer read-only, or whatever, by asking your operating system to apply those permissions to it. Why do you ask how to do that in Java?
Joined: Jul 05, 2010
What i mean is that java file/compiled class. Once class file is generated , there are several tools to revert bact to *.java.
Thats how the authenticity is broken.
I dont need to alter the content, that is the requirement.
With servlets, everything you put in the WEB-INF folder will not be accessible from browsers. That means that all classes in the WEB-INF/classes folder are only visible to anyone who has access to the server either directly, or through FTP, Windows shares, NFS etc - in other words, when it's possible to see the file system itself.