Can I do IP BAN on WEB (P5)?

Can I do IP BAN on WEB (P5)?

hello. Thank you for your interest in my article.

We confirmed that there is an ‘IP BAN’ function in ‘WEB’ that we use.

Is there any way to do ‘IP BAN’ in ‘P5’? Or do you have a ‘solution’ or ‘example’?
I’m curious and upload it.

Hi @GWAK,

In general this is only possible server side. If you want to block a IP you can block it on the server by several methods (on system level, on apache, on nodejs, etc)

For sure you can also fetch the address on client side with ie ipfy.org API request and show ie error message, but that’s not a serious approach. :slight_smile:

Cheers
— mnse

2 Likes

@mnse

Thank you for answer. I see what you mean.