0

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
Vishal

vishal
  • 279
  • 4
  • 14
  • You need to read more. http://guides.rubyonrails.org/ . Go through sessions management in rails. Also take a look at authlogic and devise , gems to understand how sessions in rails work – Rishav Rastogi Feb 14 '11 at 11:38

1 Answers1

0

What you need is a Admin namespace. Check out the answer for the similar question: The Rails Way - Namespaces

Community
  • 1
  • 1
Syed Aslam
  • 8,707
  • 5
  • 40
  • 54