Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Customizing authorization: Difference between revisions

From Catglobe Wiki
jrfconvert import
 
Cg_pham (talk | contribs)
No edit summary
 
Line 1: Line 1:
[[Category:HelpBooks]]
[[Category:Settings:_Technical_logic]]
{{HelpFiles_Deployment}}




====Customizing authorization====
==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>
__NOTOC__
<!-- imported from file: 844.htm-->

Latest revision as of 03: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>