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

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top