PoC Guide - Adaptive Access to SaaS and Private Web Apps
As users consume more SaaS-based applications, organizations must unify all sanctioned apps and simplify user login operations while enforcing authentication standards. Organizations must be able to secure these applications even though they exist beyond the confines of the data center. Citrix Workspace provides organizations with secure access to SaaS apps.
In this scenario, a user authenticates to Citrix Workspace using Active Directory, Azure Active Directory, Okta, Google, or Citrix Gateway as the primary user directory. Citrix Workspace provides single sign-on services for a defined set of SaaS applications.
If the Citrix Secure Private Access service is assigned to the Citrix subscription, enhanced security policies, ranging from applying screen-based watermarks, restricting printing/downloading actions, screen grabbing restrictions, keyboard obfuscation, and protecting users from untrustworthy links are applied on top of the SaaS applications.
The following animation shows a user accessing a SaaS application with Citrix providing SSO and secured with Citrix Secure Private Access.
This demonstration shows an IdP-initiated SSO flow where the user launches the application within Citrix Workspace. This PoC guide also supports a SP-initiated SSO flow where the user tries to access the SaaS app directly from their preferred browser. Additionally, this guide demonstrates the use of Adaptive Access policies to provide conditional access depending on conditions such as user role, network location, or device posture.
This proof of concept guide demonstrates how to:
- Setup Citrix Workspace
- Integrate a primary user directory
- Incorporate Single Sign-On for SaaS applications
- Validate the configuration
- Configure and validate Adaptive Access
Setup Citrix Workspace
The initial steps for setting up the environment is to get Citrix Workspace prepared for the organization, which includes
- Connect to Citrix Cloud and log in as your administrator account
- Within Citrix Workspace, access Workspace Configuration from the upper-left menu
- From the Access tab, enter a unique URL for the organization and select Enabled
Citrix Workspace takes a few moments to update services and URL settings. From a browser, verify the custom Workspace URL is active. However, logon is not available until a primary user directory gets defined and configured.
Integrate a Primary User Directory
Before users can authenticate to Workspace, a primary user directory must be configured. The primary user directory is the only identity the user requires as all requests for apps within Workspace utilize single sign-on to secondary identities.
An organization can use any one of the following primary user directories
- Active Directory: To enable Active Directory authentication, a cloud connector must be deployed within the same data center as an Active Directory domain controller by following the Cloud Connector Installation guide.
- Active Directory with Time-Based One Time Password: Active Directory-based authentication can also include multifactor authentication with a Time-based One Time Password (TOTP). This guide details the required steps to enable this authentication option.
- Azure Active Directory: Users can authenticate to Citrix Workspace with an Azure Active Directory identity. This guide provides details on configuring this option.
- Citrix Gateway: Organizations can utilize an on-premises Citrix Gateway to act as an identity provider for Citrix Workspace. This guide provides details on the integration.
- Okta: Organizations can use Okta as the primary user directory for Citrix Workspace. This guide provides instructions for configuring this option.
- SAML 2.0: Organizations can use the SAML 2.0 provider of choice with their on-premises Active Directory (AD). This guide provides instructions for configuring this option.
Configure Single Sign-on
To successfully integrate SaaS apps with Citrix Workspace, the administrator needs to do the following
- Configure SaaS app
- Authorize SaaS app
- Within Citrix Workspace, select Manage from the Secure Private Access tile.
- Select Applications
- Select Add an app
- In the Choose a template wizard, search and choose the correct template, which in this instance is Zoho, and click next
- In the App details window, type in the organization’s unique domain name for the SaaS application. The URL and Related Domains will automatically populate
Note: Enhanced security policies use the related domains field to determine the URLs to secure. One related domain is automatically added based on the URL in the previous step. Enhanced security policies require related domains for the application. If the application uses multiple domain names, the must be added into the related domains field, which is often
*.<companyID>.SaaSApp.com (as an example
- In the Enhanced Security window, select Enable enhanced security - Display watermark (and or other security policies appropriate for the environment)
- In the Single Sign-On window, copy the Login URL
- Select Download to download the X.509 certificate in PEM format
- Within the Zoho Account app, select Organization > SAML Authentication to bring up settings. (Requires a permanent or trial Enterprise license with Enterprise user objects created)
- Select Setup Now
- For the Sign-in URL and Change Password URL, paste the Login URL obtained from the Citrix Secure Private Access configuration
- For the X.509 Certificate, upload the .PEM file you downloaded from the Citrix Secure Private Access configuration
- For the Zoho Service, enter “People”
- Select Configure
- Within Citrix Secure Private Access Configuration, select Next
- In the App Connectivity window, notice the required domains automatically set to route externally, and select Next
- In the App Subscribers window, add the appropriate users/groups who are authorized to launch the app
- Select Next, followed by Finish
Validate the Configuration
- Log into Citrix Workspace as a user
- Select the configured SaaS application.
- The SaaS App successfully launches
- The user automatically signs on to the app
- Enhanced security is applied
- Launch a browser
- Go to the company-defined URL for the SaaS application
- The browser directs the browser to Citrix Workspace for authentication
- Once the user authenticates with the primary user directory, the SaaS app launches in the local browser if enhanced security is disabled. If enhanced security is enabled, a Secure Browser instance launches the SaaS app
Configure and validate Adaptive Access
- Within the Citrix Secure Private Access tile, select Manage
- Select Access Policies from the menu on the left
- Select Create Policy
- Under For users of these applications enter Zoho People
- Under If the following conditions are met notice several choices for conditions. Select Network Location, and select Matches Any
- Select Create Network Location, enter a name and tag, and for the Public IP address range, lookup the public IP address of the POC endpoint and enter that followed by /32, indicating it’s a host IP address
- Under Then do the following notice several preset choices for Allow with access restrictions. In our case, we choose Deny Access
- Enter a Policy Name
- Enable the policy and select Save
- Log into Citrix Workspace as a user
- Select Apps from the menu on the left
- Observe that the Adaptive Access, Network Location policy has been applied, and Zoho People is now missing from the list of available apps
Users might experience the enhanced security policies (watermark, printing, or clipboard access) fail. Typically, this happens because the SaaS application uses multiple domain names. Within the application configuration settings for the SaaS app, there was an entry for Related Domains
The enhanced security policies are applied onto those related domains. To identify missing domain names, an administrator can access the SaaS app with a local browser and do the following:
- Navigate to the section of the app where the policies fail
- In Google Chrome and Microsoft Edge (Chromium version), select the three dots in the upper right side of the browser to show a menu screen
- Select More Tools
- Select Developer Tools
- Within the developer tools, select Sources. This provides a list of access domain names for that application section. To enable the enhanced security policies for this app, those domain names must be entered into the related domains field within the app configuration. Related domains are added like the following