Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

On OS X 10.7 or newer (10.8, 10.9) simply drag'n'drop files between your desktop and remote desktop to transfer the files between computers

How can I disable this? I have made restricted account just for Screen Sharing, and I don't want remote user to be able to copy files from my machine without any serious effort.

share|improve this question
    
When you say "I have restricted account just for Screen Sharing" do you mean you set up a separate account that you use for screen sharing only? And: are you aware that someone else controlling the session with screen sharing can copy files over the remote system anyway, even if not with drag&drop (since they are controlling the computer)? –  Asmus Jun 24 at 9:58
    
I've set up a restricted account (OS X call this "managed account"). This user can't run/install any app or access any site except those that I whitelisted for him. He can't copy files out of this system easily –  Sergei Jun 24 at 10:19
    
Well if you go through that much hassle anyway you might as well run your own VNC server or TeamViewer which allows more control. Seems like a curious use-case anyway ;-) –  Asmus Jun 24 at 10:23
    
This is not how SSharing works. But you can disable access to specific folders. –  Buscar웃 Jun 24 at 15:27

1 Answer 1

up vote 1 down vote accepted

You can just remove Screen Sharing server's helper tools from here:

/System/Library/CoreServices/RemoteManagement/screensharingd.bundle/Contents/Support/*

Quick check didn't show anything bad for the rest of server functions.

Please note that after an OS X update these helpers might be resurrected.

share|improve this answer
    
Thank you, it is perfect. –  Sergei Jun 25 at 11:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.