I have been reading about giving data access from a smart contract, but I could not find good and precise documentation/information about that. I would like to make a smart contract where a user gives access to its data to another one.

Could anyone explain to me how it works? Where can I find good information about that? Is there any example of a smart contract which gives data access?

closed as too broad by shane, Shawn Tabrizi, user19510, flygoing, Ismael Nov 19 '18 at 20:27

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.