• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

People pretending to be someone else

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
1 post • Page 1 of 1

Postby waiheke » Mon Sep 13, 2010 3:11 pm

It happens.
Let's say someone logins as a guest then changes their name to a well-known entity.
Under cover of that nickname they could behave inappropriately.

The first thing to do is turn off the change nick, and limit the characters.
Then look at the the user name you want to protect.
Let's say it's "zebra"

zeebra, zeabra, zebraa, all convey the impression it could be the person "zebra"

Password protect the user "zebra" (there's other threads on that)
Then for the possible others:
If the login name is $n ..


if ($n == "zee") {
include "oops.php";
exit;
}
if ($n == "zea") {
include "oops.php";
exit;
}
if ($n == "ebraa") {
include "oops.php";
exit;
}


My oops.php says loading and will do that forever - it never does anything.
You could of course simply have an error message - but that's no fun.

:-)
waiheke
Member
 
Posts: 126
Joined: Sun Sep 12, 2010 4:33 pm
Top

Post a reply
1 post • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 14 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
cron
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub