Security and Architectures of Distributed Systems
Academic Year 2006
Politecnico di Torino
Week 0
Friday (May, 12)
- Tips on Useful network tools
- Error Handling: how to correctly log errors
- Exchanging data over the network (data translation to network format)
- Network addresses: how to set and validate them
- Signalling a process: sleep(), alarm(), signal()
- Sockets creation
Material used during the lesson is available
here.
Week 1
Monday (May, 15)
- Wrapper functions: the importance of remembering to handle errors
- Main Socket programming functions: connect(), bind(), listen(), ...
- Setting the socket queue dimension (backlog)
- Reading and writing on sockets: readn(), write(n), readline(), ...
Material used during the lesson is available
here.
Tuesday (May, 16)
Exercises are available
here.
Wednesday (May, 17)
- Connected Datagram Sockets
- Unix Processes: handling SIGCHLD
- Exec functions family
- Concurrent Servers structure
- Basics of RPC interface and programming
Material used during the lesson is available
here.
Friday (May, 19)
- HTML Basics
- Cascade Stylesheets (CSS)
- Dynamic HTML
- DOM
- DOM main classes (event, input, ...)
- Embedded contents
- Java Applets
- ActiveX controls
Week 2
Monday (May, 22)
- HTTP Protocol
- Cookies
- Static Web
- Dynamic Pages
- Dynamic Web
- CGI
Tuesday (May, 23)
Exercises are available
here.
Wednesday (May, 24)
- Form validation and CGI
- Differences between GET and POST methods
- ISAPI Application and Filters
- Server-side scripting (ASP, JSP, ...)
- Client-side scripting (Javascript)
- SSI and XSSI
Material used during the lesson is available
here.
Friday (May, 26)
Material used during the lesson is available
here.
Week 3
Monday (May, 29)
- PHP and Databases
- Basic DB.php functionalities
- SQL
- Sample Applications
Material used during the lesson is available
here.
Tuesday (May, 30)
Exercises are available
here.