GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE  >  JSP
Go To First  |  Previous Question  |  Next Question 
 JSP  |  Question 305 of 308    Print  
How we will provide security in jsp's & servlets ?

  
Total Answers and Comments: 2 Last Update: March 04, 2009     Asked by: seshkanth.d 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 16, 2008 09:41:12   #1  
kiran.kandem Member Since: November 2008   Contribution: 1    

RE: How we will provide security in jsp's & servlets ?
We can provide security in JSP's and Servlets keeping the source files in WEB-INF folder.
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 2Overall Rating: -2    
March 02, 2009 01:25:38   #2  
talktoudaykumar Member Since: May 2008   Contribution: 2    

RE: How we will provide security in jsp's & servlets ?

One of the reasons people will use servlets is security.

We can provide security in servlets in two ways
1.Declaratively
2.Programatically

Using this security features we can guarantee these
security items
1.Authenitcation

2.Authorization

3.Data integrity

4.Data confidentiality.

In web.xml we an define which resources are to be constrained and which http methods are constarined and how to guarantee the data transmission
security.


 
Is this answer useful? Yes | No

 Related Questions

Yes. Preemptive termination of request processing on an error condition is a good way to maximize the throughput of a high-volume JSP engine. The trick (asuming Java is your scripting language) is to use 
Latest Answer : How do I have the JSP-generated servlet subclass my own custom servlet class, instead of the default? One should be very careful when having JSP pages extend custom servlet classes as opposed to the default one generated by the JSP engine. In doing ...

Yes. However, unlike servlets, you are not required to implement HTTP-protocol specific methods like doGet() or doPost() within your JSP page. You can obtain the data for the FORM input elements via the 

GenericServlet is for servlets that might not use HTTP, like for instance FTP service.As of only Http is implemented completely in HttpServlet. The GenericServlet has a service() method that gets called 

Both are interfaces. The servlet engine implements the ServletConfig interface in order to pass configuration information to a servlet. The server passes an object that implements the ServletConfig interface 
Latest Answer : Servlet Config 1, Servlet config are one per servlet, 2, It's inside the servlet, it wont accessible to outside the servlet. ex: Servlet ...

Yes, you can invoke the JSP error page and pass the exception object to it from within a servlet. The trick is to create a request dispatcher for the JSP error page, and pass the exception object as a 

Information such as the names of the parameters passed in by the client, the protocol (scheme) being used by the client, and the names of the remote host that made the request and the server that received 

Servlets are modules that extend request/response-oriented servers, such as Java-enabled web servers. For example, a servlet may be responsible for taking data in an HTML order-entry form and applying 

A servlet can handle multiple requests concurrently, and can synchronize requests. This allows servlets to support systems such as on-line conferencing. Servlets can forward requests to other servers and 

GenericServlet is for servlets that might not use HTTP, like for instance FTP service.As of only Http is implemented completely in HttpServlet. The GenericServlet has a service() method that gets called 

Both are interfaces. The servlet engine implements the ServletConfig interface in order to pass configuration information to a servlet. The server passes an object that implements the ServletConfig interface 


 Sponsored Links

 
Related Articles

Security enhancements in SQL Server 2005

The trustworthy computing initiative has contributed greatly to help microsoft improve customer experience. A number of customer needs on security have been addressed. 1. Restricting user access to sql server 2. Disabling services and restricting service configuration 3. Reducing the surface are aof
 

ITIL Security Management

What is ITIL Security Management? The process of ITIL Security Management describes the structure model of security in the management organization. It is based on the Code of Practice for Information Security Management that is also often known as ISO/IEC 17799. Security Management is basically inf
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Effective Controls for Attaining Continuous Application Security

Effective Controls for Attaining Continuous Application Security Throughout the Web Application Development Life Cycle Given the choice, every organization would want secure Web sites and applications from the Web application development phase all the way through the software development life cycle.
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Top 10 Application Security Vulnerabilities in Web.config Files - Part One

These days, the biggest threat to an network security comes from its public Web site and the Web-based applications found there. Unlike internal-only network services such as databases-which can be sealed off from the outside via firewalls-a public Web site is generally accessible to anyone who wan
 

Top 10 Application Security Vulnerabilities in Web.config Files - Part Two

Some of the most common and dangerous application security vulnerabilities that exist in ASP.NET Web-based applications come not from the C# or VB.NET code that make up its pages and service methods, but instead from the XML code that makes up its Web.config files. Incorrect configurations can open
 

Security and IT Certification

Learning about different types of IT Certification is the first step to becoming successful with different types of technology. IT Certification is first divided into different groups.  Each of these groups will have certain focuses in relation to technology and how it can be used.&nbsp
 

XML Security

XML Security Documents can be secured using XML now When data is released to the web it becomes free for all and is available everywhere and it is literally omnipresent How do you secure and safeguard something which is so widely spread Security issues for XML documents has now reached climax becaus
 

Client-Server Security

Client Server Security Why Client Server Environments are so Popular Client server environments are popular because they increase application processing efficiency while reducing costs and gaining the maximum benefit from all resources working together These benefits are gained by splitting processi
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape