From: MaggotChild Date: 2006-09-06T03:50:13+09:00 Subject: Rails and HTTP Authentication Hi, I would like to restrict access the the basic CRUD ops via htaccess. Requests for /item/list, /item/add etc would prompt the user for their password. I was thinking I would create a new directory, apply the htaccess settings, and put a dispatch script in there. But then I would have to configure rails to look in multiple directories for a controller (something I dont know how to do), and have two dispatch.cgi files. What is the ideal approach to achieving security in rails via htaccess? Thanks!