Is there some ready to use solution available on platform for restricting access to the API based on user’s IP address?
If no, then could you suggest us some possible solution, please?
Some thoughts on topic:
We can restrict access to the resolvers by checking the
X-Forwarded-For header and comparing it to the allowed IPs for the particular user. But that doesn’t help us with restricting access to the API for reading data.
In my view it would be perfect to have a special variable
__loggedInUserIP which we can use then in the role permission’s filter like other variables we already have https://docs.8base.com/docs/8base-console/roles-and-permissions#dynamic-variables to check it against some custom made field in the User’s table.