I have an apache config where I whitelist IPs to a non-WordPress subfolder like this:

```
<Directory /var/www/html/link>
Order allow,deny
Require all granted

#Our Network
Allow from ip-address/22
Allow from ip-address/24
Allow from ip-address/24
Allow from ip-address/24
#and even longer list of IPs and other folders
</Directory>

```

I would also like to allow people who don't belong to this IP block but have user account. Is there any way to do this?