Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / June 2004

Tip: Looking for answers? Try searching our database.

Encrypted HTML form data passed to JSP page

Thread view: 
Joe Ray - 23 Jun 2004 19:21 GMT
I am interested in passing encrypted HTML form data to a JSP page
where it is than decrypted. Can someone suggest a technique to do this
and the technology or encryption method I should use. If you have any
web resources I would appreciate that as well. Thanx in advance.

Ray
Chris - 26 Jun 2004 00:43 GMT
> I am interested in passing encrypted HTML form data to a JSP page
> where it is than decrypted. Can someone suggest a technique to do
[quoted text clipped - 3 lines]
>
> Ray

Hi,
Probably the easiest solution here is to do it the "right way": HTTPS.
Just get a certificate (which, quite frankly, *any* solution to a
problem like this should include, to prevent man-in-the-middle
attacks), and configure your server to use SSL. Bingo. All form data
is transmitted encrypted from the user's browser to the server and is
decrypted before it even gets to your JSP. As an added bonus, the
request URLs and other headers as well as the entire response are
encrypted (maybe not necessary in your case, but certainly harmless).
Any decent web server should already include SSL (i.e. Apache's
mod_ssl and so on).

Chris


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.