There’s something I don’t get.
By default we have in the config:
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 https://github.com/ipfs/js-ipfs-http-client#files ? 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)