PDA

View Full Version : Authenticate My Application to Raw read hard disk on Tiger??




naveen
Oct 24, 2005, 08:25 AM
Hi all
I am able to raw read the hard disk on Mac OS 10X but on Mac OS Tiger I am not able to raw read the hard disk it gives an error "Permissions denied".

How I can authenticate my application to raw read the hard disk on Mac OS Tiger.


Please give me some sample code so that i can authenticate my application to raw read.


Thanks and Regards



robbieduncan
Oct 24, 2005, 09:33 AM
You should read the documentation (http://developer.apple.com/documentation/Security/Reference/authorization_ref/index.html).

Then maybe you could look at the Apple Sample Code (http://developer.apple.com/samplecode/Security/idxAuthorization-date.html)

jeremy.king
Oct 24, 2005, 03:49 PM
You should read the documentation (http://developer.apple.com/documentation/Security/Reference/authorization_ref/index.html).

Then maybe you could look at the Apple Sample Code (http://developer.apple.com/samplecode/Security/idxAuthorization-date.html)

This answer is so true for all of naveen's questions.

Naveen, I am very curious as to what you are writing...

robbieduncan
Oct 24, 2005, 06:13 PM
This answer is so true for all of naveen's questions.

Naveen, I am very curious as to what you are writing...

And given the number of questions asked will MacRumors get a credit in the About box?
:D

kainjow
Oct 25, 2005, 12:54 AM
Try the Authorization.framework here: http://septicus.com/products/opensource/

robbieduncan
Oct 25, 2005, 02:20 AM
Try the Authorization.framework here: http://septicus.com/products/opensource/

That looks nice, but iirc naveen's previous questions have been Carbon based so the C API above is probably better for him.

caveman_uk
Oct 25, 2005, 02:49 AM
When I looked at the authentication.framework stuff it was fine as far as it went. Seemed a bit weak and lacking in features. You'd probably end up using the C API anyway.

Yeah, Naveen. Any chance of you checking the documentation before asking? Or perhaps actually thanking people that do take the time to answer you?