Re: NSNumber : method to return pointer to represented value

2014-02-21 Thread jonat...@mugginsoft.com
On 22 Feb 2014, at 00:12, Ken Thomases wrote: > On Feb 21, 2014, at 3:17 PM, jonat...@mugginsoft.com wrote: > >> So I want to be able to send the same message to any class and get an >> appropriate void* pointer. > > There's no one representation of its content, so there's no way for any > r

Re: Disabling screen capture

2014-02-21 Thread Gary L. Wade
You did go to this page, right? https://developer.apple.com/membercenter/index.action#requestTechSupport I remembered one form on the site, not this one, that I had to submit by deleting all the data and doing it again. Some freaky web page issue; I think it was a phone number field that kept t

Re: Disabling screen capture

2014-02-21 Thread Scott Ribe
On Feb 21, 2014, at 10:38 PM, Bradley O'Hearne wrote: > This is not the case on Windows. It provides the ability to block certain > things which public API on OS X does not. His point was that counting on that is not reliable. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev

Re: Disabling screen capture

2014-02-21 Thread Bradley O'Hearne
On Feb 21, 2014, at 9:43 PM, dangerwillrobinsondan...@gmail.com wrote: > They're pointing out valid security issues which are true on all platforms. … > On any platform, you will need to basically install and run a root kit. This is not the case on Windows. It provides the ability to block cert

Re: Disabling screen capture

2014-02-21 Thread dangerwillrobinsondanger
> On 2014/02/22, at 11:13, Bradley O'Hearne wrote: > >> On Feb 21, 2014, at 3:02 PM, Jens Alfke wrote: >> >> >>> On Feb 21, 2014, at 1:26 PM, Bradley O'Hearne >>> wrote: >>> >>> If that is the case, then once I can officially confirm this, then I’ll >>> drop the pursuit. >> >> The key wo

Re: Disabling screen capture

2014-02-21 Thread Bradley O'Hearne
On Feb 21, 2014, at 3:02 PM, Jens Alfke wrote: > The best answer I’ve seen is that you’ll need to file a DTS support incident > and go through those official channels. I’ve spent the last hour trying to post an issue to DTS via the Apple Mac Developer Program Member Center….no dice. Despite t

Re: Disabling screen capture

2014-02-21 Thread Bradley O'Hearne
On Feb 21, 2014, at 3:02 PM, Jens Alfke wrote: > > On Feb 21, 2014, at 1:26 PM, Bradley O'Hearne > wrote: > >> If that is the case, then once I can officially confirm this, then I’ll drop >> the pursuit. > > The key word is “officially”. There’s not really any point to discussing it > her

Re: NSNumber : method to return pointer to represented value

2014-02-21 Thread Ken Thomases
On Feb 21, 2014, at 3:17 PM, jonat...@mugginsoft.com wrote: > I have an NSNumber containing 5. > The NSNumber instance is a key in a dictionary collection. > In order to obtain the value I need to pass a pointer to a memory location > containing 5 to Mono. > However not all keys in the dictionar

Re: Disabling screen capture

2014-02-21 Thread Ron Hunsinger
On Feb 21, 2014, at 2:30 PM, SevenBits wrote: > Well, yes, but Apple has the source code to OS X. There’s an important > difference in that users cannot simply just delete important OS components. > In some other operating systems (e.g Linux) everything works with packages > and you can simply

Re: Disabling screen capture

2014-02-21 Thread Scott Ribe
On Feb 21, 2014, at 2:26 PM, Bradley O'Hearne wrote: > Industries such as medical (HIPAA), legal, government, education, military > defense, etc. all have such security needs. Well, there's certainly no such need for HIPAA compliance... -- Scott Ribe scott_r...@elevated-dev.com http://www.ele

Re: Disabling screen capture

2014-02-21 Thread Ron Hunsinger
On Feb 21, 2014, at 1:26 PM, Bradley O'Hearne wrote: > I believe it would be much more accurate to say that this is a fundamental > issue of whether OS X provides an app the ability to secure its content or > not. If the answer is that having an app on OS X is synonymous with having > the cont

Re: Disabling screen capture

2014-02-21 Thread SevenBits
On Feb 21, 2014, at 5:19 PM, Ron Hunsinger wrote: > > On Feb 21, 2014, at 1:26 PM, Bradley O'Hearne > wrote: >> I believe it would be much more accurate to say that this is a fundamental >> issue of whether OS X provides an app the ability to secure its content or >> not. If the answer is th

Re: Disabling screen capture

2014-02-21 Thread Jens Alfke
On Feb 21, 2014, at 1:26 PM, Bradley O'Hearne wrote: > If that is the case, then once I can officially confirm this, then I’ll drop > the pursuit. The key word is “officially”. There’s not really any point to discussing it here. We already had this exact same discussion a few months ago and

Re: Disabling screen capture

2014-02-21 Thread Bradley O'Hearne
On Feb 21, 2014, at 12:24 PM, Kyle Sluder wrote: > On Fri, Feb 21, 2014, at 10:35 AM, Bradley O'Hearne wrote: >> I’ll also add (not for the purposes >> of inciting a religious debate, but for the purposes of perspective and >> comparison), that this is one area of security where OS X surprisingly

Re: NSNumber : method to return pointer to represented value

2014-02-21 Thread jonat...@mugginsoft.com
On 21 Feb 2014, at 19:07, Fritz Anderson wrote > int five = [@((int)5) intValue]; > SomeMonoCall("here's two more than three: ", &five); The above is basically correct - note that I edited it a bit. A basic point here is that you cannot take the address of an rvalue like so &[@((int)5) intVal

Re: Disabling screen capture

2014-02-21 Thread Kyle Sluder
On Fri, Feb 21, 2014, at 10:35 AM, Bradley O'Hearne wrote: > I’ll also add (not for the purposes > of inciting a religious debate, but for the purposes of perspective and > comparison), that this is one area of security where OS X surprisingly > gives ground to Windows. Windows exposes more abilit

Re: NSNumber : method to return pointer to represented value

2014-02-21 Thread Fritz Anderson
On 21 Feb 2014, at 6:12 AM, jonat...@mugginsoft.com wrote: > I require an pointer to the value represented by an NSNumber. (Assuming “value represented” means @1 -> 1, @HUGE -> HUGE.) > No interior pointer exists as the class is immutable. Immutability isn’t the point. The point is that the cla

Re: Disabling screen capture

2014-02-21 Thread Bradley O'Hearne
On Feb 21, 2014, at 11:07 AM, Jim Zajkowski wrote: > It sounds like the computers are owned by the people taking the test, > and are not owned by the testing center. Thanks for the reply, Jim. That’s correct, this is an app that runs on the test-taker’s computer. > How is the test data deliv

Re: Disabling screen capture

2014-02-21 Thread Bradley O'Hearne
On Feb 21, 2014, at 11:24 AM, Jens Alfke wrote: > On Feb 21, 2014, at 9:55 AM, Bradley O'Hearne > wrote: > >> when the app runs, it has to temporarily take control of their machines, >> deliver a test such that the user doesn’t cheat (by having other apps like a >> web browser available), and

Re: Disabling screen capture

2014-02-21 Thread Jens Alfke
On Feb 21, 2014, at 9:55 AM, Bradley O'Hearne wrote: > when the app runs, it has to temporarily take control of their machines, > deliver a test such that the user doesn’t cheat (by having other apps like a > web browser available), and the test content isn’t copied This sounds like a complet

Re: Disabling screen capture

2014-02-21 Thread Jim Zajkowski
It sounds like the computers are owned by the people taking the test, and are not owned by the testing center. How is the test data delivered to the client? What's to prevent someone from grabbing network traffic and memory of the test application in the background? --Jim On Fri, Feb 21, 2014 a

Re: Disabling screen capture

2014-02-21 Thread Bradley O'Hearne
On Feb 21, 2014, at 10:08 AM, Uli Kusterer wrote: > On 21 Feb 2014, at 17:54, Bradley O'Hearne wrote: >> - A kiosk-type environment isn’t some kind of wacky edge use-case. The >> question really distills down to whether or not OS X provides APIs that >> allow an app to facilitate a secure kios

Re: Disabling screen capture

2014-02-21 Thread Uli Kusterer
On 21 Feb 2014, at 17:54, Bradley O'Hearne wrote: > - A kiosk-type environment isn’t some kind of wacky edge use-case. The > question really distills down to whether or not OS X provides APIs that allow > an app to facilitate a secure kiosk-type environment. Maybe the design > philosophy behind

Re: Disabling screen capture

2014-02-21 Thread Bradley O'Hearne
On Feb 20, 2014, at 4:23 PM, dangerwillrobinsondan...@gmail.com wrote: >> On 2014/02/21, at 8:05, Stevo Brock wrote: >> >>> On Feb 20, 2014, at 2:39 PM, Jens Alfke wrote: >>> >>> If I were trying to circumvent this I'd just use my iPhone camera to take a >>> photo or video of the screen. (Or op

Re: Disabling screen capture

2014-02-21 Thread Bradley O'Hearne
On Feb 21, 2014, at 5:33 AM, Uli Kusterer wrote: > On 20 Feb 2014, at 20:58, Bradley O'Hearne wrote: >> At WWDC 2013, I approached the Apple engineering teams with a need that a >> client of mine had to disable all screen capture while an app was running. >> This includes the hotkeys for taki

Re: Disabling screen capture

2014-02-21 Thread Uli Kusterer
On 20 Feb 2014, at 20:58, Bradley O'Hearne wrote: > At WWDC 2013, I approached the Apple engineering teams with a need that a > client of mine had to disable all screen capture while an app was running. > This includes the hotkeys for taking screenshots, capturing displays with > AVFoundation,

NSNumber : method to return pointer to represented value

2014-02-21 Thread jonat...@mugginsoft.com
I require an pointer to the value represented by an NSNumber. No interior pointer exists as the class is immutable. My best attempt, a category that shadows the represented value, is as follows though I am wondering if I have missed a trick somewhere. NSNumber uses tagged pointers and my unit te