Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Purpose of requirePermission attribute (web.config)

Tags:

.net

asp.net

What does the requirePermission attribute in the <section> element do?

For example:

<configuration> 
  <configSections> 
    <section name="urlrewritingnet"   
             restartOnExternalChanges="true" 
             requirePermission ="false"  
             type="UrlRewritingNet.Configuration.UrlRewriteSection, 
                   UrlRewritingNet.UrlRewriter" /> 
  </configSections> 
</configuration>

There is no mention of this attribute in the official documention. But, seems to be used in a lot of places.

like image 265
maxyfc Avatar asked Oct 30 '09 13:10

maxyfc


1 Answers

The behaviour resulting from this setting is documented at http://msdn.microsoft.com/en-us/library/system.configuration.sectioninformation.requirepermission.aspx.

like image 109
Nicole Calinoiu Avatar answered Nov 04 '22 08:11

Nicole Calinoiu