One-Time-URL

Thinfinity® Remote Workspace offers a mechanism to generate One-Time-URL connections that expire after a given period of time.

These are some situations in which the One-Time-URL might be useful:

a. Giving access to a desktop to external users without having to weaken the Security level to 'Allow Anonymous Access'.

b. Generating a temporary access to a desktop.

c. Integrating Thinfinity® Remote Workspace on a Single-Sign-On Scheme along with external applications.

How it works:

1. First you need to ask Thinfinity® Remote Workspace to generate the URL for you. Call Thinfinity® Remote Workspace server following this URL format:

http(s)://Thinfinity:Port/ws/oturl/get?<queryString>

2. The queryString should be built with all parameters listed below:

apikey= <apikey> &apiuser= <apiuser> &model= <model> &plen= <passlen> &expires= <expires>

Find on the table below a description for each required parameter.

Parameter

Description

apiKey

apiuser

model

Send the profile key of the profile you want to to connect to. The profile's settings will work as a template for the One-Time-URL connection that will be established. You can modify these settings by adding more parameters to the One-time-URL.

plen

The plen parameter carries the password length.

expires

Through this parameter you can set an expiration(in minutes) for the URL. Expires = 30 means that the URL won't work anymore after 30 minutes from the URL generation.

On the next topics you can find out other parameters you can use to Configure the connection and Enable features.

3. If Thinfinity® Remote Workspace gets to authenticate with the parameters sent on the queryString, it will return a One-Time-URL that will allow you to establish an RDP connection with the remote desktop.

/oturl.html?key=w7NJNschBdJD9e6G6luWhOCalM$oFW7guqC6jE1IQah3AJm3&pass=BOWZB8FG

Concatenate the Thinfinity® Remote Workspace address to the generated URL, following this format below:

http(s)://Thinfinity:Port/oturl.html?key=w7NJNschBdJD9e6G6luWhOCalM$oFW7guqC6jE1IQah3AJm3&pass=BOWZB8FG

This way, the URL will be ready to be used. You can redirect your application to the desktop connection through it, or even send it to an external user by e-mail.

Find an HTML/ajax example inside the application installation directory, under the 'webrdp' folder. The file is named oturltest.html and implements the features covered on this topic.

Read more:

· Configuring the Connection

· Enabling Features

Last updated