-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't open clipboard static channel when clipboard is disabled (#10348)
* Don't open clipboard static channel when clipboard is disabled Prior to this change, we relied only on the frontend to check whether or not RBAC allows access to the shared clipboard feature. Add a new config parameter, which is passed all the way down do Rust. If the clipboard is not enabled, we will never open the CLIPRDR channel and no clipboard data will be exchanged with the RDP server. This is both more secure and more efficient. We also take care to ensure that clipboard actions that are attempted when the clipboard is disabled is treated as a no-op rather than an error. This ensures that a misbehaving client can't cause us to kill the connection by sending clipboard messages when the shared clipboard is disabled. * Sorry, Clippy.
- Loading branch information
Showing
5 changed files
with
67 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters