I have a CloudKit app that has data in publicDB. This is secure data that's able to be created and read by any authorized user, but I limit that based on the querys my app makes. For example, a data object stating a relationship to user A and user B, but not user C won't ever be queried by user C.
I'm concerned about the possibility of somebody potentially jailbreaking/hijacking my app and performing queries which an authorised app has the ability to do, but wouldn't ever do. How can I be sure that an 'Authenticated' user is in fact a genuine authenticated user using my app normally, and not some third party injecting code into my app?