• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Website Security

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 558
2
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Bartender
Posts: 4116
72
Mac TypeScript Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The best option for you to go is using JAAS , for providing authorization and Authentication to your website .

Thanks .
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic