LunaNode / lobster

Hourly billing panel for virtual machines
http://lobster.lunanode.com
Other
84 stars 22 forks source link

API: action / IP restrictions #12

Closed uakfdotb closed 9 years ago

uakfdotb commented 9 years ago

Users should be able to restrict their API key to only be accessible from certain IP addresses, and also to limit the actions that can be used.

uakfdotb commented 9 years ago

I'm thinking something like this: for IP, comma-delimited list of IP addresses or CIDR notation blocks. for IP restrictions, JSON-formatted list of path/method pairs (both path and method can contain wildcards).