From 47bc56f5a4678e3f4a7dd83e5bd532cf8c496d66 Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Tue, 14 Dec 2021 14:38:52 +0900 Subject: [PATCH] Add sesman.ini new text/file/image restriction settings RestrictInboundClipboard is added. Then, RestrictOutboundClipboard/RestrictInboundClipboard configuration is extended to accept comma separated list. * RestrictOutboundClipboard=none * RestrictOutboundClipboard=text * RestrictOutboundClipboard=file * RestrictOutboundClipboard=image * RestrictOutboundClipboard=all * RestrictOutboundClipboard=text, image, file For compatibility, the following configuration is also accepted (alias) * RestrictOutboundClipboard=true * RestrictOutboundClipboard=false * RestrictOutboundClipboard=yes --- sesman/sesman.ini.in | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/sesman/sesman.ini.in b/sesman/sesman.ini.in index 7b8f0880..8c5f173f 100644 --- a/sesman/sesman.ini.in +++ b/sesman/sesman.ini.in @@ -19,9 +19,24 @@ TerminalServerAdmins=tsadmins ; When AlwaysGroupCheck=false access will be permitted ; if the group TerminalServerUsers is not defined. AlwaysGroupCheck=false -; When RestrictOutboundClipboard=true clipboard from the +; When RestrictOutboundClipboard=all clipboard from the ; server is not pushed to the client. -RestrictOutboundClipboard=false +; In addition, you can control text/file/image transfer restrictions +; respectively. It also accepts comma separated list such as text,file,image. +; To keep compatibility, some aliases are also available: +; true: an alias of all +; false: an alias of none +; yes: an alias of all +RestrictOutboundClipboard=none +; When RestrictInboundClipboard=all clipboard from the +; client is not pushed to the server. +; In addition, you can control text/file/image transfer restrictions +; respectively. It also accepts comma separated list such as text,file,image. +; To keep compatibility, some aliases are also available: +; true: an alias of all +; false: an alias of none +; yes: an alias of all +RestrictInboundClipboard=none [Sessions] ;; X11DisplayOffset - x11 display number offset