I am developing an android application and in the future also for IOS, and I use a server in PHP.
Is it possible for my server to know the source of the application sending the requests?
For example, if someone modifies the apk of my application and creates another one, they may have access to all the security data that is received with each request. This can make it easier for the attacker to understand how my server works and can either send attacks or create another application and even send it to the playstore, selling data from my server.
Is it possible to discover and prevent a certain user from using a modified application? Is there a security method for this?