?
Solved

Call secure AJAX from non-secure page

Posted on 2009-04-28
3
Medium Priority
?
461 Views
Last Modified: 2012-05-06
I have an html page that will be accessed via http://www.site.com/somepage.html. On this page, I have a login box that uses ajax to authenticate to the server. I would like to send the request over a secure connection with ajax without requiring that the calling page is secure. Is this possible?
0
Comment
Question by:rbichon
  • 2
3 Comments
 
LVL 41

Accepted Solution

by:
HonorGod earned 2000 total points
ID: 24258986
Basically, no.

You don't get to specify the protocol, so the protocol that was used to display your page is the kind (either HTTP, or HTTPS) that is used to connect to your application on the server.

Sorry
0
 
LVL 1

Author Comment

by:rbichon
ID: 24259192
I guess it makes sense on a security level. Thanks.
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 24259567
You are welcome.  Thanks for the grade & points.

Good luck & have a great day.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question