Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl

acces control via cookies for webdirectories again

 

 

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded


timon.roth at digitalforce

Mar 14, 2012, 12:57 AM

Post #1 of 3 (365 views)
Permalink
acces control via cookies for webdirectories again

hello list

i habe tried also a second scenario with the
PerlProcessConnectionHandler and the PerlPreConnectionHandler.

i must then first read the header from the client via the socket. thats
very cool. but how can i then route the client forward to the desired
page he initially used wanted to see?

thans for any help and suggestions!

greets,
timon

--
Timon Roth, Triemlistrasse 92, 8047 Zürich
+4143 8174031,+4179 6365728, skype: timon.roth
timon.roth [at] digitalforce, www.digitalforce.ch
http://tel.search.ch/zuerich/triemlistrasse-92/timon-roth


rcaceres at aasa

Mar 14, 2012, 7:12 AM

Post #2 of 3 (312 views)
Permalink
Re: acces control via cookies for webdirectories again [In reply to]

Timon,

I'd suggest you take a look at Apache2::AuthTicket, and either use it 'as is' or add ad-hoc info to the cookie at creation time. Handler setup would be there and you could also be sure that the id cookie has not been tampered with.

Regards,
Rafael Caceres

----- Original Message -----
From: "Timon Roth" <timon.roth [at] digitalforce>
To: "modperl" <modperl [at] perl>
Sent: Wednesday, March 14, 2012 2:57:38 AM
Subject: acces control via cookies for webdirectories again

hello list

i habe tried also a second scenario with the
PerlProcessConnectionHandler and the PerlPreConnectionHandler.

i must then first read the header from the client via the socket. thats
very cool. but how can i then route the client forward to the desired
page he initially used wanted to see?

thans for any help and suggestions!

greets,
timon

--
Timon Roth, Triemlistrasse 92, 8047 Zürich
+4143 8174031,+4179 6365728, skype: timon.roth
timon.roth [at] digitalforce, www.digitalforce.ch
http://tel.search.ch/zuerich/triemlistrasse-92/timon-roth


perrin at elem

Mar 14, 2012, 10:24 AM

Post #3 of 3 (317 views)
Permalink
Re: acces control via cookies for webdirectories again [In reply to]

On Wed, Mar 14, 2012 at 3:57 AM, Timon Roth <timon.roth [at] digitalforce> wrote:
> i habe tried also a second scenario with the PerlProcessConnectionHandler
> and the PerlPreConnectionHandler.
>
> i must then first read the header from the client via the socket. thats very
> cool. but how can i then route the client forward to the desired page he
> initially used wanted to see?

Have you looked at Apache::AuthTicket? It provides flexible access
control for directories.

- Perrin

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.