Page 1 of 1

is it possible to generate a unique code in order to view some specific data every time?

Posted: Wed May 27, 2015 3:09 am
by AC

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!!


is it possible to generate a unique code in order to view some specific data every time?

Posted: Wed May 27, 2015 7:59 am
by Serhii Kulibaba

Hello,

Please generate GUID in JavaScript like here: http://guid.us/GUID/JavaScript


is it possible to generate a unique code in order to view some specific data every time?

Posted: Thu May 28, 2015 12:39 am
by AC

hi sergiy, my concern is here how to protect users' data with appery. There is function in my app that allow user to view all data from the database by inputing company name. But if another company knows that this company is using this app and input the company name, that will cause data leaking, I just dont know how to solve this critical safety issue by using appry. please help


is it possible to generate a unique code in order to view some specific data every time?

Posted: Fri May 29, 2015 3:34 am
by AC

any help please?


is it possible to generate a unique code in order to view some specific data every time?

Posted: Fri May 29, 2015 11:38 am
by Alena Prykhodko

Hello,

You will need to set up ACL permissions https://devcenter.appery.io/documenta...