• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Website Security

 
Mohnish Khiani
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Kumar Raja
Ranch Hand
Posts: 547
2
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


Hi Mohnish,


Your question is too abstract. You can implement security in different ways. Read Implementing security in JEE web applications..
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34214
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first step is requirements. How do you want to secure it? User id/password? 2 factor authentication? Do you have different roles? What do you need each to do?
 
Mohnish Khiani
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The application is similar to a social networking site.....so it has a database which contains the details of all users...i want to secure the data exchange between the application and the database and i also want the database alone to also be secure....what do i need to do for this?
 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
.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.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The best option for you to go is using JAAS , for providing authorization and Authentication to your website .

Thanks .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic