I am pretty new to IIS and I want to secure access to a management console of a web app.
By design of application there's a virtual directory that's intended for public access, but at the same time there's a file for management console access in the same directory, so blocking access to subdirectory would not work.
Can I limit access to this file using web.config
and only permit access from specific IP subnet or something similar?
PS. Also can I create web.config
file for a subdirectory like we can place .htaccess
file anywhere if we permit that?