How to Use Devart SecureBridge 8.1.3 for Berlin to Protect Your Data in Unsecured Networks
How to Use Devart SecureBridge 8.1.3 for Berlin to Protect Your Data in Unsecured Networks
Devart SecureBridge is a suite of components that allows you to secure your data transfer and communication in unsecured networks using SSH, SFTP, FTPS, SSL, HTTP/HTTPS, WebSocket and SignalR protocols. In this article, we will show you how to use Devart SecureBridge 8.1.3 for Berlin, the latest version compatible with RAD Studio 10.1 Berlin, to create a secure SSH client and server application.
Devart SecureBridge 8.1.3 for Berlin
What is Devart SecureBridge?
Devart SecureBridge is a library of nonvisual components that provides an easy way to add security features to your Delphi or C++Builder applications. It supports various authentication methods, strong data encryption and data integrity verification. It also integrates with data access components to prevent data interception or modification in an untrusted network.
Devart SecureBridge can work as a high-performance SSH server with SSH clients such as OpenSSH or PuTTY, or as an SSH client with different SSH servers like OpenSSH or WinSSHD. It can also work as an SFTP client or server for secure file transfer, or as an SSL client or server for secure web communication. Additionally, it supports FTPS, HTTP/HTTPS, WebSocket and SignalR protocols for various scenarios.
How to Download and Install Devart SecureBridge 8.1.3 for Berlin?
To download Devart SecureBridge 8.1.3 for Berlin, you can visit the official website[^1^] and choose the appropriate installer for your platform and IDE version. You can also download the documentation in PDF or CHM format.
To install Devart SecureBridge 8.1.3 for Berlin, you need to run the installer and follow the instructions on the screen. You will be asked to enter your license key or choose a trial mode. You will also be able to select the components you want to install and the destination folder.
How to Create a Secure SSH Client and Server Application with Devart SecureBridge 8.1.3 for Berlin?
To create a secure SSH client and server application with Devart SecureBridge 8.1.3 for Berlin, you need to follow these steps:
Create a new VCL Forms Application project in RAD Studio 10.1 Berlin.
Add two forms to the project: one for the SSH server and one for the SSH client.
Add a TScSSHServer component from the SecureBridge palette to the server form and set its properties as follows:
Port: 22 (or any other port you want)
UsePAM: False (unless you want to use PAM authentication)
UserList: Add a user name and password pair
OnAuthPassword: Write a handler that checks the user name and password
OnBeforeConnect: Write a handler that logs the connection attempt
OnAfterDisconnect: Write a handler that logs the disconnection
Add a TScSSHClient component from the SecureBridge palette to the client form and set its properties as follows:
Host: localhost (or the IP address of the server)
Port: 22 (or the port of the server)
User: The user name of the server
Password: The password of the server
OnBeforeConnect: Write a handler that logs the connection attempt
OnAfterDisconnect: Write a handler that logs the disconnection
Add some buttons and labels to both forms to start and stop the server and client, and to display some messages.
Write some code behind the buttons to call the Start and Stop methods of the TScSSHServer and TScSSHClient components.
Run the project and test your secure SSH client and server application.
Conclusion
In this article, we have shown you how to use Devart SecureBridge 8.1.3 for Berlin to create a secure SSH client and server application e0e6b7cb5c