I’m trying to get a handle on how reliably secure credentialed XHR2 requests are.
Specifically, can I be sure the request came from a browser runtime environment, rather than a bot (i.e. server-side program), or could the latter fake the request?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is never any way to tell (with anything approaching certainty) what type of client made an HTTP request.
The point of using credentials is that only users you trust have them. So you trust the user making the request rather than the software they are using.