• 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: activate my application while dragging on other application window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: activate my application while dragging on other application window


  • Subject: Re: activate my application while dragging on other application window
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 4 Apr 2008 09:24:06 -0700


On 3 Apr '08, at 11:03 PM, Apparao Mulpuri wrote:

What type of Security issues are there in Windows appearance attributes change?
Jens, Could you please explain your reply clearly?

A window's pixels are accessible only to the process that owns the window, and to the window-server process (which is responsible for copying them to the screen.) If other processes could write into them, which is what your feature would require, then
(a) a buggy process could write garbage into other applications' windows, messing up the entire screen;
(b) a malicious process could write fake content into other applications' windows. For example, hiding a system security alert by clearing it to transparent. Even reading the pixels could be a security problem if there were confidential data in the other app's window.


You haven't even explained _why_ your app would need such a feature, or what it's for in the first place. What's the use of an app that draws squares on my screen and changes other apps' windows colors when they move into them?

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: activate my application while dragging on other application window
      • From: "Apparao Mulpuri" <email@hidden>
References: 
 >activate my application while dragging on other application window (From: "Apparao Mulpuri" <email@hidden>)
 >Re: activate my application while dragging on other application window (From: "Apparao Mulpuri" <email@hidden>)
 >Re: activate my application while dragging on other application window (From: Jens Alfke <email@hidden>)
 >Re: activate my application while dragging on other application window (From: "Apparao Mulpuri" <email@hidden>)
 >Re: activate my application while dragging on other application window (From: Jens Alfke <email@hidden>)
 >Re: activate my application while dragging on other application window (From: "Apparao Mulpuri" <email@hidden>)
 >Re: activate my application while dragging on other application window (From: Jens Alfke <email@hidden>)
 >Re: activate my application while dragging on other application window (From: "Apparao Mulpuri" <email@hidden>)

  • Prev by Date: Re: core data - beyond the simple example
  • Next by Date: Re: How to create process independent of current process AND that takes command line arguments?
  • Previous by thread: Re: activate my application while dragging on other application window
  • Next by thread: Re: activate my application while dragging on other application window
  • Index(es):
    • Date
    • Thread