Securing an AJAX API to prevent other sites from taking advantage of it

Posted by Bloudermilk on Stack Overflow See other posts from Stack Overflow or by Bloudermilk
Published on 2010-06-05T22:05:15Z Indexed on 2010/06/05 22:12 UTC
Read the original article Hit count: 157

Filed under:
|
|
|

We're currently developing a site that uses a simple JSON API (RoR) to populate the page. The data is public to clients but key to our service and we want to make sure that our competitors aren't leeching our data. What methods do you use to verify that AJAX requests to an API are legitimate?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about ruby-on-rails