teletype icon indicating copy to clipboard operation
teletype copied to clipboard

Blocking some commands that could be made by the guests.

Open snowc0de opened this issue 3 years ago • 2 comments

Could it be possible to block some commands, like exit for example. If a guest wants to quit the room and type exit to go out of its terminal, the session of everybody ends, and that's maybe not really cool.

Another idea would be to create blacklists of commands. For example the host could say "I don't want the guests to run xyz commands, without my agreement"

Tell me what you think.

snowc0de avatar Aug 31 '20 15:08 snowc0de

Could it be possible to block some commands, like exit for example. If a guest wants to quit the room and type exit to go out of its terminal, the session of everybody ends, and that's maybe not really cool.

I'm not sure I understand the scenario. Can you be more explicit:

  • Who are the participants? (say one streamer A, one guest viewer B)
  • What is the sequence of events ?
  • Is collaboration mode enabled ?

Another idea would be to create blacklists of commands. For example the host could say "I don't want the guests to run xyz commands, without my agreement

I don't see the reason why we should filter commands when streamer has given explicit permission for collaboration. It's all about trust, a similar scenario would be two colleagues in an office troubleshooting something together on one's machine. You don't expect him/her to sudo rm -rf sitting right alongside you, right? To sum it up, only enable collaboration mode for trusted people, and end the stream when you're done.

akshaykmr avatar Aug 31 '20 21:08 akshaykmr

This is an example: I create a new terminal and host it on Oorja. Then a guest comes to help me troubleshooting something. But this host forget that it's not his terminal and press CTRL+D, and ends the session by mistake. Now that I think about, you right there is no reason to have a blacklist of commands but maybe just a warning like "Warning, you typed 'exit' do you really wants to quit the communication?".

Of course this is a very minor idea.

snowc0de avatar Sep 01 '20 10:09 snowc0de