Re the video "Securing your Xano APIs"
Options
![Mr_English](https://us.v-cdn.net/6037124/user_avatars/1271230.jpg)
Mr_English
Member ✭
in ? Security
@Chris Coleman Thanks for that very helpful video. My app will be public facing and I assume the worst at all times.
My question is: In Xano, is there a way to block traffic from specific countries?
Best Answer
-
You can check headers for the source IP of the client making the request to your endpoint by checking the $http_headers "env" variable. geolocate the IP address using one of the services out there to validate. You can put all this into a custom function that you write once, but can apply to all of your API endpoints.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback