Skip NavigationBack to HomepageContact Me!Print this page!

Private folders

Private folders is an IWS feature that allows to restrict access to certain folders in a web site. This feature utilizes the following ASP.NET technologies - authentication, membership, role management and authorization.

The following steps are required to set up a web site using private folders:

  1. Define roles using the Web Site > Settings > Roles dialog.
  2. Create and import an users.xml file in the root folder. See details below.
  3. Secure needed folders by using the Private Folder tab of the folder properties dialog.

User credentials and roles are defined in the users.xml file using the following format:

<?xml version="1.0" standalone="yes"?>
<PrivateFoldersDataSet xmlns="http://atozed.com/PrivateFoldersDataSet.xsd">
  <User>
    <Username>username</Username>
    <Password>password</Password>
    <Roles>role1,role2</Roles>
  </User>
</PrivateFoldersDataSet>

A custom login page will be used if placed in the root folder and named login.aspx. Custom login pages need to use the asp:Login control.

Private folders future requires a lot of changes in the web.config file, so IWS takes case of that by automatically making needed changes in the default or user supplied web.config file.