File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes Web Security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Web Security" Watch "Web Security" New topic

Web Security

malek aftab

Joined: Jun 04, 2006
Posts: 12
Dear all,

I have some problems with web security, has anyone knows or have any sample web application implemented web security?

Malek Aftab
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Are you talking about HTTP authentication as it is supported by the servlet API? Then the Tomcat FAQ has a section on that with further links. That would also apply to other servlet containers.

If you're talking about something lese (like SSL or encryption), describe in more detail what problem you're facing.
[ June 17, 2006: Message edited by: Ulf Dittmer ]
amit taneja
Ranch Hand

Joined: Mar 14, 2003
Posts: 812
hi, i wanted to learn more, that how to implement SSL securities ? in tomcat with jsp/servlets ?

i wanted to implement check-out module of shoping cart and wanted to use ssl secure layer for that !!

also in some post there was mentioned about the security implementation of ssl is differnet in Apache webserver and different in Apache Tomcat !!!

whats the difference ...

can you pls guide me how to proceed further !!! what should be my first step and then another big stuff i can experiment later on... i mean pls anybody provide the blueprint various ways to implement securities in jsp/servlets


Thanks and Regards, Amit Taneja
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Amit, you really shouldn't hijack a thread like this. It's perfectly OK to start a new one.

A good starting point for learning SSL might be the Tomcat SSL documentation. Install SSL on your Tomcat, see what you learn along the way, and come back here with questions (in a new thread).
I agree. Here's the link:
subject: Web Security
It's not a secret anymore!