Me and my friend are making a website which has a chat room on it. However since we do not have access to servers, and thus cannot use php or other languages used to make profile systems, the closest we can come is having a prompt appear to ask for a nickname, which can be changed to anything at any time. However this had lead to abuse.

Recently a rather odd group appeared calling themselves a "cult" that apparently surrounds me since im the owner of the site (Don't question it I guess?). They are constantly impersonating me and other important testers/mods on the chat to spread misinformation and lies across the site. On top of that they are saying "not so clean" things under our names too. It is getting extremely annoying and is hurting the reputation of our site. As a result I was forced to bring down 2 major parts of our site, the chat, and one of our popular games that had the same nickname prompt for awhile, they are up now because we have an active NSFW filter running. However we still have the impersonation problem.

Unfortunately due to the previously stated problem with the profile systems, We don't exactly have a system to identify moderators or admins officially. Our best course of action (Without the profile systems) to punish people is just to prevent the username that was punished from being able to be used as a username by filtering it.

How do I deal with this or make it so people can't have the same usernames as somebody else so that I can bring parts of the site up again? This is a very bad problem so I would prefer a solution that isn't able to be bypassed in two minutes please.

  • I guess to stop impersonation, you need a method to identify who is a real moderator. This will need something in the backend to display a star, diamond of whatever next to a moderator to distinguish them from other users
    – Compositr
    Jan 22 at 22:16
  • I could ask my friend if he knows how to put something together that displays a star on certain IP addresses, but thats all I can think of. Jan 24 at 4:24
  • Do keep in mind an IP address changes regularly, unless they specifically request from their ISP that the IP is static which usually costs a fee.
    – Compositr
    Jan 24 at 6:29
  • 1
    They do? That complicates things.. Jan 24 at 7:36
  • 1
    Maybe we could have some sort of input area in the chat, where mods could enter a secret password and gain access to some sort of either an indicator or mod commands, that seems pretty simple to make Jan 26 at 14:45

2 Answers 2



A possible solution (as discussed in the comments) could be adding a second field to the chat, where moderators could input a "password" or "modstring" which would display a badge or give them moderator powers if they get the correct password.


Something to keep in mind whilst implementing this is to never send the modstring or password over the internet unhashed or unsalted. This is probably off topic for this site, but a simple search provides some implementations on how to handle passwords.

Once the data reaches the server, it will probably be simple to verify that it is a correct password.

You might also want to add a checkbox which hides the badge (for that particular message) if the moderator does not wish to show their badge.


There are two different ways to constrain bad behavior:

  • through technology
  • through policy

You basically need to do both. The first thing needed is a solid set of policies that are specific enough to lay out what is against the rules but flexible enough to last over time. You should lay out what some specific things (Impersonation, unacceptable usernames, etc) that violate policy and what the action taken against those users will be. Otherwise, when you take action, they're just going to say that they didn't know. Take that excuse away from them.

Only once you've got appropriate policy in place should you consider building technical means to enforce that policy. But the surest way to avoid argument when you inevitably use that tool is to tie it to a long-established policy.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.