I'm relatively new to perl, so not sure about all the options. I'm building a cgi system, and am trying to figure out what is the best method for user authentication. The system has only one cgi that takes requests and dynamically finds and executes the methods available.
I would like the system to allow anyone to use certain methods, but require authentication for using others. I only want it to request authentication when a user attempts to use one of the protected methods.
The system has to be portable and it can make no assumptions about the webserver except that cgi and perl are available. So I don't think http's WWW-Authenticate is available. I would also like to avoid cookies if possible.
Any ideas or information? Thanks.