9

I'm working on a web service and need to restrict users from signing up with certain usernames such as admin, root, etc.

I know this is a common problem that everyone goes through when developing a new service, so thought there should be a database or at least some examples of commonly banned usernames for websites, but couldn't find it on Google. I guess I'm not searching it with the right keyword.

Can anyone point to a resource on this?

4

1 に答える 1

3

私はグーグルでこれを見つけましたhttp://fffff.at/googles-official-list-of-bad-words/

他にもたくさんの結果がありますが、コピーして自分のスクリプトに貼り付けたいだけなのか、禁止されている単語を知るためだけに読んでいいのかわかりません。

これを自分で実装する場合は、スカンソープの問題に注意してください。これは基本的に、スペルに悪い単語が含まれているため、適切な単語が禁止される場合です。

あなたの投稿から判断して、ユーザー名にこれが必要な場合は、ユーザーを作成させます(存在しない場合)が、モデレーターに通知を送信します。それが本当に悪い言葉である場合は、名前の変更を強制し、完了するまで禁止します.

于 2012-03-19T09:24:58.433 に答える