If another company plans to load my website in their apps as my website is public, is there a way to detect requests originated from my app vs other apps in iOS, so that I can Identify a block the requests?
I have tried Setting custom "User-Agent" in request headers or other custom headers but that was mimicked by the other app.
Android has "X-requested-with header" that is in request headers by default with application ID, is there any similar header in iOS ? The header value can also be changed by other apps to match my app ID but for POST requests, requesting images the workarounds are slim.
Edit: As an example, If there are two iOS apps, Good and Evil, if they both load the same URL on WKWebview, How would you distinguish from the server side the difference and block or restrict Evil app.
Considering app ID is the unique ID, does WKWebview append it to request headers or part of the request that cannot be changed?