2

This is related to securing an application on a corporate network against certain types of access from personal PCs and mobile devices.

Specifically we are able to require authentication from the users so we do know who they are. The current ask is just to block access to parts of the application from a mobile device. The application relies on the user-agent string to determine if it is being accessed through a mobile device.

Is there a way, on a mobile device (e.g. iPhone, iPad, etc.) to spoof the user-agent string and if so, how would that be done?

1 Answer 1

3

This is trivial to change in iOS/iPadOS. It's a user pref, buried deep but not actually 'hidden'.

Settings -> Safari -> Request Desktop Website -> All websites

This will present a 'Mac' Safari user-agent.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .