SlideShare une entreprise Scribd logo
Initiation à la sécurité des
Web Services (SOAP vs REST)

  Sylvain MARET
  Principal Consultant / MARET Consulting

  OpenID Switzerland & OWASP Switzerland
                                           Application Security Forum - 2012
                                                           Western Switzerland

                                       7-8 novembre 2012 - Y-Parc / Yverdon-les-Bains
                                       https://www.appsec-forum.ch
08.11.2012, Version 1.1 @smaret
2




Agenda
   Qu’est-ce qu’un Web Service ?
   SOAP
   REST
   Threat Modeling / ACME SA
   Réduction des risques
   Conclusion
   Questions
3




Bio
   18 years of experience in ICT Security
   Principal Consultant at MARET Consulting
   Expert at Engineer School of Yverdon
   Swiss French Area delegate at OpenID Switzerland
   Co-founder Geneva Application Security Forum
   OWASP Member
   Author of the blog: la Citadelle Electronique
   http://ch.linkedin.com/in/smaret or @smaret
   http://www.slideshare.net/smaret

 Chosen field
     – AppSec & Digital Identity Security
4




Agenda
    Qu’est-ce qu’un Web Service ?
    SOAP
    REST
    Threat Modeling / ACME SA
    Réduction des risques
    Conclusion
    Questions
5




Web Service: la base….
6




Web Service ?



                XML, JSON,   Provider
     Consumer     etc.
7




Un peu d’histoire

   1990 : DCE/RPC – Distributed Computing Environment
   1992 : CORBA – Common Object Request Broker Architecture
   1990-1993 : Microsoft’s DCOM -- Distributed Component Object Model
   1995: RMI – Monde Java

 Pour arriver à une standardisation (toujours en cours) des protocoles, outils,
  langages et interfaces

     – SOAP
     – REST
     – Etc.
                               Web Service
8




Agenda
    Qu’est-ce qu’un Web Service ?
    SOAP
    REST
    Threat Modeling / ACME SA
    Réduction des risques
    Conclusion
    Questions
9




SOAP vs REST ?
10




SOAP: Les ingrédients
11




SOAP: Démystification des technologies
 Langages
   – XML
   – WSDL : Descripteur du service
   – UDDI: Annuaire des services
 Protocoles
   – Transport: HTTP, HTTPS, SMTP, FTP, SMS, TFTP, SSH, etc. (TCP or UDP)
   – Message: Enveloppe SOAP
 Sécurité
   – WS-Security (Signature & Chiffrement)
 Autres éléments
   – AuthN: SAML, X509, Username & Password, Kerberos, HTTP Digest, etc.
12




Enveloppe SOAP

                       - SOAP : Simple Object Access Protocol

                       - Permet l’envoi de messages XML

                       - Agnostique au moyen de transport
                           - HTTP
                           - HTTPS
                           - FTP
                           - etc.




   Source= wikipédia
13




SOAP request




               SOAP response
14




UDDI
 Universal Description Discovery and Integration, connu
  aussi sous l'acronyme UDDI, est un annuaire de services
  fondé sur XML et plus particulièrement destiné aux
  services Web.
15




WSDL
 WSDL est une grammaire XML permettant
  de décrire un Service Web.

 Le WSDL sert à décrire :
    – le format de messages requis pour communiquer avec ce
      service
    – les méthodes que le client peut invoquer
    – la localisation du service
    – le protocole de communication (SOAP RPC ou SOAP orienté
      message)

http://fr.wikipedia.org/wiki/Web_Services_Description_Language
16




WSDL




http://predic8.com/wsdl-reading.htm
17




WSDL: exemple
18




SOAP: Démystification des protocoles
    Découverte                  UDDI



    Description                WSDL



      Message               SOAP / XML


                  HTTP, HTTPS, FTP, SFTP, SMS, SMTP
    Protocole
                            (TCP or UDP)


     Transport                   IP
19




Agenda
    Qu’est-ce qu’un Web Service ?
    SOAP
    REST
    Threat Modeling / ACME SA
    Réduction des risques
    Conclusion
    Questions
20




REST: Les ingrédients
21




REST: Démystification des technologies
 Langages
   – XML
   – JSON
   – XHTML, HTML, PDF... as data formats
 Protocoles
   – HTTP(s)  Utilisation d’une URL
   – Méthode de communication (GET, POST, PUT, DELETE)
 Sécurité
   – Sécurité du transport (SSL/TLS)
   – Sécurité des messages: HMAC & Doseta (Like XML Signature)
 Autres éléments
   – Oauth, API Keys
22




Représentation REST (exemple JSON)
23




Méthodes REST
24




REST: Démystification des protocoles
        Découverte                             ???


         Description                    WADL, Swagger ***


           Message                       XML, JSON, etc.


         Protocole                         HTTP, HTTPS


          Transport                          TCP/IP


*** Avant-gardiste mais peux utiliser
25
26




SOAP vs REST
27




Agenda
    Qu’est-ce qu’un Web Service ?
    SOAP
    REST
    Threat Modeling / ACME SA
    Réduction des risques
    Conclusion
    Questions
28




http://fr.wikipedia.org/wiki/Diagramme_de_flux_de_donn%C3%A9es
29
30




Modèle STRIDE




 https://www.owasp.org/index.php/Application_Threat_Modeling
31




Menaces selon le DFD Acme SA
 Threat 1
  – Interception des messages (Information disclosure)
  – Modification des messages (Tampering)
  – Usurpation d’identité (Spoofing)


 Threat 2
  – Attaque de l’application
     •   BoF
     •   Injection
     •   DoS & DDoS
     •   Etc
32




Agenda
    Qu’est-ce qu’un Web Service ?
    SOAP
    REST
    Threat Modeling / ACME SA
    Réduction des risques
    Conclusion
    Questions
33



ACME SA: Réduction
des risques ?

   Chiffrement du transport
   AuthN
   SSL Mutual AuthN / X509
   WAF / XML Gateway
   Intégrité et confidentialité des messages
   Secure Coding
34




Chiffrement du transport
                 SOAP / XML           REST
HTTPS                         HTTPS
SSL/TLS tunnel
SSH
IPSEC
Etc.
35




AuthN
              SOAP / XML                               REST
HTTP Basic, Digest,              HTTP Basic, Digest,
HTTP Header                      HTTP Header
Mutual SSL                       Mutual SSL
IP trust                         IP trust
WS Security user name password   Oauth
WS SAML Authentication token     API Keys
XML Signature
Kerberos
Etc.
36




SSL Mutual AuthN / X509 / PKI
               SOAP / XML                                    REST
SSL/TLS Mutual AuthN**                      SSL/TLS Mutual AuthN**




** Man in the middle not possible… (As I Know)
37




WAF / XML Gateway (Protection périmétrique)
               SOAP / XML                     REST
Reverse Proxy               Reverse Proxy
Contrôle requêtes HTTP      Contrôle requêtes HTTP
Rupture SSL/TLS             Rupture SSL/TLS
Black List                  Black List
White List                  White List
Validation WSDL
Signature & Verification
Encryption & Decryption
SAML
38




Intégrité et confidentialité des messages
                 SOAP / XML                        REST
XML Signature                 •(p.ex: HMAC, Doseta)
XML Encryption                • JSON Signature
                              • **




                                   ** Pas de chiffrement à ma connaissance
39




Code security
                 SOAP / XML                                          REST
- Data input validation                          - Data input validation
- Data output encoding                           - Data output encoding
- Pseudorandom data generation, high             - Pseudorandom data generation, high
entropy                                          entropy
- Strong / reliable data encryption algorithms   - Strong / reliable data encryption algorithms
- Data leakage prevention                        - Data leakage prevention
- Robust error & exception handling              - Robust error & exception handling
- Anti-automation and expiration measures        - Anti-automation and expiration measures

OWASP Application Security Verification Standard (ASVS):
https://www.owasp.org/index.php/ASVS
WASC web application weaknesses:
http://projects.webappsec.org/w/page/13246978/Threat%20Classification
40




REST & OAuth
41




Agenda
    Qu’est-ce qu’un Web Service ?
    SOAP
    REST
    Threat Modeling / ACME SA
    Réduction des risques
    Conclusion
    Questions
42




Conclusion
 SOAP:
    –   Implémenter les standards WS-* liés à la sécurité
    –   Mettre en place un filtrage applicatif (WAF, XML GW)
    –   Complexe à mettre en œuvre (PKI, Secure coding, Cryptography, etc.)
    –   Architecture à forte contrainte de sécurité


 REST
    – Mettre en place un filtrage applicatif (WAF, XML GW)
    – Implémentation rapide et facile  tendance
    – Architecture de type Cloud, Intranet, Social Login, etc.


 On attend avec impatience les standards sécu pour REST ???
   – Pragmatique: protection périmétrique, chiffrement et Secure Coding ???
43




Pour aller plus loin….
44




Questions?
45




Merci / Thank you!

Contact:
   sma@maret-consulting.ch
   @smaret
   http://www.maret-consulting.ch
   Slides:
      http://slideshare.net/ASF-WS/

Contenu connexe

PDF
ASFWS 2012 / Initiation à la sécurité des Web Services par Sylvain Maret
PDF
Securite des Web Services (SOAP vs REST) / OWASP Geneva dec. 2012
PDF
Introduction à la sécurité des WebServices
PDF
Securisation des web services soap contre les attaques par injection
PPTX
Introduction aux web services
PPTX
Chp5 - Sécurité des Services
PPT
education
PDF
Utilisation de services Web sécurisés en Java en environnement Open Source
ASFWS 2012 / Initiation à la sécurité des Web Services par Sylvain Maret
Securite des Web Services (SOAP vs REST) / OWASP Geneva dec. 2012
Introduction à la sécurité des WebServices
Securisation des web services soap contre les attaques par injection
Introduction aux web services
Chp5 - Sécurité des Services
education
Utilisation de services Web sécurisés en Java en environnement Open Source

Tendances (9)

PPTX
Soa & services web
PPTX
Chp3 - Les Services Web
PDF
Support Web Services SOAP et RESTful Mr YOUSSFI
PPTX
Sécurité des web services soap
PDF
Architectures orientées services
PPSX
Fonctionnalités JBoss ESB
PDF
Services web soap-el-habib-nfaoui
PPTX
Chap1 p1-introduction
PPTX
Sécurisation des services WCF avec WS-Security
Soa & services web
Chp3 - Les Services Web
Support Web Services SOAP et RESTful Mr YOUSSFI
Sécurité des web services soap
Architectures orientées services
Fonctionnalités JBoss ESB
Services web soap-el-habib-nfaoui
Chap1 p1-introduction
Sécurisation des services WCF avec WS-Security
Publicité

En vedette (20)

PDF
ASFWS 2012 - Node.js Security – Old vulnerabilities in new dresses par Sven V...
PPT
Node.JS security
PDF
Server Side Apocalypse, JS
PPTX
Javascript Security - Three main methods of defending your MEAN stack
PDF
Surviving Web Security - Node Interactive
KEY
Blue Ocean Strategy Case Seats2meet
PDF
9 unknown mistakes you may be making while promoting your brand on social media
PDF
PDF
Flavio Cattaneo: Nuovi massimi storici per Terna (La Stampa)
PPTX
Sharing motivation
PPTX
Yakinlah pada diri
PDF
Putevoditel v krym_2013
PDF
Flavio Cattaneo: La scommessa (proibita) di Terna che imbarazza Eni ed Enel
PDF
Global educational consultancies directory
PPT
Xero
PDF
Ismael plascencia hábitos saludables
PDF
Sara Mahmoud Resume - Trans
PDF
Chiffres clés de l'automédication 2010
ASFWS 2012 - Node.js Security – Old vulnerabilities in new dresses par Sven V...
Node.JS security
Server Side Apocalypse, JS
Javascript Security - Three main methods of defending your MEAN stack
Surviving Web Security - Node Interactive
Blue Ocean Strategy Case Seats2meet
9 unknown mistakes you may be making while promoting your brand on social media
Flavio Cattaneo: Nuovi massimi storici per Terna (La Stampa)
Sharing motivation
Yakinlah pada diri
Putevoditel v krym_2013
Flavio Cattaneo: La scommessa (proibita) di Terna che imbarazza Eni ed Enel
Global educational consultancies directory
Xero
Ismael plascencia hábitos saludables
Sara Mahmoud Resume - Trans
Chiffres clés de l'automédication 2010
Publicité

Similaire à ASFWS 2012 WS Security - REST vs SOAP par Sylvain Maret (20)

PDF
soapC1.pdfnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
PPT
Présentation SOA
PDF
Cours services web_fabrice_mourlin
PDF
2 20 presentations_generales_des_web_services
PPTX
Web services SOAP et REST
PPT
Client serveur pour administration de réseau informatique
PDF
Démystifions l'API-culture!
PPT
Le WSDL (Web Services Description Language) est un langage de description bas...
PPTX
PDF
xml-webservices-intro.pdfhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
PDF
webservicesfhjtrddktkddflfddddddyuldydulyulfyul_RESTU.pdf
PDF
sqcq<svdsdvezsfvkjezbkjfb ckjhs;dvbqcjkhbazvuyaz.pdf
PDF
Web APIs in Action (in French)
PDF
Protocoles SSL/TLS
PDF
Chapitre2-VF-Sécurité (1aaaaaaaaaaaa).pdf
PPTX
programmation web.pptx
PPS
Client riche et nouvelles technologies
ODP
LemonLDAP::NG et le support SAML2
PPTX
(protocoles)
PDF
S51 vos projets web services ibm i a l aide de php
soapC1.pdfnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
Présentation SOA
Cours services web_fabrice_mourlin
2 20 presentations_generales_des_web_services
Web services SOAP et REST
Client serveur pour administration de réseau informatique
Démystifions l'API-culture!
Le WSDL (Web Services Description Language) est un langage de description bas...
xml-webservices-intro.pdfhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
webservicesfhjtrddktkddflfddddddyuldydulyulfyul_RESTU.pdf
sqcq<svdsdvezsfvkjezbkjfb ckjhs;dvbqcjkhbazvuyaz.pdf
Web APIs in Action (in French)
Protocoles SSL/TLS
Chapitre2-VF-Sécurité (1aaaaaaaaaaaa).pdf
programmation web.pptx
Client riche et nouvelles technologies
LemonLDAP::NG et le support SAML2
(protocoles)
S51 vos projets web services ibm i a l aide de php

Plus de Cyber Security Alliance (20)

PDF
Bug Bounty @ Swisscom
PDF
Robots are among us, but who takes responsibility?
PDF
iOS malware: what's the risk and how to reduce it
PDF
Why huntung IoC fails at protecting against targeted attacks
PDF
Corporations - the new victims of targeted ransomware
PDF
Blockchain for Beginners
PDF
Le pentest pour les nuls #cybsec16
PDF
Introducing Man in the Contacts attack to trick encrypted messaging apps
PDF
Understanding the fundamentals of attacks
PDF
Rump : iOS patch diffing
PDF
An easy way into your sap systems v3.0
PDF
Reverse engineering Swisscom's Centro Grande Modem
PDF
Easy public-private-keys-strong-authentication-using-u2 f
PDF
Create a-strong-two-factors-authentication-device-for-less-than-chf-100
PDF
Offline bruteforce attack on wi fi protected setup
PDF
App secforum2014 andrivet-cplusplus11-metaprogramming_applied_to_software_obf...
PPTX
Warning Ahead: SecurityStorms are Brewing in Your JavaScript
PDF
Killing any security product … using a Mimikatz undocumented feature
PDF
Rump attaque usb_caralinda_fabrice
PDF
Operation emmental appsec
Bug Bounty @ Swisscom
Robots are among us, but who takes responsibility?
iOS malware: what's the risk and how to reduce it
Why huntung IoC fails at protecting against targeted attacks
Corporations - the new victims of targeted ransomware
Blockchain for Beginners
Le pentest pour les nuls #cybsec16
Introducing Man in the Contacts attack to trick encrypted messaging apps
Understanding the fundamentals of attacks
Rump : iOS patch diffing
An easy way into your sap systems v3.0
Reverse engineering Swisscom's Centro Grande Modem
Easy public-private-keys-strong-authentication-using-u2 f
Create a-strong-two-factors-authentication-device-for-less-than-chf-100
Offline bruteforce attack on wi fi protected setup
App secforum2014 andrivet-cplusplus11-metaprogramming_applied_to_software_obf...
Warning Ahead: SecurityStorms are Brewing in Your JavaScript
Killing any security product … using a Mimikatz undocumented feature
Rump attaque usb_caralinda_fabrice
Operation emmental appsec

Dernier (7)

PDF
Tendances tech 2025 - SFEIR & WENVISION.pdf
PDF
Modems expliqués- votre passerelle vers Internet.pdf
PDF
FORMATION EN Programmation En Langage C.pdf
PDF
presentation_with_intro_compressee IEEE EPS France
PDF
FORMATION COMPLETE EN EXCEL DONE BY MR. NYONGA BRICE.pdf
PPTX
Souveraineté numérique - Définition et enjeux pour les entreprises et les dév...
PPTX
Presentation_Securite_Reseaux_Bac+2.pptx
Tendances tech 2025 - SFEIR & WENVISION.pdf
Modems expliqués- votre passerelle vers Internet.pdf
FORMATION EN Programmation En Langage C.pdf
presentation_with_intro_compressee IEEE EPS France
FORMATION COMPLETE EN EXCEL DONE BY MR. NYONGA BRICE.pdf
Souveraineté numérique - Définition et enjeux pour les entreprises et les dév...
Presentation_Securite_Reseaux_Bac+2.pptx

ASFWS 2012 WS Security - REST vs SOAP par Sylvain Maret

  • 1. Initiation à la sécurité des Web Services (SOAP vs REST) Sylvain MARET Principal Consultant / MARET Consulting OpenID Switzerland & OWASP Switzerland Application Security Forum - 2012 Western Switzerland 7-8 novembre 2012 - Y-Parc / Yverdon-les-Bains https://www.appsec-forum.ch 08.11.2012, Version 1.1 @smaret
  • 2. 2 Agenda  Qu’est-ce qu’un Web Service ?  SOAP  REST  Threat Modeling / ACME SA  Réduction des risques  Conclusion  Questions
  • 3. 3 Bio  18 years of experience in ICT Security  Principal Consultant at MARET Consulting  Expert at Engineer School of Yverdon  Swiss French Area delegate at OpenID Switzerland  Co-founder Geneva Application Security Forum  OWASP Member  Author of the blog: la Citadelle Electronique  http://ch.linkedin.com/in/smaret or @smaret  http://www.slideshare.net/smaret  Chosen field – AppSec & Digital Identity Security
  • 4. 4 Agenda  Qu’est-ce qu’un Web Service ?  SOAP  REST  Threat Modeling / ACME SA  Réduction des risques  Conclusion  Questions
  • 5. 5 Web Service: la base….
  • 6. 6 Web Service ? XML, JSON, Provider Consumer etc.
  • 7. 7 Un peu d’histoire  1990 : DCE/RPC – Distributed Computing Environment  1992 : CORBA – Common Object Request Broker Architecture  1990-1993 : Microsoft’s DCOM -- Distributed Component Object Model  1995: RMI – Monde Java  Pour arriver à une standardisation (toujours en cours) des protocoles, outils, langages et interfaces – SOAP – REST – Etc. Web Service
  • 8. 8 Agenda  Qu’est-ce qu’un Web Service ?  SOAP  REST  Threat Modeling / ACME SA  Réduction des risques  Conclusion  Questions
  • 11. 11 SOAP: Démystification des technologies  Langages – XML – WSDL : Descripteur du service – UDDI: Annuaire des services  Protocoles – Transport: HTTP, HTTPS, SMTP, FTP, SMS, TFTP, SSH, etc. (TCP or UDP) – Message: Enveloppe SOAP  Sécurité – WS-Security (Signature & Chiffrement)  Autres éléments – AuthN: SAML, X509, Username & Password, Kerberos, HTTP Digest, etc.
  • 12. 12 Enveloppe SOAP - SOAP : Simple Object Access Protocol - Permet l’envoi de messages XML - Agnostique au moyen de transport - HTTP - HTTPS - FTP - etc. Source= wikipédia
  • 13. 13 SOAP request SOAP response
  • 14. 14 UDDI  Universal Description Discovery and Integration, connu aussi sous l'acronyme UDDI, est un annuaire de services fondé sur XML et plus particulièrement destiné aux services Web.
  • 15. 15 WSDL  WSDL est une grammaire XML permettant de décrire un Service Web.  Le WSDL sert à décrire : – le format de messages requis pour communiquer avec ce service – les méthodes que le client peut invoquer – la localisation du service – le protocole de communication (SOAP RPC ou SOAP orienté message) http://fr.wikipedia.org/wiki/Web_Services_Description_Language
  • 18. 18 SOAP: Démystification des protocoles Découverte UDDI Description WSDL Message SOAP / XML HTTP, HTTPS, FTP, SFTP, SMS, SMTP Protocole (TCP or UDP) Transport IP
  • 19. 19 Agenda  Qu’est-ce qu’un Web Service ?  SOAP  REST  Threat Modeling / ACME SA  Réduction des risques  Conclusion  Questions
  • 21. 21 REST: Démystification des technologies  Langages – XML – JSON – XHTML, HTML, PDF... as data formats  Protocoles – HTTP(s)  Utilisation d’une URL – Méthode de communication (GET, POST, PUT, DELETE)  Sécurité – Sécurité du transport (SSL/TLS) – Sécurité des messages: HMAC & Doseta (Like XML Signature)  Autres éléments – Oauth, API Keys
  • 24. 24 REST: Démystification des protocoles Découverte ??? Description WADL, Swagger *** Message XML, JSON, etc. Protocole HTTP, HTTPS Transport TCP/IP *** Avant-gardiste mais peux utiliser
  • 25. 25
  • 27. 27 Agenda  Qu’est-ce qu’un Web Service ?  SOAP  REST  Threat Modeling / ACME SA  Réduction des risques  Conclusion  Questions
  • 29. 29
  • 31. 31 Menaces selon le DFD Acme SA  Threat 1 – Interception des messages (Information disclosure) – Modification des messages (Tampering) – Usurpation d’identité (Spoofing)  Threat 2 – Attaque de l’application • BoF • Injection • DoS & DDoS • Etc
  • 32. 32 Agenda  Qu’est-ce qu’un Web Service ?  SOAP  REST  Threat Modeling / ACME SA  Réduction des risques  Conclusion  Questions
  • 33. 33 ACME SA: Réduction des risques ?  Chiffrement du transport  AuthN  SSL Mutual AuthN / X509  WAF / XML Gateway  Intégrité et confidentialité des messages  Secure Coding
  • 34. 34 Chiffrement du transport SOAP / XML REST HTTPS HTTPS SSL/TLS tunnel SSH IPSEC Etc.
  • 35. 35 AuthN SOAP / XML REST HTTP Basic, Digest, HTTP Basic, Digest, HTTP Header HTTP Header Mutual SSL Mutual SSL IP trust IP trust WS Security user name password Oauth WS SAML Authentication token API Keys XML Signature Kerberos Etc.
  • 36. 36 SSL Mutual AuthN / X509 / PKI SOAP / XML REST SSL/TLS Mutual AuthN** SSL/TLS Mutual AuthN** ** Man in the middle not possible… (As I Know)
  • 37. 37 WAF / XML Gateway (Protection périmétrique) SOAP / XML REST Reverse Proxy Reverse Proxy Contrôle requêtes HTTP Contrôle requêtes HTTP Rupture SSL/TLS Rupture SSL/TLS Black List Black List White List White List Validation WSDL Signature & Verification Encryption & Decryption SAML
  • 38. 38 Intégrité et confidentialité des messages SOAP / XML REST XML Signature •(p.ex: HMAC, Doseta) XML Encryption • JSON Signature • ** ** Pas de chiffrement à ma connaissance
  • 39. 39 Code security SOAP / XML REST - Data input validation - Data input validation - Data output encoding - Data output encoding - Pseudorandom data generation, high - Pseudorandom data generation, high entropy entropy - Strong / reliable data encryption algorithms - Strong / reliable data encryption algorithms - Data leakage prevention - Data leakage prevention - Robust error & exception handling - Robust error & exception handling - Anti-automation and expiration measures - Anti-automation and expiration measures OWASP Application Security Verification Standard (ASVS): https://www.owasp.org/index.php/ASVS WASC web application weaknesses: http://projects.webappsec.org/w/page/13246978/Threat%20Classification
  • 41. 41 Agenda  Qu’est-ce qu’un Web Service ?  SOAP  REST  Threat Modeling / ACME SA  Réduction des risques  Conclusion  Questions
  • 42. 42 Conclusion  SOAP: – Implémenter les standards WS-* liés à la sécurité – Mettre en place un filtrage applicatif (WAF, XML GW) – Complexe à mettre en œuvre (PKI, Secure coding, Cryptography, etc.) – Architecture à forte contrainte de sécurité  REST – Mettre en place un filtrage applicatif (WAF, XML GW) – Implémentation rapide et facile  tendance – Architecture de type Cloud, Intranet, Social Login, etc.  On attend avec impatience les standards sécu pour REST ??? – Pragmatique: protection périmétrique, chiffrement et Secure Coding ???
  • 43. 43 Pour aller plus loin….
  • 45. 45 Merci / Thank you! Contact: sma@maret-consulting.ch @smaret http://www.maret-consulting.ch Slides: http://slideshare.net/ASF-WS/