This is a discussion on Multi folder web app within the .Net Development forums, part of the Programming & Scripting category; So how can i handle it all from root web.config?? I have the code in my first post above. What ...
| |||||||
|
#11
| ||||
| ||||
| So how can i handle it all from root web.config?? I have the code in my first post above. What changes wud i need?
__________________ Get the Mantra! |
|
#12
| ||||
| ||||
| Add something like the following: Code: <location path="DirectoryName">
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>
__________________ jmurrayhead If you agree with me... click the icon! If my post solved your problem, click the button in the lower right-hand corner of the post.If you like it here...throw us a few bones to help support us. Join our Folding team: DeveloperBarn Folding |
|
#13
| ||||
| ||||
| I have that J, do i need to do something with this portion?? Code: <authentication mode="Forms">
<forms name="site" loginUrl="default.aspx" protection="All" path="/" timeout="30">
</forms>
</authentication>
|
|
#15
| ||||
| ||||
| Code: <location path="Admin">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<location path="Members">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<system.web>
<authentication mode="Forms">
<forms name="site" loginUrl="default.aspx" protection="All" path="/" timeout="30"></forms>
</authentication>
</system.web>
|
|
#17
| ||||
| ||||
| Quote:
Plus i had security in my mind too. |
|
#19
| ||||
| ||||
| Quote:
If thats what you mean, then its just the way i preferred (diff folders). Plus i could handle security for each folder by <location> nodes. Am i missing here anything J? |
|
#20
| ||||
| ||||
| Yes, you could also have all the pages in the root...but I prefer to have separate folders. There seems to be confusion on what a Virtual Directory is. You DO NOT need the subdirectories to be setup as Virtual Directories in IIS. Only the root directory of the application. All other directories are just normal folders. |
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Another Folder Permission Issue | Rebelle | Microsoft IIS | 7 | February 11th, 2009 11:01 AM |
| Permission to make changes to xml in folder | micky | Microsoft IIS | 11 | October 23rd, 2008 08:13 AM |
| Shared folder issue | Rebelle | Microsoft Windows | 5 | August 18th, 2008 10:39 AM |
| Multi Prints with Watermarks | AOG123 | Microsoft Access | 1 | July 9th, 2008 09:21 AM |
| Make File/Folder restricted to only certain users | Rebelle | Microsoft IIS | 16 | March 26th, 2008 02:06 PM |