How to maintain security in servlets?

Answers were Sorted based on User's Feedback



How to maintain security in servlets?..

Answer / ravikiran(aptech mumbai)

By Adding a tag known as <security-constraint> in web.xml

Is This Answer Correct ?    5 Yes 0 No

How to maintain security in servlets?..

Answer / rambabu gonela

Servlet security issues:

1. Authentication
2. Authorization
3. Confidentiality
4. Data Integrity
All of the implementation details of the security will be
taken care by the container or vendor specific security
packages.DD can be used to declare the component based
security level and their access to deferent roles

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More Servlets Interview Questions

What is the need of servlet filters?

0 Answers  


What is a generic servlet?

0 Answers  


What is the major difference between context parameter and context attribute?

0 Answers  


Is JSP Thread Safe ???? How To make JSP thrad safe ?????

6 Answers   Cognizant,


can we override service method in my servlet class..?? if yes or no why ??

7 Answers   IBM,






What are cookies and how will you use them?

3 Answers  


What is servlet and how it works?

0 Answers  


what is servlet and what you get when we use servlets?

7 Answers   GGK Tech, Satyam,


what are binding listners?

1 Answers  


Difference between jakarta tomcat and apache Tomcat?

4 Answers   IBM,


How do you invoke a Servlet? What is the difference between doPost method and doGet method?

0 Answers  


How do you deal property files in servlet?

0 Answers  


Categories