You are viewing a single comment's thread from:

RE: DTube 0.2: Faster to serve videos, Stronger to resist censorship

in #dtube7 years ago

Could you please explain these lines in your shell script?

ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin "[\"*\"]"

ipfs config --json API.HTTPHeaders.Access-Control-Allow-Credentials "[\"true\"]"

ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods "[\"PUT\", \"POST\", \"GET\"]"

It seems like I would be opening up my IPFS instance to be controlled by anyone throwing commands at it. How can I be sure I'm only letting your "pin on upvote" function have access to pin things on my node?