Access list when creating an account
I'm creating a login system, I need an access list in it. Who can I allow to log in and who can I refuse.
My model:
If the data in the database is a regular string, there is no problem finding it.
The problem starts when I want to do a regex.
For example: we have a username, we can do e.g. fuck, fuuck or some variation of it. (I'm not strong in English).
It would be nice to do it with regex, now the question is how to search for such data in the database? Also, won't the regex become very slow at some point? The plus is that we search short phrases (max 320 characters).
4 Replies
Your question is not clear, what are your trying to do with regex?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
It doesn't have to be a database, I wonder if there is any other way than foreach and try every possibility.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View