Hi,
There’s something I don’t get.
By default we have in the config:
"API": "/ip4/127.0.0.1/tcp/5001",
And on https://docs.ipfs.io/guides/examples/config/ it is advised not to change it:
You should ensure that this address is not dialable from outside of your machine, or other potentially malicious parties may be able to send commands to your ipfs daemon.
- How exactly are we supposed to use the parts of the API useful to upload content from our dApps ? Like all the add* methods on GitHub - ipfs-inactive/js-ipfs-http-client: [ARCHIVED] now part of the https://github.com/ipfs/js-ipfs repo ? Is there a way to expose only a subset of the API ?
- How does Infura do? They seem to expose only a part of the API (can’t add the link because I’m a new user here, sorry)
Thanks