Using web.config directory security and extensionless urls
- by Matt Brailsford
Hi Guys,
I'd like to use the built in directory security features built into the web.config to restrict access to child pages of a parent page. My structure is as follows:
Members
Members/News
Members/Press
Members/Movies
Users should be able to have access to the members parent page, but not child pages. My problem is, because I am using extensionless URLs, the web.config thinks this is a directory and so access is blocked. Is there a way to say only restrict access for sub pages?