I am going to write a log-in script to a MS SQL database where once the user is logged in, he or she will have certain capabilities given the roll assigned (student, admin, or volunteer), but not others.

My question is how to make the login secure, to have timeouts, to pull the password after, for example 30 days of inactivity, etc. What package would I use to make my life easier: CGI::Application::Plugin::Authentication
or
User::Simple::Admin
or
User::Simple
or
Some other? As you can *perhaps* tell, I'm a newbie at this.

Thank you.