|Top Previous Next|
This C# asp.net demo is intended to help you learn how to securely authenticate against Thinfinity® Remote Desktop Server from an external application.
The demo Logon.aspx page is an authentication form that looks identical to the Thinfinity® Remote Desktop Server one. This page was designed to exemplify how to authenticate to Thinfinity® Remote Desktop Server externally using username/password or apikey and having the authentication data encrypted through the Diffie Hellman Key Exchange method.
After authentication against Thinfinity® Remote Desktop Server, the application redirects to the Default.aspx page that has an IFrame pointing to Thinfinity® Remote Desktop Server index.html page.
The website demo is accessible from the Users documents folder, under the directory \Thinfinity Remote Desktop Server Demos\IISAuth
In order to compile this application, you can use Microsoft Visual C# Studio 2010 Express.
Open the application from the menu File-Open Web Site.
The web.config parameters:
The example application is completely functional for environments where the Thinfinity® Remote Desktop Server is deployed on the same machine and running under the HTTP protocol.
If your environment does not attend these conditions you can also personalize those values on the web.config file:
If you want to use the HTTPS protocol, then a valid certificate will be required.
You can use the Cybele Software embedded certificate, by setting the application to work with Dynamic DNS and Certificate Sharing and changing the "SERVER" key on the web.config file following the format below: