Skip to main content
Version: v46

Web Target Configuration

Web targets provide access to websites through PrivX. This article describes configuring website addresses, automatic credential filling, and account access. It also explains how to configure web targets that use PrivX as an OpenID Connect (OIDC) identity provider.

For general information about adding hosts and configuring accounts, see Setting Up Hosts.

Adding Web Targets​

Start with the host information and options described in Adding Hosts. Then configure the Web service and account settings:

  1. Under Services, add a service and configure the following fields:
  • Type: Select Web.

  • Address: Since connections to web targets are provided through a PrivX Web Proxy, enter the website address prefixed with the Web Access Gateway name or routing prefix: exampleproxy/https://www.example.com/.

    Replace the example values as follows:

    • exampleproxy: The name or routing prefix of the Web Access Gateway used for the connection.
    • https://www.example.com/: The website address.
  1. If you want PrivX to automatically fill in login credentials for the website, expand Additional Settings and configure the following fields:
  • Login-request address: The verified address of the login request. For example, in form logins this may be the URL of the webpage plus the URL specified by the action attribute of the form. Recommended for improved security.

  • Password property: The verified id of the password field in the login form. Recommended for improved security.

  • Login-page address: The login-page address. Only needed if the login page is not under the Address of this web service. For example, while you could have an AWS service with the Address:

    exampleproxy/https://example.signin.aws.amazon.com/console

    That website may redirect you to a different address for login:

    https://us-east-1.signin.aws.amazon.com

  • Authentication type: Set to Automatic for most websites, such as websites using forms for authentication. Set to Basic for websites using the Basic HTTP Authentication Scheme (defined in RFC 7617).

  • Username-field name: The name of the username field in the login form. Only required if PrivX is unable to automatically detect this field.

  • Password-field name: The name of the password field in the login form. Only required if PrivX is unable to automatically detect this field.

  1. Under Accounts, specify which PrivX roles can access the website.

    • If you want PrivX to automatically fill in login credentials for the website, provide the target username and password in the account mapping.

      note

      PrivX automatically fills in the configured login credentials but does not log in to the web service. Users must select Login to complete the login. By default, PrivX allows HTTPS connections that use TLS 1.2 or later. TLS 1.3 Carrier connections require the PrivX Web Proxy host to use a RHEL 8-compatible environment with OpenSSL 1.1.1 or later.

      To prevent access to websites other than the configured web targets, you can add additional access rules. For instructions, see Access Restrictions for Web Connections.

    • Under Allowed Service Options, you can restrict the features available to each account. PrivX enables all service options by default. You can change the default values in Administration → Settings → Host Store.

    • For websites using PrivX as an OIDC identity provider, use Configuring OIDC Authentication instead of providing credentials in the account mapping.

  2. Save the host configuration.

Configuring OIDC Authentication​

If your website supports OIDC authentication, you can configure it to use PrivX as an identity provider. This configuration does not require credentials in the web-target account mapping or the automatic credential-filling settings described above.

  1. Configure PrivX as an OIDC identity provider for the website. For instructions, see OIDC Identity Providers.
  2. In the web target's account settings, set Account Type to Directory.
  3. Make sure that the unix_username attribute is defined in the PrivX user details. Otherwise, the web target is not visible in the PrivX Web UI.
  4. To route all OIDC logins through PrivX Carrier for auditing, enable Only allow login attempts through Carrier in the OIDC identity provider configuration.
  5. Save your changes.