What are the security issues in Servlets?
Answers were Sorted based on User's Feedback
Answer / bikash khuntia
1.Using Cookies is not secure for sending and recieving data
bcz everyone can view and modify the data in cookies
2.Using doGet() for sending user information to server
being visible in browser
| Is This Answer Correct ? | 57 Yes | 3 No |
Answer / akanksha agarwal
there are 2 type of applets-
*trusted
*untrusted
untrusted applets are constrained to operate in sand
box.they can not put the operations in user's machine which
are dangerous.this include reading and writing files.code
that are loaded from a remote machine is also untrusted.
trusted servers are those which are loaded from the local
machines.they are not dangerous for the system.
| Is This Answer Correct ? | 16 Yes | 4 No |
Hi Friends, Can we make any method thread safe withour synchronized keyword?
My Question is that i am using <image> tag in my servlet and after compilation after that calling by url in my browser then images are not showing. Sometime images are showing and sometime is not showing. I am using Tomcat to run my servlets. Tell me if there any specification for image in servlets or what is solution for this ??
Write a servlet to upload file on server.
What is the purpose of inter-servlet communication?
What is difference between Forward() and sendRedirect() methode?
What are the types of an http request?
Why is httpservlet declared abstract?
How values can be passed from HTML page to servlet?
What are the steps that are required to handle the multi-threading?
Can we write a constructor for a Servlet class ? if yes how ? if no why not ?
What is the default HttpRequest method?
How can we invoke another servlet in a different application?