How to use Rule ' Block Access to File" when logging into Nextcloud from Outside IP

Hello Forum,

I’m using Nextcloud 19.0.3 and I’ve installed Flow - Block Access Rule.

I have a need to only allow access to a users files/folders in Nextcloud when they are logged in locally in our office. But I also have a need to allow outside our office login to Nextcloud for access to an External Site App our employees use. I want to confirm if the Block Access to File rule could be used in this situation to help me control access to Nextcloud Folders and Files if an employee is not logging in from inside our Lan.

Or is there another way I can limit this using another app in Nextcloud.

Thank you.