vasanthv / jsonbox

HTTP-based JSON storage.
https://jsonbox.io
MIT License
2.49k stars 173 forks source link

[feature request] allow IP whitelisting to access self hosted jsonbox #69

Closed aakashlpin closed 3 years ago

aakashlpin commented 4 years ago

Hey Vasanth,

Great work with jsonbox. Would you be open to the idea of having a config variable that allows for whitelisting an array of IP addresses for accessing self hosted jsonbox?

This would allow for the service to reside on a public IP address but be accessible only via VMs like on on DigitalOcean, or my local IP address etc. Would also make for quick way to spin up a private DB in the cloud where no stranger can simply create a record on my jsonbox.

Happy to raise a PR for this one if you'd like.

vasanthv commented 3 years ago

I like the idea, feel free to raise PR. I would make the * or 0.0.0.0/0 be the default.

harlev commented 3 years ago

created #74 to address this request