开发者

good walk-through on authentication and authorization in rails?

Im new to rails and would like to implement author开发者_运维问答ization and authentication for my app, is there any good walk-through from the installation of the plug in to getting role based authorization implemented?

thanks


I would recomend you to check out the excellent railscasts site, where you can find many authentication/authorization implementation examples. I would choose between:

Authentication:

  • Authlogic
  • Devise

Authorization

  • Cancan
  • Declarative Authorisation


Try http://railscasts.com

specifically:

http://railscasts.com/episodes/192-authorization-with-cancan
or
http://railscasts.com/episodes/188-declarative-authorization

There are lots of plugins but the above are a good place to start (and railscasts is a great resource)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜