Prerequisites
- IIS 7 and Windows 2008 (32-bit or 64-bit)
- Microsoft .NET Framework 2.0 SP1 or higher (in Windows Server 2008, it will be pre installed).
To use this module for a specific website, you must meet following 2 conditions.
- Windows Authentication is disabled.
- Website's application pool is working in Integrated mode.
Adding modules in IIS 7
- Open Internet Information Services (Start >> Run type inetmgr and hit enter).
- Under Connections pane, click on your server name.
- Under Feature view, locate and double click Modules option.
- From Actions pane, click on Add Managed Module option.
- Expand Type drop down list and select WebsitePanel.IIsModules.SecureFolders, WebsitePanel.IIsModules module.
- Type SecureFoldersModule to the Name field.
- Leave Invoke only for requests checkbox unchecked.
- Click on OK button.
Enable Wildcard Mapping in IIS 7
You could enable wildcard mapping to ASP.NET ISAPI either for all websites or just for a particular website.
- To enable wildcard mapping for all web sites (globally), select the server name in Connections panel. To enable wildcard mapping for particular website, exapand the Sites and select your website.
- In Features view, locate and double click Handler Mappings. From Actions pane click Add Wildcard Script Map.
- Enter path to ASP.NET ISAPI into Executable field, specify the name in Name field.
For 64-bit framework: C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll
For 32-bit framework: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll - Click OK button to save the changes.
- Now open global web.config in the following location:
For 64-bit framework: C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\CONFIG\web.config
For 32-bit framework: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\web.config - Add the following code inside "configuration/system.web/httpModules" element:
<configuration>
...
<location path="Web-Site-Name">
<system.web>
<httpModules>
<add name="SecureFoldersModule" type="WebsitePanel.IIsModules.SecureFolders, WebsitePanel.IIsModules, Version=1.0.0.0 , Culture=neutral, PublicKeyToken=37f9c58a0aa32ff0"/>
</httpModules>
</system.web>
</location> - Change version value to the currently installed Module version. You could check assembly version by opening its properties in Windows Explorer or in C:\Windows\assembly-folder-name.
Configure WebsitePanel
- To enable Secure Folders module in WebsitePanel, login to WebsitePanel with serveradmin user.
- At WebsitePanel home page, Go to Configuration >> Servers >> click Internet Information Services 7.0.
- In Secure Folders section enter the following value in Module Assembly field and keep other fields blank.
WebsitePanel.IIsModules.SecureFolders, WebsitePanel.IIsModules, Version=1.0.0.0, Culture=neutral, PublicKeyToken=37f9c58a0aa32ff0.
- Change version value to the currently installed Module version. You could check assembly version by opening its properties in Windows Explorer or in C:\Windows\assembly-folder.
- Click on Update button to save the settings.
- Try to add secure folder from WebsitePanel. You can contact us anytime if you face any difficulties while performing the steps.