Is it possible to limit access to a Perspective access to only the app when on mobile? I want to prevent browser access from mobile devices.
Thanks in advance.
Is it possible to limit access to a Perspective access to only the app when on mobile? I want to prevent browser access from mobile devices.
Thanks in advance.
I don't think you can. Do you have control over the devices used to run the project? I assume it would need to be implemented at the device level.
Not direct control. It is a bit of a weird situation due to scope creep. The device id reports android or ios when using the app but reports browser when using a browser.
The problem is I want to allow access from a browser from a normal desktop.
But it seems like Ignition can't differentiate between the browser on a phone and the browser on a desktop without implementing some sort of hostname lookup.
Maybe look into the userAgent
property of the device
session property?
Device Properties​
Note that the user agent is not a remotely reliable indicator and can be readily spoofed - it's just an arbitrary string sent by the client.
Fine for obfuscation, not a replacement for actual security.