# #352 Securing an API

> Episode of [RailsCasts](https://podistic.com/podcast/railscasts.md) · Published May 23, 2012 · Duration 7:42

- **Listen on Podistic:** https://podistic.com/episode/352-securing-an-api
- **Video:** http://media.railscasts.com/assets/episodes/videos/352-securing-an-api.mp4 (video/mp4)

## About this episode

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.
