21.03.2013 Views

Problem - Kevin Tafuro

Problem - Kevin Tafuro

Problem - Kevin Tafuro

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

environment variables, dependencies<br />

on, 2<br />

external programs, executing, 28–33<br />

locking files, 58<br />

passwords, prompting for, 393–396<br />

recipes for, xxii<br />

resource starvation attacks,<br />

preventing, 727–730<br />

limiting resources with setrlimit( ),<br />

729<br />

restricting filesystem access, 68<br />

signal handling, 712<br />

guidelines, 713<br />

program termination, 713<br />

writing signal handlers, 714<br />

standard randomness infrastructure,<br />

using, 575–579<br />

user and group information,<br />

getting, 372–375<br />

UnlockFile( ), 59<br />

UnlockFileEx( ), 59<br />

unsetenv( ), 95<br />

URLs (Uniform Resource Locators)<br />

evaluating encodings of, 99<br />

user IDs, 39<br />

users, acquiring information about<br />

on Unix, 372–375<br />

on Windows, 375–379<br />

using a high-level, error-resistant encryption<br />

and decryption API, 217–221<br />

UTF-8 encoding, 110<br />

detecting illegal characters, 110–111<br />

invalid sequences, 111<br />

V<br />

va_arg( ), 711<br />

va_end( ), 711<br />

validate_and_retrieve_secret( ), 346<br />

validating email addresses, 101–102<br />

validating filenames and paths, 97–99<br />

VARARG_CALL_x macros, 709<br />

variable arguments, using properly, 709–712<br />

vasprintf( ), 78<br />

va_start( ), 711<br />

verifying signed data using an RSA public<br />

key, 340–343<br />

VeriSign, 505<br />

web page, 513<br />

Viega, John, 79, 168, 318<br />

virtual memory managers, 708<br />

VirtualLock( ), 708<br />

volatile keyword, 706<br />

VPNs (virtual private networks), 490<br />

vsnprintf( ), 78<br />

vsprintf( ), 77<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.<br />

W<br />

Wagner, David, 17<br />

WaitForSingleObject( ), 64<br />

web sites, xviii<br />

whitelists, 74<br />

certificate verification against, 544–547<br />

whitening, 571, 613<br />

Whiting, Doug, 168, 170<br />

wildcard characters, 109<br />

Windows, 63, 152<br />

access control, 41–43<br />

generic access rights, 42<br />

crashes and memory dumps, 35<br />

creating temporary files, 66<br />

Crypto API for HMAC, PRF via<br />

HMAC-SHA1 algorithm, 145<br />

entropy gathering<br />

from keyboard events, 634<br />

from mouse events, 638–643<br />

from system state, 644<br />

from threads, 644<br />

with EGADS, 599<br />

entropy sources on, 603<br />

environment variables, dependencies<br />

on, 2<br />

external programs, executing, 33<br />

filename and path validation, 97<br />

job objects, 731<br />

Kerberos and, 371<br />

mailslots, 477<br />

.NET Server 2003, process privileges, 8<br />

NT LAN Manager (NTLM), 371<br />

password character, setting, 397<br />

passwords, prompting for, 396<br />

PKCS #5, implementing in, 138<br />

randomness infrastructure, 580<br />

recipes for, xxii<br />

resource starvation attacks,<br />

preventing, 730–734<br />

socket functions, preparing to use, 477<br />

SpcConfirmationCreate(), 451<br />

SpcConfirmationReceive(), 451<br />

SpcMD5Encrypt( ), 405<br />

SSPI (Security Support Provider<br />

Interface), 454<br />

user and group information,<br />

acquiring, 375–379<br />

Index | 761

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!