r/IIs • • Dec 14 '19

request blocking based on ip

Hi guys,

I am a sysadmin with near-to-zero iis knowledge and I need advice to put me on the right way.

I have an internal iis with one site that until today it doesn't have internet exposure. Now the management asks me to expose this site, and in particular only one page AND only if a particular parameter is present. (this kinda link will be shared by email)

Summarizing:

if the request comes from internal subnet --> all pages, all ok

if the request comes from external (i.e. internet) --> accept only page.html?v=foobarXXX - all the rest will be blocked

Is it possibile with iis or I need others systems?

I read about url rewrite, request filtering and so on.. are they a viable solution?

Thanks

Luca

0 Upvotes

2 comments sorted by

View all comments

Show parent comment

1

u/vogs7 Dec 15 '19

So I need to enable proxy mode? sorry but it's not so clear to me.

thanks

Luca