Cardale Posted November 19, 2009 Share Posted November 19, 2009 How can you not allow users with no ip to view my web server? Link to comment https://forums.phpfreaks.com/topic/182116-disallow-users-with-no-ip-to-site/ Share on other sites More sharing options...
emopoops Posted November 19, 2009 Share Posted November 19, 2009 is there a way to ban by an ip? then u can just enter blanks? Link to comment https://forums.phpfreaks.com/topic/182116-disallow-users-with-no-ip-to-site/#findComment-960777 Share on other sites More sharing options...
ghostcoder Posted November 19, 2009 Share Posted November 19, 2009 $_SERVER["REMOTE_ADDR"] Check this value and if you are not happy with it (empty or whatever), you can redirect them to another script. Link to comment https://forums.phpfreaks.com/topic/182116-disallow-users-with-no-ip-to-site/#findComment-960817 Share on other sites More sharing options...
emopoops Posted November 19, 2009 Share Posted November 19, 2009 what kinds of things make a user have no ip? Link to comment https://forums.phpfreaks.com/topic/182116-disallow-users-with-no-ip-to-site/#findComment-961239 Share on other sites More sharing options...
mikesta707 Posted November 19, 2009 Share Posted November 19, 2009 There is proxy software out there that can mask, or hide certain information that you send in http requests Link to comment https://forums.phpfreaks.com/topic/182116-disallow-users-with-no-ip-to-site/#findComment-961342 Share on other sites More sharing options...
Daniel0 Posted November 19, 2009 Share Posted November 19, 2009 There is proxy software out there that can mask, or hide certain information that you send in http requests I don't see how it would be possible not sending an IP address though. The server has to send the response somewhere. Link to comment https://forums.phpfreaks.com/topic/182116-disallow-users-with-no-ip-to-site/#findComment-961357 Share on other sites More sharing options...
mikesta707 Posted November 19, 2009 Share Posted November 19, 2009 Oh sorry, yeah a blank, or no IP i'm not so sure about. They would send the proxy ip address rather than the local one. Link to comment https://forums.phpfreaks.com/topic/182116-disallow-users-with-no-ip-to-site/#findComment-961384 Share on other sites More sharing options...
emopoops Posted November 19, 2009 Share Posted November 19, 2009 is there a way to tell i they are sending the proxy vs the regualr one? Link to comment https://forums.phpfreaks.com/topic/182116-disallow-users-with-no-ip-to-site/#findComment-961392 Share on other sites More sharing options...
Daniel0 Posted November 19, 2009 Share Posted November 19, 2009 Not definitely. You could just program the proxy to act like a regular client without providing any information that reveals it's a proxy. Even so, banning with the sole reason of using a proxy is ridiculous. Link to comment https://forums.phpfreaks.com/topic/182116-disallow-users-with-no-ip-to-site/#findComment-961437 Share on other sites More sharing options...
emopoops Posted November 19, 2009 Share Posted November 19, 2009 how are u supposed to ban then ? cause if u ban by ip.. and they switch their ip... they arent banned anymore are they. so how are u supposed to ban? Link to comment https://forums.phpfreaks.com/topic/182116-disallow-users-with-no-ip-to-site/#findComment-961467 Share on other sites More sharing options...
Daniel0 Posted November 19, 2009 Share Posted November 19, 2009 The internet was invented in a time where everybody who was on it would be able to know who everybody else were in real life. If you want to keep people out, use whitelisting instead of blacklisting, otherwise it's impossible. Consider this: Which place do you think it's most likely that some random trouble maker starts a fight? 1) The local pub/nightclub that everybody can get into (possibly with a door man checking against a quarantine list). 2) The closed party requiring invitations and with door men checking for invitations. Link to comment https://forums.phpfreaks.com/topic/182116-disallow-users-with-no-ip-to-site/#findComment-961490 Share on other sites More sharing options...
emopoops Posted November 19, 2009 Share Posted November 19, 2009 well stated. Link to comment https://forums.phpfreaks.com/topic/182116-disallow-users-with-no-ip-to-site/#findComment-961500 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.