Forums Register Login

HTPPS

+Pie Number of slices to send: Send
What is HTPPS?

It is called secured connection (HTTP request). But what exactly is this secured connection? and why not other HTTP request are secured?

Thanks.
+Pie Number of slices to send: Send
HTTPS connections encrypt the data that is sent over them, while HTTP sends data in clear text. THus HTTP traffic can be read at every host it's passing through.
+Pie Number of slices to send: Send
 

Originally posted by Ulf Dittmer:
HTTPS connections encrypt the data that is sent over them, while HTTP sends data in clear text. THus HTTP traffic can be read at every host it's passing through.



Thanks Ulf.
+Pie Number of slices to send: Send
 

Originally posted by Ulf Dittmer:
HTTPS connections encrypt the data that is sent over them, while HTTP sends data in clear text. THus HTTP traffic can be read at every host it's passing through.



But in case of Post request, browser encrypts the *data* but it is a HTTP request not the HTTPS. Why?

Thanks.
+Pie Number of slices to send: Send
HTTP post requests are not encrypted, they may be encoded, but it is still plain text that is being passed over the HTTP link.
+Pie Number of slices to send: Send
 

Originally posted by Darren Edwards:
HTTP post requests are not encrypted, they may be encoded, but it is still plain text that is being passed over the HTTP link.



Thanks Darren.
+Pie Number of slices to send: Send
How can I force/let my browser to make request https???

Thanks.
+Pie Number of slices to send: Send
You can't force the browser, it's the server who should support a secure connection..
+Pie Number of slices to send: Send
Hello Mandar-

On your way in you may have missed that JavaRanch has a policy on display names, and yours does not comply with it; specifically, a first name and a last name are required. Please adjust it accordingly, which you can do right here. Thanks for your prompt attention to this matter.
+Pie Number of slices to send: Send
Thanks Ulf, indeed I had missed the naming policy...
+Pie Number of slices to send: Send
 

Originally posted by Mandar:
You can't force the browser, it's the server who should support a secure connection..



Does it means, HTTPS request doesn't exist, only HTTPS response exist???

And HTTP request and HTTPS response is called secured connection???

Thanks.
+Pie Number of slices to send: Send
Servers can check to make sure that incoming requests are secure.

If not, they can either throw an exception or (more useful) redirect the user to the same page but with the secure ('https://') scheme.
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletRequest.html#isSecure()

This can be done programmatically from within your code or declaratively from the security-constraint entry in your deployment descriptor.

There is a link to the Servlet Spec in my signature.
Download the PDF and perform a search with the following criteria:
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
to learn more about declarative security in j2ee apps.
+Pie Number of slices to send: Send
 

Does it means, HTTPS request doesn't exist, only HTTPS response exist???


No. HTTPS requests exist as well. If the browser accesses an URL starting with "HTTPS", then the request is encrypted as well.
If you are using a rototiller, you are doing it wrong. Even on this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1172 times.
Similar Threads
Java Server Client Desktop Application
Security Problem; 403 Forbidden Error
UrlConnections versus HttpURLConnection versus Apaches HttpClient
Need to consume secure web service using Axis
Opening secured URL connection
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 23:20:19.