Securing a REST API

Posted by Christopher McCann on Stack Overflow See other posts from Stack Overflow or by Christopher McCann
Published on 2010-04-20T15:10:33Z Indexed on 2010/04/20 15:13 UTC
Read the original article Hit count: 208

Filed under:
|
|
|

I am in the middle of developing a REST API - the first one I ever have.

The data being passed through the API is not of such a critical nature that there will be loss of life, economics etc if it was intercepted but at the same time I would like it to be secure. The data being transferred is simply like the data that would be transferred on Twitter or Facebook - not overly confidential but still should be kept private.

What is the best way to secure this data? Am I best to use HTTP Basic Auth over SSL or should I be looking into something like OAuth. I have never really used REST much before so bit of a first for me.

Thanks

© Stack Overflow or respective owner

Related posts about rest

Related posts about ssl