Web Hosting Talk







View Full Version : Local chat question


Methen
03-02-2010, 10:32 PM
Is there anyway to set up a chat so that only people in your state can access it ?

bentink
03-02-2010, 10:40 PM
You can use htaccess to do that by IPs

MikeDVB
03-02-2010, 11:01 PM
There's no 100% way to enforce such a limitation and if you were to block all IPs but the ones associated with your state you would have a tremendously huge list of IPs... Then also if you were to only allow IPs that were associated with your state chances are you're going to miss more than a few.

Methen
03-02-2010, 11:02 PM
oh so short of requiring people to submit some scanned id there is pretty much no way to do so then ok thanks

SC-Daniel
03-02-2010, 11:03 PM
You could try using something like GeoIP and adjusting the application to utilize this to only allow certain states/regions. Not fool proof, though.

Methen
03-02-2010, 11:07 PM
What about the htacess thing would that work ?

MikeDVB
03-03-2010, 01:03 AM
What about the htacess thing would that work ?

You would need to use a list of hundreds of thousands of IP addresses either way to make it work - realistically it's not feasible. If you try doing it with a shared provider you're going to likely end up causing issues and end up suspended/terminated.

You would need a custom coded plug-in for your chat script that would do a geoIP check on the visitor/chatter and then block/accept them based upon that output.

Methen
03-03-2010, 10:56 AM
You would need to use a list of hundreds of thousands of IP addresses either way to make it work - realistically it's not feasible. If you try doing it with a shared provider you're going to likely end up causing issues and end up suspended/terminated.

You would need a custom coded plug-in for your chat script that would do a geoIP check on the visitor/chatter and then block/accept them based upon that output.

Understood Iam considering going with a vps account I wrote that geoip thing last night I just waiting to get a answer I go to a lot of so called local chats
problem is every one in the chat is from every where but where the chat is founded, to me that can not be consider a local chat.

caisc
03-05-2010, 03:31 PM
Is there anyway to set up a chat so that only people in your state can access it ?

I think you shud try LIVEZILLA, there you can track visitors geographically and while tacking a particular area you can block/unblock users from specific location.