Re: how to allow only a few pc-es to access a php page over the internet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



IMHO, list the IP address of the computers (allowed or restricted computer, it's up to you).
Save them in a file or a table in database.

Inside the page check the IP address of the client using predefined variabel $_SERVER['REMOTE_ADDR'] and compare it. Allow or restrict  is up to you.

-husain-

-------------------------
Original Message:
From: sinus922 <sinus922@xxxxxxxxx>
To: php-objects@xxxxxxxxxxxxxxx
Date: Saturday, May 21 2005 07:02 PM
Subject:  how to allow only a few pc-es to access a php page over the internet
I'm developing a site which needs to be accessed only by few computers 
and it seems that user/password login is not sufficient. How can I 
make this work. I was thinking about an identification process which 
includes the client pc sending some kind of info to the server (some 
code of some sort...not important). Anybody can help me? Plz

Thanks :)


PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux