Rationale for disabling clipboard by default?

Postings relating to old VirtualBox pre-releases
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Rationale for disabling clipboard by default?

Post by mpack »

I see that 4.2.0 and the new 4.1.20 both have the shared clipboard disabled by default. Can someone quickly explain the rationale behind this? This is not a complaint, it's a feature I rarely use, however I can't think of a strong reason for disabling it, never mind doing it by default, so when the inevitable complaints come I'd like to have a good answer! :)
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Any and all
Contact:

Re: Rationale for disabling clipboard by default?

Post by michaln »

Security.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Rationale for disabling clipboard by default?

Post by mpack »

Well, I kind of assumed that, but I couldn't see what threat might propagate via the clipboard. Is there a convincing rationale?
Martin
Volunteer
Posts: 2562
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: Rationale for disabling clipboard by default?

Post by Martin »

Maybe paying business customers asking for that "feature"? :wink:
sej7278
Volunteer
Posts: 1003
Joined: 5. Sep 2008, 14:40
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD
Contact:

Re: Rationale for disabling clipboard by default?

Post by sej7278 »

mpack wrote:Well, I kind of assumed that, but I couldn't see what threat might propagate via the clipboard. Is there a convincing rationale?
its not just a normal clipboard though is it, like between an application. i agree with it being disabled by default for security.
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Any and all
Contact:

Re: Rationale for disabling clipboard by default?

Post by michaln »

mpack wrote:Well, I kind of assumed that, but I couldn't see what threat might propagate via the clipboard.
That's the problem - you don't know where the clipboard's been. Users could be copy/pasting their bank account passwords and whatnot via the clipboard.

In short, security is the enemy of convenience. We may not like that, but that's how it is. This is all about putting responsibility on the user - if the users trust their VMs, they will enable clipboard sharing. If they don't, then an untrusted VM won't be able to snarf sensitive content. It's all about letting (forcing if you wish) the user decide which doors will be open and which will be kept locked. The default has to be locked.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Rationale for disabling clipboard by default?

Post by mpack »

So the rationale is to prevent accidentally and unknowingly revealing sensitive information, rather than blocking malware. That's fine, that's all I wanted to know. Convenience wasn't a concern - like I said above, it isn't a feature I use a lot.
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Re: Rationale for disabling clipboard by default?

Post by Technologov »

I believe this is wrong decision, and should be reversed.

Reason: Newbie users will not know how-to enable it, and will consider this feature broken. Security-oriented users are more likely to read docs, and disable this feature if they so choose.

In short: The system must be user-friendly by default, not secure by default.

-Technologov
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Any and all
Contact:

Re: Rationale for disabling clipboard by default?

Post by michaln »

Technologov wrote:In short: The system must be user-friendly by default, not secure by default.
You don't set the policy, Oracle does. The Oracle policy is "secure by default".
dq
Posts: 10
Joined: 7. Jul 2012, 13:53

Re: Rationale for disabling clipboard by default?

Post by dq »

How do you enable it?
Andre.Ziegler
Posts: 62
Joined: 17. Jul 2007, 13:45
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows Embedded Standard 7, Windows Vista Sp2, Linux (Ubuntu, Linux Mint, Zorin)

Re: Rationale for disabling clipboard by default?

Post by Andre.Ziegler »

Technologov wrote:users will not know how-to enable it, and will consider this feature broken.
I also thought this, because I couldn't find a reference in the changelog of the Beta1. This change is only mentioned inside the manual. Do you expect that all users read the full docs over and over again to find changes?
Dsen
Oracle Corporation
Posts: 170
Joined: 10. Sep 2007, 10:42

Re: Rationale for disabling clipboard by default?

Post by Dsen »

dq wrote:How do you enable it?
You will be able to alter this setting:
1. in VM settings / General page / Advanced tab,
2. through running VM / Devices menu / Shared Clipboard sub-menu.
dq
Posts: 10
Joined: 7. Jul 2012, 13:53

Re: Rationale for disabling clipboard by default?

Post by dq »

On what release will this option be available?
Dsen
Oracle Corporation
Posts: 170
Joined: 10. Sep 2007, 10:42

Re: Rationale for disabling clipboard by default?

Post by Dsen »

dq wrote:On what release will this option be available?
Next RC.
owntmp
Posts: 8
Joined: 27. Aug 2012, 23:41

Re: Rationale for disabling clipboard by default?

Post by owntmp »

Why not let user setup clipboard and drag options when create virtual machine not after ?
Then nobody will pass it.

But ... I just say, I don't think they will hear :mrgreen:
Post Reply