On 3 Apr 2006 at 8:33, Michael Peters wrote:

> Even the most complicated auth setup can be done in Apache using
> mod_perl Authz and Authen handlers. Even though it's running at the
> apache level, it's still a part of your application since it's
> connecting to your database and has your business logic. It's just done
> before your application has a chance to run.

Hmm. And how do I tell Apache that two users are permitted to view a 
certain runmode but only one of them may see all the info?

e.g. in a template:

<p>Some normal stuff</p>
[% IF user_is_in_group_x %]
<div>For your eyes only</div>
[% END %]

The alternative would be to give both of them different run modes that 
are almost identical.

And if I want to give it a try, where can I read more about these Auth* 
handlers?

Cheers,
Michael


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/cgiapp@lists.erlbaum.net/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to