title: How to create <location> tag in web.config file?
body: <p>Is it possible to add location tag dynamically with c# in web config?</p>
  
  <p>for example, I want to add:</p>
  
  <pre><code>  &lt;location path="a/b"&gt;
      &lt;system.web&gt;
        &lt;authorization&gt;
          &lt;allow users="xxx"/&gt;
          &lt;deny users="*"/&gt;
        &lt;/authorization&gt;
      &lt;/system.web&gt;
    &lt;/location&gt;
  </code></pre>
  
  <p>The folder b is created on run time, and I want to add an access to the user which created it.
  The number of the folders created is unknown.</p>
  
  <p>I use forms authentication.</p>