neko icon indicating copy to clipboard operation
neko copied to clipboard

[Improvement] Prevent new user taking control to paste content from previous user host clipboard

Open gbrian opened this issue 3 years ago • 4 comments

Hi @m1k1o,

During a neko session, a user took control and tried to perform copy&paste from his local. But instead of pasting his content, the previous content from the clipboard was pasted. He tried coupole of times until we realised he didn't accepted cliupboard permissions

Maybe is worth to isolate clipboards between participants and do noty accept copy&paste commands from a client without clipboard permissions.

gbrian avatar Jan 19 '22 10:01 gbrian

Hi, we have to add: When setting control_protection to false, we need a way to sync clipboard. Currently clipboard is only copied from host to neko when you connect and never again. During a "control-less" session there's no way to copy content outside the room.

BTW an specific cipboard policy we'll be a good feature like:

  • No host clipboard: Only copy paste availabe inside the room
  • Admin host clipboard: Only admin can sync its host cipboard
  • All clipboard: All particpants can copy&paste from their hosts

I'll be doing some tests and post

gbrian avatar Mar 04 '22 11:03 gbrian

Clipboard needs some refactoring. Would be worth opening a new topic and reworking clipboard support with full alternative GUI (meaning if user presses Ctrl+V and clipboard is not supported by his browser or he did not gain access to it, popup should show up to inform him and also show textarea where he can copy it, and vice versa with ctrl+v).

m1k1o avatar Mar 05 '22 13:03 m1k1o

Agree, Fine with textarea/gui is needed for mobile as well. For desktop I was thinking some sort of Ctrl+Shif+c and Ctrl+Shif+v for host copy&paste

gbrian avatar Mar 05 '22 14:03 gbrian

Agreed. The clipboard could be better.

yesBad avatar Mar 05 '22 17:03 yesBad