The JSON that Adrian is referring to is the JSON submitted for
authentication when you're using the "guacamole-auth-json" extension,
not the JSON that describes the parameters available for a particular
protocol (the "rdp.json" file that you've already tried editing).

If you've modified "rdp.json" and changed the value shown from "true"
to "false", what you've actually done is tell Guacamole that the value
it should set for the parameter when that checkbox is checked is
"false", which will render that field useless. If you revert your
changes, rebuild the webapp, and then edit the affected connections to
re-check those boxes (thus setting the value "true" for those
parameters), clipboard should be disabled as expected.

- Mike

On Wed, Sep 21, 2022 at 7:57 AM Hannah Mortimer <[email protected]> wrote:
>
> Hi – I’ve tried that – but that does not fix the issue. Even checking the 
> radio buttons in the UI does not disable the clipboard for copy/paste.
>
> Hannah Mortimer
>
> From: Adrian Owen <[email protected]>
> Sent: Wednesday, September 21, 2022 7:54 AM
> To: [email protected]
> Subject: [EXTERNAL] - RE: Default Clipboard Settings
>
> Copy/paste is enabled by default.   In JSON you can set:
>
> "disable-copy", "true"
> "disable-paste", "true"     Adrian
>
>> From: Hannah Mortimer [mailto:[email protected]]
>> Sent: 21 September 2022 15:24
>> To: [email protected]
>> Subject: Default Clipboard Settings
>>
>> Good morning,
>>
>> I was wondering if someone would be able to help me determine where I can 
>> change the default clipboard settings.
>>
>> When we create a new connection I would like the option to not show (for 
>> RDP) as well as the setting for the clipboard copy/paste to be automatically 
>> set to disabled. We want to prevent users from copying and pasting outside 
>> of the RDP connection.
>>
>> I have tried changing the BOOLEAN value in 
>> /guacamole-ext/src/main/resources/org/apache/guacamole/protocols/rdp.json – 
>> but to no avail that did not set the clipboard to disabled.
>>
>> Please let me know what information you may need so that we may find a 
>> solution!
>>
>> Hannah Mortimer
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to