RE: [PHP-DB] authorization idea (good or bad?)
| From: | John Guynn | Date: | Wed, 04 Oct 2000 13:42:47 +0000 |
| Subject: | RE: [PHP-DB] authorization idea (good or bad?) | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-3296@lists.php.net to get a copy of this message | ||
At this point dynamic IP's are not a concern. I can only think of 2 to 4
machines that would have "IP address authentication" and any other machine
that hits the page would be forced to use username and password.
Right now I've got security through obscurity so anything is better than
what I have...I was just considering a more elegant solution than requiring
a username/password when I KNOW (ok...99% sure) the IP addresses of the few
machines that should be accessing this page. And yes, it is across the
Internet.
John Guynn
-----Original Message-----
From: Stefan Siefert [mailto:s.siefert@global-media.de]
Sent: Wednesday, October 04, 2000 8:39 AM
To: John Guynn
Subject: AW: [PHP-DB] authorization idea (good or bad?)
>I'm trying to decide if this is a good idea or not. If I have a table with
>usernames, passwords, and IP addresses I can look at the user's ip address
>with $REMOTE_ADDR, see if that matches what's in the database and allow
>access to the page and interact with the database (the page I'm wanting to
>protect is the page that I use to edit the contents of tables) but if the
IP
>address does not match any records ask for a username and password, recheck
>with the "security" table and allow access if it matches an entry.
Well I think the idea is pretty good but what's about dynamic IP's? Also I
think pwd an d login are the better way to protect a site, because everybody
how gain access to the registered computers can visit the site (because the
IP - Adress the computer uses is a registered one) It it is really important
to protect the site use a password you create with more than 12 char...
>Of course this is assuming I know the IP address(es) of the computer(s)
that
>would be accessing this database most often.
>Good idea or bad idea?
Well not bad, but good?