开发者

Admin-page login

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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜