RE: [PHP] Getting IP from behind proxies
| From: | Rasmus Lerdorf | Date: | Sun, 30 Jun 2002 15:12:45 +0000 |
| Subject: | RE: [PHP] Getting IP from behind proxies | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104577@lists.php.net to get a copy of this message | ||
It is rather trivial to turn off cookies. It's not a matter of clearing
cookies, the user simply turns it off. Heck, many users browse with
cookies turned off by default.
-R
On Sun, 30 Jun 2002, Bruce Karstedt wrote:
> Why not create a cookie for that poll. When the vote check for the cookie.
> Unless a user clears the cookie himself, you basically limit votes to one
> per computer or one per computer per user.
>
> Bruce Karstedt
> President
> Technology Consulting Associates, Ltd.
> Tel: 847-735-9488
> Fax: 847-735-9474
>
>
> -----Original Message-----
> From: Rasmus Lerdorf [mailto:rasmus@php.net]
> Sent: Saturday, June 29, 2002 10:34 PM
> To: JJ Harrison
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Getting IP from behind proxies
> Importance: Low
>
>
> You need to assign each person a unique identifier of some sort. ie.
> assign them a login and password and verify that information by sending a
> message to their email address. Then only people with multiple email
> addresses can spam your system with votes.
>
> Beyond that it comes down to verifying each voter manually. Get a phone
> number and call each one up. Even that is not quite foolproof.
>
> Personal certificates might be an option here, but that is rather
> cumbersome for everyone involved.
>
> Basically there is no good solution for this problem. Until everyone in
> the world has a unique and non-spoofable, easily verifiable id number,
> what you are trying to do is impossible.
>
> Basically live with the fact that your voting system will be inaccurate
> and spoofable.
>
> -Rasmus
>
> On Sun, 30 Jun 2002, JJ Harrison wrote:
>
> > what esle could i use?
> > "Rasmus Lerdorf" <rasmus@php.net> wrote in message
> >
> > news:Pine.LNX.4.44.0206290700070.2929-100000@www.lerdorf.com...
> > > You can only get it if the proxy provides you with this data. Most
> don't,
> > > so this is not a reliable approach.
> > >
> > > -Rasmus
> > >
> > > On Sat, 29 Jun 2002, JJ Harrison wrote:
> > >
> > > > I want to check to see if people have voted yet for a poll.
> > > >
> > > > How can I get the ip of a user from both behind a proxy and the
> proxies
> > ip?
> > > >
> > > > is this simple?
> > > >
> > > > will i have trouble with firewalls etc?
> > > >
> > > >
> > > > --
> > > > JJ Harrison
> > > > webmaster@tececo.com
> > > > www.tececo.com
> > > >
> > > >
> > > >
> > > > --
> > > > PHP General Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: S";Àª†Úi«çz§
> > > > B“Íhttp://www.php.net/unsub.php
> > > >
> > >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>