I been trying to make a IP Ban for my Website but do not know how. Can Somebody help some help. Please and Thank you!
- Jake
I been trying to make a IP Ban for my Website but do not know how. Can Somebody help some help. Please and Thank you!
Hi Jake,
Let me know if you need further helpâŚ
Tal
nocodify.com
So I did Step #1! But Am a bit Confused on 2 & 3! Am Kinda new to Bubble, So can you try to explain a little bit more clearly? Thanks!
-Jake
Sure,
So you can add a data field to the User data type : âIPâ
Then, on sign up (or somewhere else) youâd want to collect the Users IP. So add iphiphy to wherever on the page and collect the Users IP in the workflow.
Then, Iâm not too sure of your process for banning Users⌠but youâd have a data type called banned IPâs and add IP Addresses you want to ban.
Lastly, youâd add events on your pages such as "Page is loaded and Banned IPâs Contains Current Userâs IP ⌠do X (Log them off? Navigate to a different page? Etc.)
Something like that!
Hi Tal,
Well I am still Cconfused on this. Here is what I need Hhelp again with:
What Type of Dataa Type?â For The 1st & 2nd One
What Event Do I trigger? â [Custom Eevent?] [Plugin Event?] [iphiphy Event?] [Page Is Loaded E vents?]
-Jakes
(Sorrsy if I spelt something wrsong or you do not understand it. My PC Keyboard jst goes Crazy.)
Hi Jake -
Go ahead and watch our IP Address tutorial at Nocodify.com. I think youâve signed up for an account. Itâll help you understand how to ban IP AddressesâŚ
Tal
Welp, am poor. Am going to just try to figure it out, Thanks for trying to help me tho!
-Jake
Hey Jake,
To help clarify a bit;
The next step is to add a userâs information to your database.
If you donât want a user to be able to sign into their account if theyâve been IP ban, I usually just add a condition to the login and sign up.
But what if I wanted to IP Ban Them from a repeating Group?
You can place a button in a RG, create a workflow for it, instead of âAccountâ go to âDataâ, click on âMake changes to thingâ and do that.