aria2 JSON-RPC proxy
The current main goal is to address this issue by making dir option more formalized and restricted. With aria2-proxy, you can specify a target directory whitelist (using env variable ARIA2_PROXY_DIR_WHITELIST, see .env.example) - so that files could only be downloaded to these directories.
If proxy gets a RPC call containing dir option, it checks if specified dir is in the whitelist.
- If it is, the call is transparently proxied to the actual aria2 JSON-RPC server
- If it is not in the whitelist, error is returned
'Checked' methods: