[cgiapp] User authentication

2004-05-02 Thread Gabor Szabo
I might missing something seriously and it is late at night but is there a module that can be plugged in easily that would provide authentication in a regular CGI environment ? Does something like that exist for CGI::Application ? While I know about Cheespizza I am thinking about a lot less

Re: [cgiapp] User authentication

2004-05-02 Thread Gabor Szabo
On Mon, 3 May 2004, Ron Savage wrote: Perhaps CGI::Session::MembersArea? nice, can it use flat files as the database for authentication ? (hmm, maybe via DBD::Sprite ?) While I know about Cheespizza I am thinking about a lot less I Googled for Cheespizza just in case you were serious :-)

Re: [cgiapp] User authentication

2004-05-02 Thread Cees Hek
Gabor Szabo wrote: I might missing something seriously and it is late at night but is there a module that can be plugged in easily that would provide authentication in a regular CGI environment ? [snip] ps. maybe CGI::Session::Auth is what I am looking for ? I have been using CGI::Session::Auth

Re: [cgiapp] User authentication

2004-05-02 Thread Ron Savage
On Mon, 3 May 2004 02:45:37 +0300 (IDT), Gabor Szabo wrote: Hi Gabor Perhaps CGI::Session::MembersArea? nice, can it use flat files as the database for authentication ? Thanx :-). (hmm, maybe via DBD::Sprite ?) I assume so but I did not actually test it with DBD::Sprite. sure that would

Re: [cgiapp] CGI::App, CGI::Session and CGI::Simple

2004-05-02 Thread Ron Savage
On Tue, 27 Apr 2004 00:27:53 -0400, Cees Hek wrote: Hi Cees What probably should be done is to ask the CGI.pm maintainer to include a custom 'can' method that is able to specify what functions are available in the module. Lincoln Stein says he's too busy at the moment (surprise!) and has

Re: [cgiapp] CGI::App, CGI::Session and CGI::Simple

2004-05-02 Thread Ron Savage
Try this: #!/usr/bin/perl use strict; use warnings; use CGI; # -- my(%method); for my $tag (keys %CGI::EXPORT_TAGS) { $method{$_} = 1 for grep{! /^:/} (@{$CGI::EXPORT_TAGS{$tag} }); } print $_. \n for (sort keys %method); -- Ron Savage, [EMAIL PROTECTED] on 3/05/2004. Room EF

Re: [cgiapp] CGI::App, CGI::Session and CGI::Simple

2004-05-02 Thread Cees Hek
Ron Savage wrote: Lincoln Stein says he's too busy at the moment (surprise!) and has asked me to whip up a can() method. I'll do that now. Cool! Thanks for following up on this Ron. If you have any suggestions, post them to this list (I'm subscribed). Here is a first stab at a solution. I

Re: [cgiapp] CGI::App, CGI::Session and CGI::Simple

2004-05-02 Thread Ron Savage
On Tue, 27 Apr 2004 00:27:53 -0400, Cees Hek wrote: Hi Cees Taste and try before you buy! http://savage.net.au/CGI.pm-3.05.patch.tgz -- Ron Savage, [EMAIL PROTECTED] on 3/05/2004. Room EF 312 Deakin University, 221 Burwood Highway, Burwood, VIC 3125, Australia Phone: +61-3-9251 7067, Fax: