Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
Making secured websites
Joined: Aug 01, 2005
Nov 17, 2005 05:29:00
I have heard about sites being secured, using https. Can someone give me an insight on how to make a secured website using ofcourse
say a WLS
Joined: Jun 23, 2003
Nov 17, 2005 05:46:00
This is a very broad question which I will answer in part.
HTTPS, which is HTTP over SSL (Secure Socket Layer) is one way of securing a request/response, which as you probably know encrypts data over the wire.
The container usually does this for you if you configure it correctly, read your container notes.
Many other security features can also be applied to web applications such as BASIC Authentication. I would advise you invest in a
Security Book to find out more.
Joined: Aug 01, 2005
Nov 17, 2005 05:59:00
Thanks James... Is it just about configuring to make a site secured, or does some part of coding also go into this.
This whole concept is kinda vague.
Joined: Dec 11, 2004
Nov 17, 2005 06:07:00
If you pickup a book on J2EE security, you will find sections on
"declarative security" and "programmatic security".
Setting up an SSL certificate is done completely at the container level.
You can specify which components must go through SSL in your deployment descriptor.
As James said, it's a very broad topic.
If you're serious about it, get a book.
"Mastering Tomcat" by Wiley Press has a good introduction to security.
A lot of what it covers applies to J2EE in general, not just
How to ask a question...
Simple Servlet Examples
Don't get me started about those stupid
subject: Making secured websites
Mock question -- on security
SSO(Single-Sign-On) Vs Mutual Authentication
error using class.forName()
How Java is secured
Authentication with JDBC Realms and MVC pattern (Controller servlet)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015