Platform - iOS 9+
My Customer Requirement for iOS: For security reasons, block iOS user from logging in to any website on the device (logging into specific apps are allowed)
1. User clicks on a link (from anywhere, say, email, app, SMS etc)
2. Link opens in the user's default browser (Safari/Chrome/anything)
3. I want to "look" at all the incoming HTML content of all such HTTP(S) traffic
4. If the HTML DOM of the requested page contains type="password" element in it, I want to block the user from visiting the page with a customizable message (that the customer will provide)
I recently came across NEFilterBrowserFlow but cannot find any sample code anywhere.
Questions:
1. Is NEFilterBrowserFlow the right class to accomplish my above usecase? If not, can anyone help with any suggestions of how to do this?
2. Can someone help with any sample code of how I can do this?
3. Can you share links to any sample code of NEFilterBrowserFlow?