How to restrict traffic access to my website and IOS App only

firewall
whitelist

#1

Hi, could you please tell me how can I restrict access of the traffic to my IOS app via couldflare?

The thing is, I can restrict access only to my website, for example if someone ties to access my websites asset files or media from outside of my website will get error, but cant find a way to do same for my IOS app :frowning:

Need to allow access to website and IOS app only, for both.

Thanks


#2

My website got IP so I can white list it in cloudflare, but the IOS app got no IP, how to allow that as well?


#3

#4

We dont use webview, we use native IOS app connected to Wordpress rest api, the wordpress is on cloud flare and with whitelisted IP, and it works fine, but the IOS app cant access to media files etc as its restricted for exact IP.


#5

The same rules apply as in the linked thread. The easiest way will be a custom user agent, though that is certainly not the most secure way as others could still send the same value and pass such a rule.


closed #6

This topic was automatically closed after 30 days. New replies are no longer allowed.