XmlHttpRequest

P

Paul

I am experimenting with XmlHttpRequest, one question about security, if the
request is made from a secure page (https) will the request and response
also be secure?
 
L

-Lost

Paul said:
I am experimenting with XmlHttpRequest, one question about security, if the request is
made from a secure page (https) will the request and response also be secure?

Yes. If you think about it, an XHR is simply the mechanism by which to process HTTP
requests. If the HTTP request is a secure one (i.e. HTTPS) then your XHR has no choice
but to use a secure HTTP request. Make sense?

http://evolt.org/ajax_login_system

....has a few comment/discussions going on about just this.

-Lost
 
R

Randy Webb

-Lost said the following on 2/25/2007 8:32 PM:

Only if the request is made to a secure server via the https protocol.
If you think about it, an XHR is simply the mechanism by which to process HTTP
requests.
If the HTTP request is a secure one (i.e. HTTPS) then your XHR has no choice
but to use a secure HTTP request. Make sense?

But, you can also make a request to an http server from an https server
and the request/response won't be https secure.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top