Solaris Security for Developers Guide
  Search only this book
Download this book in PDF (1731 KB)

Preface

The Solaris Security for Developers Guide describes the public application programming interfaces (API) and service provider interfaces (SPI) for the security features in the SolarisTM operating environment. The term service provider refers to components that are plugged into a framework to provide security services, such as cryptographic algorithms and security protocols.


Note –

This Solaris release supports systems that use the SPARC® and x86 families of processor architectures: UltraSPARC®, SPARC64, AMD64, Pentium, and Xeon EM64T. The supported systems appear in the Solaris 10 Hardware Compatibility List at http://www.sun.com/bigadmin/hcl. This document cites any implementation differences between the platform types.

In this document these x86 related terms mean the following:

  • “x86” refers to the larger family of 64-bit and 32-bit x86 compatible products.

  • “x64” points out specific 64-bit information about AMD64 or EM64T systems.

  • “32-bit x86” points out specific 32-bit information about x86 based systems.

For supported systems, see the Solaris 10 Hardware Compatibility List.


What's New

OpenSolaris development build 103: In Packaging Kernel-Level Provider Modules, steps 3 and 4 are not required for OpenSolaris development build 103 or later.

OpenSolaris development build 74: A new chapter, Chapter 10, Introduction to the Solaris Key Management Framework, describes interfaces and tools for managing Public Key Infrastructure objects in Solaris.

Who Should Use This Book

The Solaris Security for Developers Guide is intended for C-language developers who want to write the following types of programs:

  • Privileged applications that can override system controls

  • Applications that use authentication and related security services

  • Applications that need to secure network communications

  • Applications that use cryptographic services

  • Libraries, shared objects, and plug-ins that provide or consume security services


Note –

For Java-language equivalents to the Solaris features, see http://java.sun.com/javase/technologies/security/.


Before You Read This Book

Readers of this guide should be familiar with C programming. A basic knowledge of security mechanisms is helpful but not required. You do not need to have specialized knowledge about network programming to use this book.

How This Book Is Organized

This book is organized into the following chapters.

Related Documentation

For other information on security features, see the following sources:

Documentation, Support, and Training

The Sun web site provides information about the following additional resources:

Sun Welcomes Your Comments

Sun is interested in improving its documentation and welcomes your comments and suggestions. To share your comments, go to http://docs.sun.com and click Feedback.

Typographic Conventions

The following table describes the typographic conventions that are used in this book.

Table P–1 Typographic Conventions

Typeface 

Meaning 

Example 

AaBbCc123

The names of commands, files, and directories, and onscreen computer output 

Edit your .login file.

Use ls -a to list all files.

machine_name% you have mail.

AaBbCc123

What you type, contrasted with onscreen computer output 

machine_name% su

Password:

aabbcc123

Placeholder: replace with a real name or value 

The command to remove a file is rm filename.

AaBbCc123

Book titles, new terms, and terms to be emphasized 

Read Chapter 6 in the User's Guide.

A cache is a copy that is stored locally.

Do not save the file.

Note: Some emphasized items appear bold online.

Shell Prompts in Command Examples

The following table shows the default UNIX® system prompt and superuser prompt for shells that are included in the Solaris OS. Note that the default system prompt that is displayed in command examples varies, depending on the Solaris release.

Table P–2 Shell Prompts

Shell 

Prompt 

Bash shell, Korn shell, and Bourne shell 

$

Bash shell, Korn shell, and Bourne shell for superuser 

#

C shell 

machine_name%

C shell for superuser 

machine_name#