Difference between revisions of "Customizing authorization"
(jrfconvert import) |
|||
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:Settings:_Technical_logic]] |
+ | {{HelpFiles_Deployment}} | ||
| | ||
− | + | ==Customizing authorization== | |
− | ==Syntax== | + | ===Syntax=== |
<location path=""> | <location path=""> | ||
Line 20: | Line 21: | ||
</location> | </location> | ||
− | ==Remarks== | + | ===Remarks=== |
<location>: point to a folder/file inside the website folder that needs to be applied a special setting rather than the inherited setting (from the application folder). There are four paths that we need to configure: Guidelines, RequestPassword.aspx, /Common/WaitingPage.aspx, and Images. | <location>: point to a folder/file inside the website folder that needs to be applied a special setting rather than the inherited setting (from the application folder). There are four paths that we need to configure: Guidelines, RequestPassword.aspx, /Common/WaitingPage.aspx, and Images. | ||
Line 30: | Line 31: | ||
'?': all non-authenticated, or anonymous, users. | '?': all non-authenticated, or anonymous, users. | ||
− | ==Required setting== | + | ===Required setting=== |
<location path="Guidelines"> | <location path="Guidelines"> | ||
Line 115: | Line 116: | ||
</location> | </location> | ||
− | |||
− |
Latest revision as of 04:33, 5 January 2012
<accesscontrol>Main:MyGroup</accesscontrol>
Customizing authorization
Syntax
<location path="">
<system.web>
<authorization>
<allow users=""/>
</authorization>
</system.web>
</location>
Remarks
<location>: point to a folder/file inside the website folder that needs to be applied a special setting rather than the inherited setting (from the application folder). There are four paths that we need to configure: Guidelines, RequestPassword.aspx, /Common/WaitingPage.aspx, and Images.
<allow users>: we use the two following types of authorization:
'*': All users, including authenticated and anonymous users.
'?': all non-authenticated, or anonymous, users.
Required setting
<location path="Guidelines">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="RequestPassword.aspx">
<system.web>
<authorization>
<allow users="?"/>
</authorization>
</system.web>
</location>
<location path="Common/waitingpage.aspx">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</</system.web>
</</location>
<location path="Images">
<system.web>
<authorization>
<allow users="?"/>
</</authorization>
</</system.web>
</</location>
<location path="CommunicatorModule/webservice">
<system.web>
<authorization>
<allow users="?" />
</authorization>
</system.web>
</location>
<location path="CommunicatorModule/SMS">
<system.web>
<authorization>
<allow users="?" />
</authorization>
</system.web>
</location>