Online Help > Support/Resources > How-To

How to Use a Typing Macro to Perform Authentication

Description

 

Sometimes it can be difficult to perform authentication on certain websites. With Remote Desktop Manager, it's possible to send the credential through a typing macro using variables.

 

This feature simply uses a basic mechanism offered by the .net framework of sending keystrokes, much like if a person was using the keyboard.  It sends the keystrokes to the operating system itself, they will be handled by WHATEVER application has the focus at the time that the message is received.  If the focus is switched to another window, the credentials will most likely be revealed by being typed in a text area.

 

DO NOT USE THIS FEATURE in an environment where passwords MUST be hidden from the user.

 

Settings

 

1.Edit your Web Browser (HTTP/HTTPS) entry, click on the Login tab, select Autofill and unchecked the Auto submit and Auto fill login option
 

Autofill

Autofill

 

2.In the Security section, check the Allow password in variable option. This option need to be checked so that the typing macro can send the password to the remote session.
 

Allow password in variable

Allow password in variable

 

Using an Advanced Data Sources, the option Allow password in macro (send keys) in Administration - Data Source Settings - Password Policy also needs to be enabled.

 

3.In the Events section, click on the After Connect tab and add the following macro in the Typing Macro section: $USERNAME${TAB}$PASSWORD${ENTER}. You may have to adjust the Initial wait to leave time for the page to load.
 

Typing macro

Typing macro

 

Make sure that the cursor is in the appropriate field prior to the macro execution so that the username and password can be sent properly to the website.