This preview shows page 1. Sign up to view the full content.
Unformatted text preview: • highly crash resistant (one or more tasks can fail without losing
service) U [Multi-]Threaded
• shares less complex code of Multi-Tasking model
• system overhead between Single-Threaded and Multi-Tasking model
• crash resistant (but one badly behaved thread ‘can’ crash service) SAS Institute Inc.
Cary, NC SAS/C & C++ Compiler R&D Slide 27
Feb. 1998 C Socket Programming Tutorial SHARE Session 5958 Security Considerations
U Socket semantics do NOT address security problems, such
U IP and adapter addresses
Userid and passwords
traces UNIX systems require “root” privilege when a program binds
a “reserved” (<1024) port
getpeername() returns the peer’s port and IP-address:
determine “privileged” peers and “trusted” hosts
The Kerberos protocol provides password and data
encryption, along with service authentication SAS Institute Inc.
Cary, NC SAS/C & C++ Compiler R&D Slide 28
Feb. 1998 C Socket Programming Tutorial SHARE Session 5958 Portability Con...
View Full Document
This document was uploaded on 02/14/2014.
- Summer '12