Much like many other sites my University has an iTunesU presence that hosts some media and interesting tidbits from events and classes here at Brock. The only hitch (as the name implies) is that this nifty media collection is served up via iTunes. Further to the application lock-in there is no easy way to authenticate to the service directly via iTunes, so in most cases any school that wishes to get their users into the service need to write up an authentication system and host it on local web-space. Once some local authentication is done you construct a POST to iTunes and if all goes well iTunes will shell open on the system you're on and you'll be recognized as a member of your institution. This post is a look at one way to create this login.