This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
RaviNada Kiran wrote:Bauke Scholtz , thanks for the quick reply .
Regarding this, my doubt is that will this be not a security issue (what i mean is that if i write a servelt which will be responsible to destroy the folders /delete files on to others machines)??
Again, this "security issue" doesn't lie on JSP/Servlet, but just on the person who controls the files.
If I for instance expose my files via a public FTP with full read/write rights, then one could certainly write a java class which accesses it and deletes everything. If the FTP is not public and/or only allows read access, then the java class can't do anything. It just has the same possibilities as "in real". You've it in your hands.
Joined: Jan 30, 2009
Thanks Bear Bibeault and Bauke , this doubt has been in my mind for a long time