Is it possible to bypass an Application authentication redirect for a particular service behind a Cloudflare Tunnel when using the service’s iOS app (which includes a particular header)?
SecuritySpy is a macOS application for CCTV camera feeds. It offers a web interface that can be remotely accessible if you open a particular port, and the iOS app can access live and recorded camera feeds via this same open port.
Instead of opening a port on my router, I use Cloudflare Tunnel that offers a simple redirect to the web interface via a specified hostname. I would like to enable “Protect with Access” via an Application to provide an additional authentication layer to the log on page, and it’s this that I’m looking for advice on please.
Looking at the tunnel debug logs I can see the following common identifying header:
“User-Agent”:[“SecuritySpyViewer/287”]
Is it possible to set up an allow policy so that when a client (such as the iOS app) supplies this header, it bypasses my authentication redirect please?
Thanks in advance.