Doing HTTP-Auth
Doing
HTTP-Auth with Ruby on Rails.
The Ruby on Rails bunch seems Web coder centric – no surprise there. Seems Web people prefer form/session based authentication while Unix weenies prefer
HTTP-Authentication. Ever tried to get past form based authentication in a script? It’s a pain.
There are some issues with
HTTP-Authentication in most Web Application environments but usually you can hack it in.
For Ruby on rails you don’t even need to patch. Create a User Model with a username and a passwd row somehow like this:
http://blogs.23.nu/c0re/stories/7409/