I am a newbie to rails and want to implement a secure admin login page to my site. In order to make it secure I want to make a cookie file and put开发者_如何学运维 in on the machine that an administrator will use, so that the app can check for the presence of that cookie and redirect to the admin page where he can enter the password and login.
Thanks
VishalWhat you need is a Admin namespace. Check out the answer for the similar question: The Rails Way - Namespaces
精彩评论