Making REST calls only available to local applications?
Posted
by colorfulgrayscale
on Stack Overflow
See other posts from Stack Overflow
or by colorfulgrayscale
Published on 2010-05-20T22:17:27Z
Indexed on
2010/05/20
22:20 UTC
Read the original article
Hit count: 438
Suppose I have a url like
http://mysite.com/get-users
which returns a JSON object of all users. But, I don't want anyone (or any bots) to be able to go to this url to fetch this information. I want it to only respond to calls from other local modules in the same website.
How would I go about implementing someting like this?
© Stack Overflow or respective owner