
A click is worth a thousand words.
Surprised? I was too when I discovered that iTunes lets you access password protected podcasts.
Oh, by the way, you can use the username guest with the password guest to access that podcast.
Why?
At first, password protecting a podcast might sound counterintuitive, but there are actually many reasons why you might want to do such a thing. You might be a teacher or professor who wants the podcast to be available only to your students. You might want to share the podcast with just your friends. I know some people who share their music this way. You might want to podcast your work to clients so that they are automatically updated as you publish changes. You might have a podcast that you want only your department to have access to. Or you might want to do a "closed beta" of your podcast.
How?
The feed you clicked on is protected through the standard HTTP authentication schemes. iTunes supports both the "basic" and "digest" flavors of HTTP authentication. Combined with SSL this will provide robust security for your podcast.
Basically, you put a .htaccess file into the directory that contains your podcast feed with content that looks like this:
AuthType Digest
AuthName "Potion Factory"
AuthDigestFile /usr/local/apache/conf/digest_passwd
Require valid-user
You also have to use the following shell command to make the digest_password file:
htdigest -c /usr/local/apache/conf/digest_passwd "Potion Factory" user1
I suggest you don't try this yourself unless you really understand what is written above. There are many reasons why the above will not work. Ask your webmaster to do it for you if you are not comfortable.
If you really want to try, here is a site with more detailed instructions:
Comprehensive guide to .htaccess - Password Protection
Credit goes to Mr. Mark B. Priddy of Affiliated Media Group for letting us know about this iTunes feature. We actually learned something answering a support email!
UPDATE (2/27/2006): You can password protect your podcast easily if you use FeedBurner. FeedBurner has an option to password protect your feed, which does exactly what I describe here. The only downside to the FeedBurner way is that it only allows one username and password, but it is still tremendously useful for something that only takes a few clicks.

Comments
[...] I get asked how to password protect feeds in general every few months and Potion Factory’s Andy Kim has written how to password protect a podcast for use in iTunes. The same method can be used to password protect any feed. In a nutshell, you can have your web server require HTTP authentication for the directory where the feed and any enclosure files reside. Here are some instructions on how to set up this authentication: Comprehensive guide to .htaccess [...]
Hi-
I saw the username and password system that you set up with iTunes.
itpc://www.potionfactory.com/blog/wp-content/uploads/2006/02/locked/podcast.xml
could you let me in on how you did that
thanks
-Larry
[...] * Just found out about another blogger who did a write up here [...]
The link is producing Internal Server Error...
Have you found a way to authenticate with iTunes that allows iTunes to cache the credentials, to supress the login dialog on future requests?
That's a good question, but not one that I know the answer to unfortunately. You might want to look in the Apple iTunes or podcasting discussions group or even ask there.
http://discussions.apple.com
Post new comment