Hi, I am facing some difficult regarding the security of the application I am building.
This question is directed towards people who are familiar with Parse Server.
Let's say I am building a social networking app (an Android app to be precise) and there is a feature about 'friend requests'. This is how I have planned to implement it: I have a Parse Class called "FriendRequests" and each user has a record/document in that class. The class contains just two columns: 1) The userID 2) A ParseRelation containing a list of the all other users who have requested to be this user's friend.
The problem I am facing is how to properly secure the FriendRequests Class. I want to design it in such a way that only the user can view and edit his record to determine the friend requests he has received. I can do this by setting the ACL permission. But if i do this, how can other users be added to this user's friend requests ParseRelation. Hope you get what I am saying.
It would be of great help if someone could guide me about how I solve this problem.
This is my first post on the group so if i have any mistake, i hope all you can ignore :)
Okay, now i want to develop a simple application can get real location my android phone (approximate) and send the cordinate to a simple server that i build.
Time interval is about 1 minute for each of sending.
When i enter (My phone) a pre-defined area then my server can detect it and do some action i want.
So what should i do or what reference that i can refer to in this context ?