Re: Secure Virtual Ram Detection
Re: Secure Virtual Ram Detection
- Subject: Re: Secure Virtual Ram Detection
- From: Ricky Sharp <email@hidden>
- Date: Sat, 2 Jun 2007 12:17:13 -0500
On Jun 2, 2007, at 7:08 AM, Andrew James wrote:
Not sure which list this really belongs on, however what im trying
to do is detect if a system has Secure Virtual Ram enabled as it
causes some problems with parts of my program and i want to disable
them.
So any ideas on how to detect if the user has enable the secure
virtual memory option in the security pref pane
PS. I assume its stored in a plist somewhere...
A plist setting may exist. You're best bet is to (in Terminal), do a
'defaults read' to dump out all settings (pipe to a file). Then,
switch the setting and compare the resultant file.
But that key, if it even exists, may not be public. Thus, your
program risks breakage in the future.
An alternative approach is for you to just have your own setting of
whether or not SVR is enabled. Users would just have to sync that
up with reality.
Feel free to also file an enhancement request to either add an API or
make that setting's key public.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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