Jump To:
Leopard Sample Code: Darwin
Mac OS X provides a number of authorization, authentication, and cryptographic services that developers can use to build security into their applications. Developers can use certain security-related programming techniques (such as enabling root access) at the Darwin or core OS level to enable applications to perform operations not ordinarily supported by these APIs.

View all Security Sample Code.
Document Descriptions
On Off
Display

Sorted by
Title
Sort by
Date
CryptNoMore (HTML) (DMG) (ZIP)
Shows how to authenticate a user using Open Directory (Directory Services).
2008-03-17
CryptoSample (HTML) (DMG) (ZIP)
Contains sample code showing symmetric encryption and message digest calculation.
2003-02-06
GetMACAddressSample (HTML) (DMG) (ZIP)
Demonstrates how to retrieve the MAC address for each Ethernet interface from the Mac OS X I/O Registry.
2003-01-14
GetPrimaryMACAddress (HTML) (DMG) (ZIP)
Demonstrates retrieving the MAC address of the built-in Ethernet controller. Useful for uniquely identifying a Macintosh system.
2005-10-27
KauthORama (HTML) (DMG) (ZIP)
Prints each Kauth request, illustrating how Kauth interacts with high-level operations, like copying files.
2007-04-30
MoreIsBetter (HTML) (DMG) (ZIP)
Library providing indispensable wrapers and workarounds for many areas of Mac OS programming.
2003-10-27
QISA (HTML) (DMG) (ZIP)
Demonstrates the basics of writing an Internet setup assistant for traditional Mac OS and Mac OS X.
2003-05-15
SSLSample (HTML) (DMG) (ZIP)
Contains examples showing how to use SecureTransport.
2003-01-14