How to check a request from a local host using ASP.NET technology

I implement a closed page where it only publicly requests local hosts , not external ones.

What technical stacks can I use to check query sources? Thanks.

+7
source share
1 answer

you can check it using the bool Request.IsLocal property

+24
source

All Articles