I’m trying to build an app that gives access to a file stored on storj based on the fulfillment of a condition in a smart contract on ethereum. (I.e if this happens, then you can have access to this file).
I figured out that I could do that with macaroons and third party caveat (if user is authenticated on a this 3rd party DB - my smart contract - then you can read file)
Am I correct to think this ? If yes, is this functionnality available on storj ?