Remote access
Secure Remote Access Software
Secure remote access software is a product whose sign-in, encryption, permissions, and logs match the loss you are trying to prevent. A padlock on a marketing page does not tell you who can open a session, which connection modes are encrypted, or who operates the relay. "Most secure" is a threat-model question, not a trophy.
Authentication is the first control
Authentication is how the host decides a particular person may connect. Encryption protects the bytes after that decision. A strong cipher on an open password is the wrong order of work.
Attended sessions use a one-time password or an approval click from the person sitting at the computer. Unattended sessions use a permanent password, an account in an admin console, or both a password and a click. RustDesk documents those patterns: a permanent password, a one-time password, or both, with approval modes of password, click, or password plus click. Use them on computers you own or are authorized to administer. The unattended access page is the longer treatment of permanent passwords and the ban on opening a stranger's machine.
An ID allow-list is not authentication. RustDesk's docs say the connecting client reports the ID. Anyone who can present that string has satisfied a list that does not prove who they are. Treat the ID as an address. Treat the password, the approval click, or the Pro account as the identity check.
Identity on a team
A shared permanent password cannot tell you which technician connected. Named accounts can. RustDesk Server Pro documents OIDC, LDAP, and two-factor authentication, with the docs placing LDAP, OIDC single sign-on, and the custom client generator on the Basic plan and above. The console doc says the Individual plan does not add a user besides the default admin. If your threat is a former employee, a plan that cannot create and disable distinct users does not answer it. Commercial products such as TeamViewer and AnyDesk sell their own account systems. Compare the revocation story on each current admin guide, and do not assume the features match.
What encryption covers, and what it skips
Encryption scope is the list of connection modes that are actually protected, not the single mode shown in a diagram. Ask the vendor which modes exist, and read the exception.
For RustDesk, the docs describe the normal ID-based connection as peer-to-peer with end-to-end encryption based on NaCl. That sentence does not cover every mode. The project's machine-readable guide says the FAQ documents an unencrypted path for Direct IP Access. Direct IP access is optional, off by default, and uses a different model from ID connections. The default direct-access port in the docs is 21118. Leave the mode off unless you have a reason and the network is already limited to people who may see unencrypted remote-desktop traffic.
A self-hosted encrypted deployment needs the server public key from id_ed25519.pub, created the first time hbbs runs. Clients that lack that key are not in the encrypted self-hosted configuration the docs describe. The key is not the Pro license key. Confusing the two is a common setup failure: the license key does not encrypt the session, and the public key does not license Pro.
The RustDesk security notes stay on that product: encryption, advisories, and the scam pattern where a caller asks for an ID. This page stays on the questions you should ask of any product in the category.
Permissions on the host
Host permissions are the operating system's own gate, and a remote desktop client cannot honestly skip them. If the local user has not allowed screen capture or input, a secure design fails closed.
On macOS, RustDesk needs Screen Recording and Accessibility, and related prompts. Sessions fail until those are granted. On Android, the owner must accept the screen-capture prompt and enable the input accessibility service. That service can inject input. Only the device owner should enable it, and only for a client they installed from an official build. On Windows, the client can run without an administrative install, and privilege can be elevated locally or from an authorized remote session. Elevation is a conscious step on a machine you administer. It is not a reason to hide the software from the person who uses the PC.
iOS is a hard stop for RustDesk hosting. The iPhone and iPad apps control other computers. They do not share the iOS screen. A security review that assumes every mobile app is a host will miss that, and it will also miss the opportunity to avoid installing a host where the platform will not allow one.
Logs and what they can prove
A useful log records who connected, to which device, and when, in an account system that can disable that person. A log that only says "someone used the shared password" is a timestamp, not an audit.
RustDesk Server Pro documents logs as part of the web console, alongside device management and access control. The open-source server does not provide that console. If you need an audit trail for more than one administrator, the free server path does not supply it, and you should not pretend a text file of IDs is the same control. Other products keep logs in the vendor's cloud. That can satisfy a team that wants the vendor to retain records, and it fails a team that is not allowed to store session metadata there. Ask where the log lives, who can delete it, and how long it is kept. Then match the answer to the policy you actually have.
Session recording, in-session chat, and clipboard sync are documented RustDesk capabilities whose availability still depends on platform permissions. Recording is a control when the people in the session know it is on and the recording has a retention rule. It is not a substitute for authentication.
What self-hosting proves
Self-hosting proves that you operate the ID and relay software on a machine you choose. It does not prove that every session stays inside that machine, and it does not prove a compliance certification.
RustDesk clients register with hbbs. They try a direct peer-to-peer path. The docs say hole punching works in the majority of cases. When it fails, hbbr relays the traffic. When the direct path succeeds, session media is between the endpoints. A sentence such as "our server is in our data center" is true about the rendezvous, and it is incomplete about a successful direct session. Server location does not by itself prove GDPR, HIPAA, or ISO compliance. Those are programs of policy, contracts, and evidence, not a side effect of an install command.
For native clients the documented minimum is TCP 21115 through 21117 and UDP 21116. TCP 21114 is the Pro HTTP API and web console, and it is not required for the open-source server. If Pro sits behind HTTPS on port 443, 21114 need not be public. TCP 21118 and 21119 serve WebSocket and the web client. The docs say those two should not be exposed directly when a reverse proxy sets X-Real-IP or X-Forwarded-For, because those headers are not validated and can spoof client IPs. Close them if you do not use the web client. A separate mode keeps only TCP 443 public and forces sessions through a WebSocket relay, with no direct peer-to-peer path. The port reference collects that list for operators. Publishing every port "so it works" is not a security setting.
Two further limits belong in the same paragraph as the word "self-hosted." Pro periodically validates the license over outbound HTTPS. A permanently air-gapped Pro deployment is not the standard supported model. The open-source server has no such check. The custom-client generator uses a build service operated by the project. Running hbbs yourself removes the public rendezvous from the path, and it does not erase that build dependency if you choose the generator.
Limits of a security claim
No remote access product is the most secure choice for every threat. A vendor cloud with good accounts can beat a self-hosted server that uses one shared password. A self-hosted server can beat a vendor cloud when the policy forbids that vendor.
This page does not rank products, assign scores, or report a penetration test. It does not claim RustDesk, or any alternative, is safe on a network you have not configured. Direct IP access without the documented encryption warning in mind is less safe than leaving that mode off. An Android accessibility service enabled because a stranger asked for it is less safe than refusing the call. Security here is a stack of checks you can name, not a badge on the installer.
The self-hosted server overview explains what you take on when you move the relay. The business page covers accounts and change control once more than one person must be able to connect. Use those when the threat model says the gap is administrative, not cryptographic.
Encryption, port, and permission details for RustDesk follow rustdesk.com/docs, reviewed November 30, 2026. rasdesc.com is independent of the project and does not operate a relay.
Questions about secure remote access
These answers keep encryption, self-hosting, and account control as separate claims.
What is the most secure remote desktop software?
The one whose authentication, encryption scope, logs, and relay operator match the loss you are preventing. A product with excellent encryption and a shared password can lose to a plainer product with named, revocable accounts.
Does end-to-end encryption cover every connection mode?
Not in RustDesk. Normal ID-based sessions are documented with end-to-end encryption based on NaCl. Direct IP access is documented separately, and the project describes an unencrypted path for that mode. Ask the same mode-by-mode question of any other product.
Does running my own server make the deployment compliant?
No. Operating the rendezvous and relay is an architectural fact. GDPR, HIPAA, and ISO programs need policies, contracts, and evidence that a server install does not create. Direct sessions also travel between the two computers when hole punching succeeds.
Is a list of allowed IDs an authentication control?
No. In RustDesk the connecting client reports the ID, so the list is not proof of who is connecting. Use a password, an approval click, or an account in the admin console.