XLCubed is now FluenceXL. The new wiki can be found here: https://help.fluencexl.com/ |
Difference between revisions of "Dual Authentication"
(→Requirement) |
|||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | = Requirement = | + | ==Requirement== |
− | There may be some circumstances where you need XLCubedWeb reports to be available via 2 different authentication methods, for example Windows Authentication for internal users and Basic Authentication for external users. | + | There may be some circumstances where you need XLCubedWeb reports to be available via 2 different authentication methods, for example Windows Authentication for internal users and Basic Authentication for external users. Please note this would require an additional server license. |
− | = Solution = | + | ==Solution== |
The approach to solve this is to create 2 copies of the XLCubedWeb website and create a shared repository. With this approach the reports can be published to 1 website, but be immediately available on both. | The approach to solve this is to create 2 copies of the XLCubedWeb website and create a shared repository. With this approach the reports can be published to 1 website, but be immediately available on both. | ||
− | == Create copy of website == | + | ===Create copy of website=== |
− | The first step is to create a copy of the website, for example assuming the default website (set as windows authentication) is installed in c:\inetpub\wwwroot\xlcubedweb. Copy the entire XLCubedWeb folder to a new folder ( | + | The first step is to create a copy of the website, for example assuming the default website (set as windows authentication) is installed in c:\inetpub\wwwroot\xlcubedweb. Copy the entire XLCubedWeb folder to a new folder (e.g. XLCubed). |
− | == Update IIS == | + | ===Update IIS=== |
The copy website needs to be set up as an application: | The copy website needs to be set up as an application: | ||
Line 18: | Line 18: | ||
# Right-click on the new folder (XLCubed) and select {{Code|Convert to Application}}. | # Right-click on the new folder (XLCubed) and select {{Code|Convert to Application}}. | ||
# In the {{Code|Convert to Application }} dialog, ensure that the {{Code|XLCubed}} application pool is selected and, if necessary, choose the correct path. | # In the {{Code|Convert to Application }} dialog, ensure that the {{Code|XLCubed}} application pool is selected and, if necessary, choose the correct path. | ||
+ | #Change the website authentication method to "Basic" (either using IIS on the XLCubedWeb configuration application). If using IIS to switch to Basic, ensure the web.config on the new website is udpated to reflect that: [[XLCubed_Web_Edition_Installation_Guide/Version_6.1#Web.config_2|Web.config]] | ||
− | + | You can test the website is working at this stage (although the repository will currently be a static copy) | |
− | + | ===Share repository=== | |
− | |||
− | |||
− | + | Note this step is not necessary if you are using the SQL repository. | |
To share the repository between the 2 websites you need to replace the Repository folder with a "Symbolic Link" using MKLink [http://en.wikipedia.org/wiki/NTFS_symbolic_link]. To do this: | To share the repository between the 2 websites you need to replace the Repository folder with a "Symbolic Link" using MKLink [http://en.wikipedia.org/wiki/NTFS_symbolic_link]. To do this: |
Latest revision as of 11:15, 25 March 2019
Contents
[hide]Requirement
There may be some circumstances where you need XLCubedWeb reports to be available via 2 different authentication methods, for example Windows Authentication for internal users and Basic Authentication for external users. Please note this would require an additional server license.
Solution
The approach to solve this is to create 2 copies of the XLCubedWeb website and create a shared repository. With this approach the reports can be published to 1 website, but be immediately available on both.
Create copy of website
The first step is to create a copy of the website, for example assuming the default website (set as windows authentication) is installed in c:\inetpub\wwwroot\xlcubedweb. Copy the entire XLCubedWeb folder to a new folder (e.g. XLCubed).
Update IIS
The copy website needs to be set up as an application:
- Open Internet Information Services Manager (inetmgr.exe)
- Under the Sites node, open the website in which XLCubed Web Edition should be made available (usually the Default Web Site).
- Right-click on the new folder (XLCubed) and select Convert to Application.
- In the Convert to Application dialog, ensure that the XLCubed application pool is selected and, if necessary, choose the correct path.
- Change the website authentication method to "Basic" (either using IIS on the XLCubedWeb configuration application). If using IIS to switch to Basic, ensure the web.config on the new website is udpated to reflect that: Web.config
You can test the website is working at this stage (although the repository will currently be a static copy)
Note this step is not necessary if you are using the SQL repository.
To share the repository between the 2 websites you need to replace the Repository folder with a "Symbolic Link" using MKLink [1]. To do this:
- Delete the new repository folder: c:\inetpub\wwwroot\xlcubed\Repository
- In a Command prompt (with administrative access) navigate to the website: c:\inetpub\wwwroot\xlcubed
- Run the following command to create the link:
- MKLink /D Repository c:\inetpub\wwwroot\xlcubedweb\repository