Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 1881

IP restrictions block all except one does not work

$
0
0

Hi, 

Our website is hosted on one of our Azure virtual machines. I'm trying to restrict all IP access to our site except one particular IP address. I have the following configuration at my Site level.

steps which I took:

1) added Allow entry to my IP address

2) set edit feature settings to deny with ticked enable proxy mode.

It restricts access without applying to allow entry. I know that it works because when I change deny action type, I get the relevant error message.

I did try applying restrictions in a different order, i.e. apply edit feature settings first and then add allow entry. The result is the same - I cannot access the site.

If I set edit feature settings to Allow and add deny entry to my IP, it just blocks my IP but allows access from other IPs, which is the expected behaviour. I just can't make it work to block everything except my IP.

Any ideas what I'm doing wrong here?

EDIT : I did try applying restrictions only in my app web.config file

however, no joy either


Viewing all articles
Browse latest Browse all 1881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>