Suggestions for an authentication system for a Perl CGI::Application
I am building a Perl app with CGI::Application to display software tools, and would like to allow users to add ratings and comments on the tools. Ideally users would need to be registered to post. I'm sure this is a fairly common request and that there must be existing "out of the box" solutions I could use to save myself some coding and reinvention of the wheel. If not, I have three possible solutions:
1) extend the code here: http://www.perlmonks.org/?node_id=622071 to add the missing parts of an authentication system
2) make use of our wiki; have users log into it and either post the comments on the wiki OR just leverage the login system to ensure that only registered wiki users can post
3) Use some other authentication protocol and roll my own from scratch.
Does anyone have any tho开发者_运维百科ughts about or experience of any of these options?
There's a plugin for CGI::Application that deals with Authentication. CGI::Application::Plugin::Authentication.
Once your integrated that there's an authorization plugin to determine who can do what.
精彩评论