Mohnish Khiani wrote:I have made a web site with the help of JSP and servlets.This apllication also makes use of a database to store data.I wish to host it online.My problem is that when i host it on the net the application should be highly secure.....i have no idea about how to go about it....from where do i begin and what all do i need to do to make my website secure.
Your question is too abstract. You can implement security in different ways. Read Implementing security in JEE web applications..
.i want to secure the data exchange between the application and the database
Is your application is deployed remotely to the database or you meant the data transfer between a client like browser and the application?
and i also want the database alone to also be secure....
Generally database access is protected by username/password and additionally some firewalls etc.. for network access.