delphi (prism) soap web services and security adding soap headers, hashing and https bob swart (aka...

6
Delphi (Prism) SOAP Web Services and Security Adding SOAP Headers, Hashing and HTTPS Bob Swart (aka Dr.Bob)

Upload: angela-reed

Post on 03-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Delphi (Prism) SOAP Web Services and Security Adding SOAP Headers, Hashing and HTTPS Bob Swart (aka Dr.Bob)

Delphi (Prism) SOAP Web Services and Security

Adding SOAP Headers, Hashing and HTTPS

Bob Swart (aka Dr.Bob)

Page 2: Delphi (Prism) SOAP Web Services and Security Adding SOAP Headers, Hashing and HTTPS Bob Swart (aka Dr.Bob)

Agenda

• SOAP Web Services Security

• Delphi Prism XE ASP.NET Chat Server

• Securing ASP.NET Chat Server– Using SOAP Headers, Hashing and HTTPS

• Writing ASP.NET Chat Client– Send Hashed SOAP Headers, using HTTPS

• Writing Delphi XE Win32 Client– Send SOAP Headers, using HTTPS

Page 3: Delphi (Prism) SOAP Web Services and Security Adding SOAP Headers, Hashing and HTTPS Bob Swart (aka Dr.Bob)

SOAP Message

• SOAP Envelope– SOAP Header

• Header Block• …

– SOAP Body• Message Body (Request or Response)• SOAP Fault (only in case of error)

• Part of W3C standard

Page 4: Delphi (Prism) SOAP Web Services and Security Adding SOAP Headers, Hashing and HTTPS Bob Swart (aka Dr.Bob)

Summary

• SOAP Web Services Security– SOAP Headers– HTTPS / SSL– Hash contents of SOAP Header (optional)

• SOAP Web Clients– ASP.NET client

• Send Hashed SOAP Headers, using HTTPS

– Win32 VCL client– Send SOAP Headers, using HTTPS

Page 5: Delphi (Prism) SOAP Web Services and Security Adding SOAP Headers, Hashing and HTTPS Bob Swart (aka Dr.Bob)

References

• Free recent “Dr.Bob Examines…” articles– #122: Delphi Prism web chat service (Feb 2010)

• http://www.drbob42.com/examines/examinC2.htm

– #127: Securing chat with SOAP Headers (July 2010)• http://www.drbob42.com/examines/examinC7.htm • https://www.bobswart.nl/WebChat (actual chat URL)

• Courseware manuals– Delphi 2010 XML, SOAP & Web Services manual

(from Lulu.com or as PDF from http://www.eBob42.com/courseware)

– Delphi XE edition coming (free update for PDF customers)

– Delphi Prism Development Essentials

Page 6: Delphi (Prism) SOAP Web Services and Security Adding SOAP Headers, Hashing and HTTPS Bob Swart (aka Dr.Bob)

Thank You

Bob [email protected]

Friday, Oct 8, 2010 – 6:00am-6:45am PDT