Jump to content


Photo

banning users


  • Please log in to reply
4 replies to this topic

#1 derek.sullivan

derek.sullivan

    Jedi In Training

  • Members
  • PipPip
  • 343 posts
  • Gender:Male
  • Location:Georgia
  • Interests:preaching, programming, music, friends, outdoors, moves, books

Posted 09 April 2011 - 03:14 PM

So I've been curious as to how to ban users from certain programs or pages on my website. I know the most famous way is by I.P. address but I've heard allot of flings saying that I.P. banning is good, but it wont return the result you want necessarily (i.e: you may end up banning more than 1 user, and people have proxy servers etc etc)

So, what you would recommend for banning users?

#2 Hayden

Hayden

    P2L Jedi

  • Members
  • PipPipPip
  • 717 posts
  • Gender:Male
  • Location:Texas

Posted 09 April 2011 - 08:08 PM

A combination of different things is probably what is in order.

  • Restricting any action other than viewing to require a user name
  • Ban the username
  • Restrict what new accounts can do the first few posts or days (moderation)

On the bans on the account, might need to check if they are using a gmail account or use Google FriendConnect, otherwise all they have to do is change add a period somewhere to make your page see a different email.

#3 Hayden

Hayden

    P2L Jedi

  • Members
  • PipPipPip
  • 717 posts
  • Gender:Male
  • Location:Texas

Posted 17 April 2011 - 08:51 AM

I guess this thread didn't become very popular. :(

#4 rc69

rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 17 April 2011 - 10:55 AM

That's because there aren't very many effective options. The best one is pretty much what you said:
1. Ban everybody
2. Force some kind of username authentication
3. Give authenticated users permission to do what ever
4. Build in the ability to add exceptions for those authenticated users you want permanently banned.

Even with that system, the banned user can just re-register under a different username and gain access again (hence the spam problem).

#5 Hayden

Hayden

    P2L Jedi

  • Members
  • PipPipPip
  • 717 posts
  • Gender:Male
  • Location:Texas

Posted 17 April 2011 - 07:04 PM

In regards to spam, Akismet started out primarily for Wordpress but they've opened up a bit where you can use the service in other apps. I added it to a punbb forum and it worked nicely.


Sort of relevant, I know someone that would ban by IP but would hash the IP address to maintain anonymity of the poster but still enforce bans of sorts.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users