Thinfinity® Remote Desktop Server 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 Desktop Server on a Single-Sign-On Scheme along with external applications.
How it works:
1. First you need to ask Thinfinity® Remote Desktop Server to generate the URL for you. Call Thinfinity® Remote Desktop Server server following this URL format:
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.
The ApiKey is a secret value, known only by Thinfinity® Remote Desktop Server and the corporate application. Find out more about it on the ApiKey topic.
Use this parameter to identify the user within Thinfinity® Remote Desktop Server. The value should be the user or email registered in your website. The users are seen in the Analytics Web Service.
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.
The plen parameter carries the password length.
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.
3. If Thinfinity® Remote Desktop Server 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.
Concatenate the Thinfinity® Remote Desktop Server address to the generated URL, following this format below:
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.