Ask coding questions

← Back to all posts
How to "ban" a user from ejs site
OwenKnowles1407 (1)

Hi!
How do I remove a users access from an EJS site?

Comments
hotnewtop
Coder100 (18101)

ejs doesn't ban people, its just a template engine.

You could remove them from your database.

OwenKnowles1407 (1)

By "ban" I mean removing someone's access to the website in their browser. @Coder100

Coder100 (18101)

well
you would need to get access to the user's IP
which you can't do, as it is against the TOS. @OwenKnowles1407