RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: api xSecurity x
Securing an API
Episode #352May 23, 201274 comments

Securing an API

There are many approaches to locking down an API. Here I start off with HTTP Basic authentication then move on to generating a unique token which can be passed through a URL parameter or HTTP header. (7 minutes)