-1

Example:

When you use "ajax.send", you see the file (like this "post.php?q=...".) But If you copy that "url" and paste it into your browser (same parameters), you can also access.

So, can I block it?.

1
  • Yes, and no. Yes, you can detect if it is or isn't ajax and change the output, but no, you can't completely block it because it can be easily spoofed. Blocking it is not worth the effort because anyone who would want to see it would also know how to spoof it (or to inspect their network tab) Commented Jan 26, 2015 at 22:50

1 Answer 1

0

No, you can't. Every request, let it be AJAX or not, can be simulated by browser (tools).

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.