1. Overview
Monopam allows users to access web-based applications without seeing the credentials, through a centrally recorded session. A Web Page connection works by launching a defined web page in a browser inside a session opened on the Monopam Gateway, and making it ready to use automatically with an Access Automation flow.
The following sections use http://help.monofor.com (opens in a new tab) as an example to explain how to create a Web Page resource, assign a credential, define the automation flow and start the connection.
2. Prerequisite – RDP Permission
A Web Page connection does not run in the browser on the user’s own computer. It runs in a browser inside a session opened on the Monopam Gateway. The process works as follows:
When the user clicks Connect, Monopam opens an RDP session to the related machine (Gateway).
A browser is launched inside this session and the defined web page is opened.
The Access Automation steps run in this browser.
Important: To use Web Page, the credential assigned to the resource must belong to an authorized user with RDP (Remote Desktop) permission on the related machine. |
Because the process is opened with a browser through the gateway, Monopam must be able to open an RDP session to the gateway. The user must be in the Remote Desktop Users group (or have equivalent permission) on the target machine, and Remote Desktop connections must be enabled on the machine. If a connection is attempted with a user without RDP permission, the session cannot start and the web page does not open.
3. Creating the Resource
3.1 Adding a New Resource
In the Monopam interface, go to Resources in the left menu and open the new resource screen with the button in the top right.
1 – Add New: Click to create a new resource record. A Web Page connection is also defined as a resource in Monopam.
Figure 1: Resources screen – adding a new resource
3.2 Resource Details (Overview)
On the Resource / New screen, fill in the fields on the Overview tab.
1 – Name: The name of the resource as shown in Monopam. Give a descriptive name so users can easily identify it in the list. Example: Web App (http://help.monofor.com (opens in a new tab) )
2 – Server: The server through which the connection is established. If you enter {{Gateway}} in this field, the connection is opened through the gateways with Application Proxy logic and load balancing. This way the connection does not depend on a fixed server, and an available gateway is used automatically.
3 – Type: Select the resource type. In the Web Page scenario, the session is opened on a Windows machine via RDP, so select Windows.
4 – Assign Credential: Click to define which credential is used to connect to this resource. The Assign Credentials window opens.
Figure 2: Resource / New – Overview tab
4. Credential and Automation Settings
4.1 Assign Credentials
1 – Connection Type: Select the connection type. In the Web Page scenario, the session is opened on the gateway via remote desktop, so select RDP. SSH, Telnet, VNC, SFTP, Kubernetes and Database options are not used in this scenario.
2 – Credential selection: Select the credential to be used for the connection from the list. In the example, Domain Administrator [MONOLAB] is selected.
When making this selection, remember the rule in section 2: the selected account must have permission to open an RDP session on the target machine. If the credential you are looking for is not in the list, search with Quick Search / Advanced Filters, or create a new credential with Add New Credential.
Figure 3: Assign Credentials – connection type and credential selection
4.2 Access Automation Settings
Scroll down in the same window. The automation settings are below the Home Path and Keyboard Layout fields.
1 – Enable Access Automation: The switch that enables access automation. Turn it on for a Web Page connection. When enabled, the Application, Template and Automation Flow fields appear.
2 – Application: Select the type of application the automation runs on. Select Web Page since a web page will be opened. To automate a desktop application, you would select Desktop App.
3 – Template: Select a ready-made automation template here if you want to use one. To define the flow from scratch, use Custom.
4 – Edit Flow: Opens the Edit Flow window where the automation flow (the URL to open and the steps to run) is defined.
Note: After completing the settings, click Add in the bottom right of the window to add the credential and automation definition to the resource. |
Figure 4: Access Automation settings
4.3 Edit Flow (Automation Flow)
Under the Open a Web Page heading, define the page to be displayed in the browser when the session opens, and the steps to run on that page.
1 – Web Page Url: The address that opens automatically in the browser when the session starts. Example: https://help.monofor.com (opens in a new tab)
2 – Ok: Saves the defined flow and closes the Edit Flow window.
After completing the flow, save the whole configuration with Add in the previous window and Save on the resource screen.
Figure 5: Edit Flow – web page to open and automation steps
4.4 Automation Steps
Web Page is a web page automation used for access. It helps you create a flow for your processes. If you want to use a predefined flow, you can select a template in the Template field and complete the automation by editing the selected template.
Figure 6: Template selection
The steps are run automatically by Monopam after the user connects to the resource and before the user interface appears. You can edit the existing steps or define your own process by adding new steps with Add a new step.
Figure 7: Example automation flow with steps
The Web Page type supports eight different step types for automation. The supported steps are listed below.
Step | Description | Example |
Delay | Waits before the next action (milliseconds). | 3000 waits 3 seconds on the page before the next step. |
Navigate a url | Loads a web page from the specified address. | |
Wait for navigation | Waits for a page redirect to an address. | |
Focus an element | Focuses on a web element on the page (input, button, etc.). | input[name='username'] |
Edit an input value | Edits the value of an input field on the page. | Selector: input[name='password'] |
Click an element | Clicks an element on the page (input, button, etc.). | button[type='submit'] |
Show an alert | Shows the user an informative alert. | Your session is being recorded. |
Execute Script | Runs JavaScript code on the page. | alert("Welcome to the page!") |
Using Vault items: You can also use your Vault items in the Value fields, for example Vault.ItemName.UserName or Vault.ItemName.Password. You can use OTP codes stored in the Vault as Vault.ItemName.Code. Secret Text and PKI values are also supported: Vault.ItemName.UserName, Vault.ItemName.PrivateKey and Vault.ItemName.Passphrase. |
5. Connection and Session
5.1 Connecting to the Resource
In the resource list, click the Connect button next to the related record to open the connection window.
1 – Credential: Select the credential to be used for the connection. If more than one credential is assigned to the resource, select the appropriate one from the drop-down list. In the example, Domain Administrator [MONOLAB] is used.
2 – Connect: Starts the connection. Monopam opens the RDP session on the gateway and launches the browser with the defined URL.
This screen also has a Why do you need access? field. If the policy requires an access reason, select the appropriate option: I will specify… / Incident / Scheduled Work. The Single Session / Multiple Session buttons download a connection file to open a single or multiple sessions through a local client.
Figure 8: Connection window – credential and access reason
5.2 Session Opening
When the connection is established successfully, the web page opens inside the Monopam session window.
The top bar shows the resource name and the credential used to open the connection.
The session is recorded and can be viewed in Recordings / Audits.
When you are done, end the session with the red Disconnect button in the top right.
Figure 9: Web page opened in the Monopam session








