Cardale Posted November 19, 2009 Share Posted November 19, 2009 How can you not allow users with no ip to view my web server? Quote 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? Quote 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. Quote 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? Quote 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 Quote 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. Quote 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. Quote 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? Quote 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. Quote 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? Quote 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. Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.