Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-29 Thread Richard L. Goerwitz III
Jon Robison wrote: > Someone please tell me if I am wrong - does the USER_AGENT field get > some kind of special serial number from the browser, or is it just a > version identified? > > Best example - large company with 1000 PC's, all with same Netscape > installed. How then does the HTTP_USER

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-19 Thread J. J. Horner
* Randal L. Schwartz ([EMAIL PROTECTED]) [09 11:00]: > > "Jon" == Jon Robison <[EMAIL PROTECTED]> writes: > > Jon> Randall, you want to expound upon that? > > Barely ignoring the spelling of my name, I'll simply claim > > "it's not unique". > > Neither is IP address. Or anyth

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-19 Thread DeWitt Clinton
On Mon, Nov 19, 2001 at 07:51:55AM -0800, Randal L. Schwartz wrote: > But this is obvious. I'm confused about why I'd have to explain it. :( I posted this a year or two back: [EMAIL PROTECTED]">http://mathforum.org/epigone/modperl/jytwortwor/[EMAIL PROTECTED] Here is the relevant part of tha

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-19 Thread Randal L. Schwartz
> "Jon" == Jon Robison <[EMAIL PROTECTED]> writes: Jon> Randall, you want to expound upon that? Barely ignoring the spelling of my name, I'll simply claim "it's not unique". Neither is IP address. Or anything that you haven't specifically round-tripped to the browser. And that do

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-19 Thread Jon Robison
How about using an Apache::Sessions id instead of IP address? --Jon Robison "Randal L. Schwartz" wrote: > > > "fliptop" == fliptop <[EMAIL PROTECTED]> writes: > > fliptop> i have found that using the HTTP_USER_AGENT environment > fliptop> variable instead of ip address solves the problem

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-19 Thread Jon Robison
Randall, you want to expound upon that? --Jon Robison "Randal L. Schwartz" wrote: > > > "fliptop" == fliptop <[EMAIL PROTECTED]> writes: > > fliptop> i have found that using the HTTP_USER_AGENT environment > fliptop> variable instead of ip address solves the problem with proxy > fliptop>

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-19 Thread Randal L. Schwartz
> "fliptop" == fliptop <[EMAIL PROTECTED]> writes: fliptop> i have found that using the HTTP_USER_AGENT environment fliptop> variable instead of ip address solves the problem with proxy fliptop> servers and the md5 hash. anyone ever tried this as a simple fliptop> workaround? Nobody with a

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-16 Thread Edward
> > > >> -----Original Message- > >> From: Jon Robison [mailto:[EMAIL PROTECTED]] > >> Sent: Friday, November 16, 2001 10:40 AM > >> To: [EMAIL PROTECTED] > >> Cc: Jonathan E. Paton; [EMAIL PROTECTED] > >> Subject: Re: Doing Authoriza

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-16 Thread Edward
gt; > >> -----Original Message- > >> From: Jon Robison [mailto:[EMAIL PROTECTED]] > >> Sent: Friday, November 16, 2001 10:40 AM > >> To: [EMAIL PROTECTED] > >> Cc: Jonathan E. Paton; [EMAIL PROTECTED] > >> Subject: Re: Doing Authoriza

RE: Doing Authorization using mod_perl from a programmers perspective

2001-11-16 Thread Stephen Adkins
1 10:40 AM >> To: [EMAIL PROTECTED] >> Cc: Jonathan E. Paton; [EMAIL PROTECTED] >> Subject: Re: Doing Authorization using mod_perl from a programmers >> perspective >> >> >> fliptop wrote: >> > >> > Jon Robison wrote: >> > >

RE: Doing Authorization using mod_perl from a programmers perspective

2001-11-16 Thread Joe Breeden
n [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 16, 2001 10:40 AM > To: [EMAIL PROTECTED] > Cc: Jonathan E. Paton; [EMAIL PROTECTED] > Subject: Re: Doing Authorization using mod_perl from a programmers > perspective > > > fliptop wrote: > > > > Jon Robison wro

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-16 Thread Jon Robison
fliptop wrote: > > Jon Robison wrote: > > > > The most relevant section for you is the Ticket system he describes. (I > > believe the section header says something about Cookies, but you'll know > > you have the right one when you see TicketAccess.pm, TicketTools.pm, and > > TicketMaster.pm. One

RE: Doing Authorization using mod_perl from a programmers perspective

2001-11-16 Thread Geoffrey Young
> > > my point > > was that this solves the problem of using the ip address in > the md5 hash > > when the client is behind a proxy server. > > This does not solve the problem: IP address of users behind > Proxy is not > unique. The User Agent is not unique either. Using User Agent solves > n

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-16 Thread fliptop
Joe Breeden wrote: > > How does this work in an environment with two (or more) computers with the > exact same configuration, and probably the same HTTP_USER_AGENT behind the > same proxy? How do you know that one user isn't using another users session? you don't. the session hijacker still wou

RE: Doing Authorization using mod_perl from a programmers perspective

2001-11-15 Thread Joe Breeden
If it compiles - Ship It! Aranea Texo > -Original Message- > From: fliptop [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 15, 2001 4:50 PM > To: Jon Robison > Cc: Jonathan E. Paton; [EMAIL PROTECTED] > Subject: Re: Doing Authorization using mod_perl from a programmers &g

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-15 Thread fliptop
Jon Robison wrote: > > The most relevant section for you is the Ticket system he describes. (I > believe the section header says something about Cookies, but you'll know > you have the right one when you see TicketAccess.pm, TicketTools.pm, and > TicketMaster.pm. One nice addition is the ability

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-15 Thread Jon Robison
Jonathon, I am doing exactly this also. What works is this: Get a copy of "Writing Apache modules with perl and C" and read it. The most relevant section for you is the Ticket system he describes. (I believe the section header says something about Cookies, but you'll know you have the right on

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-14 Thread Dave Hodgkinson
"Jonathan E. Paton" <[EMAIL PROTECTED]> writes: > Please don't flame me, I'll go away... honest :P I wonder if you're trying to do too much too soon? If you're concerned about hosting then *gulp* PHP might server you better. I rent a dedicated server because I want absolute control and the abi

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-14 Thread Perrin Harkins
> Seemingly I can do Apache handlers though, so I *might* be > okay. If you look at http://perl.apache.org/guide/, there's information on how to determine if you're really running mod_perl or not. If you can get a PerlHandler directive to work, you have mod_perl. > I rather ambigously asked the

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-14 Thread Jonathan E. Paton
Hi, > > Perrin Harkins wrote: > > > > 2. Do most hosting companies allow > > authentication/authorization handlers? (Using > > HostRocket at the moment). > > Most hosting companies don't allow mod_perl. > I had fears about that one, since I thought Perl might not mean mod_perl - as I know mo

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-14 Thread Perrin Harkins
> 1. Can this be done (nicely) as a > authentication/authorization handlier? Sure, or you could do it as part of another phase if it's easier for you. There are good exmples on CPAN or in the Eagle book. > 2. Do most hosting companies allow > authentication/authorization handlers? (Using HostRo

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-14 Thread Ged Haywood
Hi there, On Wed, 14 Nov 2001, [iso-8859-1] Jonathan E. Paton wrote: > I am trying to create a website [snip] > NB - Whilst my preferred answer to these questions is a > coded solution, [snip] We like people to think for themselves on this list. :) > I'm sure I've missed a few questions... Re