Url binding on web.config location element
I have one site containing several bindings, in example
www.page.com
private.page.com
The www.page.com does have a gallery, ie www.page.com/gallery and so does
the private subsite, private.page.com/gallery
Since I've implemented a .net membership system I like to use the built in
location elements to restrain access, the example below does the trick
just fine
<location path="gallery">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
But I'd like to have it affecting the private.page.com site only. Is there
a way to handle this in web.config?
Thanks
No comments:
Post a Comment