hello i have a question and i hope someone can give me some clues.
i have a data base collection which include many data items such as user name , pictures, user company etc. currently, i made a query service so that once user input the company name, he can get all data that having this company name. But apparently, this is not safe enough. Once another user knows this company name, he is also able to view this company's data. How can I solve this issue? I was trying to refer the recover password tutorial by generating a random code every time and sending it the user's email address as a verification code but I don't know how to make it happen. Please advice or you have better suggestion.
Thanks a lot!!