0

i'm working on a project which works very much with ajax (made via jquery).

how we want to secure the project more and set it up with https. now i have two questions:

  1. is it possible to make ajax requests to a https site with all the security features?
  2. is it possible to make normal (http) ajax requests but with a certain security level like authentification? that the requests always have something like a username and a one time password? (but anyway this would be bad because the requests would be send in plaintext)

need to know more about secure ajax requests

2 Answers 2

1

Of course you can do https requests.

The only requirement is that you domain is also in HTTPs, and the main website URL must be in HTTPS too.

If you choose to use HTTPS, then you won't be able to use HTTP anymore, as it will be considered as 2 differents domains.

Sign up to request clarification or add additional context in comments.

Comments

1
  1. Yes, it's possible to make ajax requests through HTTPS.
  2. Sure, take a look at aSSL.

You should also read up on the white papers by OpenAjax Alliance on Ajax and Mashup Security.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.