开发者

Admin-page login

开发者 https://www.devze.com 2023-02-10 21:21 出处:网络
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 administra

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

精彩评论

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

关注公众号