RE: mod_perl marketing

[prev] [thread] [next] [Date index for 2004/11/30]

From: Adam Prime x443
Subject: RE: mod_perl marketing
Date: 18:23 on 30 Nov 2004
It looks like MOTD is pretty much exactly the same, aside from the =
integration with our ad management system.

I chose to use it as an AccessHandler, because i was thinking about it =
as a test to decided whether or not a particular user was allowed to =
access the requested page or not.  It didn't rely on any authentication, =
at all, though i could certainly see situations in which it should.

Had I needed that, Authz definately would have made more sense, but in =
this specific application, it wasn't required.

I partially chose Access because large portions of the site already have =
Auth and Authz handlers and it would have been a bit more of a pain in =
the ass configuration wise to plop an Authz handler on the root of the =
site, than to use an AccessHandler (of which i had none).

I bet I don't know about some easy way to stack handlers on sub =
<Location>'s in httpd.conf though which makes that reason moot.

adam


-----Original Message-----
From: Randal L. Schwartz [mailto:merlyn@xxxxxxxxxx.xxx]
Sent: Tuesday, November 30, 2004 1:03 PM
To: Geoffrey Young
Cc: Adam Prime x443; modperl@xxxx.xxxxxx.xxx
Subject: Re: mod_perl marketing


>>>>> "Geoffrey" =3D=3D Geoffrey Young <geoff@xxxxxxxxxxxxxxx.xxx> =
writes:

Geoffrey> if I understand the problem correctly (which I may not) I
Geoffrey> think both those phases are probably wrong and a more
Geoffrey> generic phase is probably best, like the PerlInitHandler.

Actually, now that I think about it a bit more, the question is "can
this specific person access this resource?  If not [first visit, for
example], do something else"

So it's really an Authz question.  And it should be handled by an
internal redirect if the authz fails.  You want it *after* trans,
access, and auth, so that you can determine resource, host-based
permission, and identify the individual.

--=20
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 =
0095
<merlyn@xxxxxxxxxx.xxx> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl =
training!

        -- 
        Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

(message missing)

RE: mod_perl marketing
Adam Prime x443 16:19 on 30 Nov 2004

RE: mod_perl marketing
Adam Prime x443 17:00 on 30 Nov 2004

Re: mod_perl marketing
merlyn (Randal L. Schwartz) 17:28 on 30 Nov 2004

Re: mod_perl marketing
Jonathan Vanasco 17:34 on 30 Nov 2004

Re: mod_perl marketing
Geoffrey Young 17:40 on 30 Nov 2004

Re: mod_perl marketing
merlyn (Randal L. Schwartz) 18:03 on 30 Nov 2004

Authz foo (was Re: mod_perl marketing)
Geoffrey Young 18:19 on 30 Nov 2004

RE: mod_perl marketing
Adam Prime x443 18:23 on 30 Nov 2004

Re: mod_perl marketing
modperl 19:23 on 30 Nov 2004

Re: mod_perl marketing
Frank Wiles 19:30 on 30 Nov 2004

RE: mod_perl marketing
Clayton Cottingham 19:34 on 30 Nov 2004

Re: mod_perl marketing
Frank Wiles 19:39 on 30 Nov 2004

RE: mod_perl marketing
Clayton Cottingham 19:47 on 30 Nov 2004

Re: mod_perl marketing
Stas Bekman 19:55 on 30 Nov 2004

RE: mod_perl marketing
Clayton Cottingham 20:02 on 30 Nov 2004

Re: mod_perl marketing
Stas Bekman 20:09 on 30 Nov 2004

Re: mod_perl marketing
Dan Brian 20:32 on 30 Nov 2004

Re: mod_perl marketing
Stas Bekman 20:34 on 30 Nov 2004

Re: mod_perl marketing
Joe Schaefer 20:58 on 30 Nov 2004

Re: mod_perl marketing
Valerio_Valdez Paolini 23:22 on 30 Nov 2004

Re: mod_perl marketing
Jonathan Vanasco 20:12 on 30 Nov 2004

SV: mod_perl marketing
Arne Skjaerholt 20:25 on 30 Nov 2004

Re: mod_perl marketing
Ken Simpson 19:39 on 30 Nov 2004

Re: mod_perl marketing
Ken Simpson 23:00 on 30 Nov 2004

Re: mod_perl marketing
modperl 19:41 on 30 Nov 2004

Re: mod_perl marketing
Frank Wiles 20:05 on 30 Nov 2004

Re: mod_perl marketing
Frank Wiles 19:53 on 30 Nov 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52