• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is there any Cocoa API (or other way) to determine if an application is running in a VNC or ARD session?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there any Cocoa API (or other way) to determine if an application is running in a VNC or ARD session?


  • Subject: Re: Is there any Cocoa API (or other way) to determine if an application is running in a VNC or ARD session?
  • From: Uli Kusterer <email@hidden>
  • Date: Mon, 1 Mar 2010 11:41:46 +0100

On 27.02.2010, at 00:53, Joe Jones wrote:
> Why? So we can limit certain functionality over a remote connection. We do this for Terminal Services connections on Windows and I was asked about doing it for Mac.


 If you want this so you can limit e.g. whether users can see the contents of certain windows, you may also want to look into the CGWindow APIs/certain methods on NSWindow. I think their name is something like "window sharing". Essentially, they let you tell the OS that certain windows should not be screenshottable. That may work for VNC connections as well, I haven't tried it. But it's worth investigating.

Cheers,
-- Uli Kusterer
"The witnesses of TeachText are everywhere..."



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Is there any Cocoa API (or other way) to determine if an application is running in a VNC or ARD session?
      • From: Jonathan Hendry <email@hidden>
  • Prev by Date: Re: Core Data - synchronize ManagedObjectContexts - save date
  • Next by Date: Re: Carbon is C++?
  • Previous by thread: Re: Core Data - synchronize ManagedObjectContexts - save date
  • Next by thread: Re: Is there any Cocoa API (or other way) to determine if an application is running in a VNC or ARD session?
  • Index(es):
    • Date
    • Thread