WebServicesSecurityMikeShawmikeshaw@microsoft.com.NETArchitecturalEngineerAgendaTrustWorthyComputingWhatareWebServices?XMLSignaturesXMLEncryptionWhatisWS-Security?LinksTrustworthyComputingMicrosoftiscommittedtoTrustworthyComputing:SecurityPrivacyReliabilityBusinessIntegrityTrustworthycomputingcanonlybeachievedthroughpartnership&teamworkTrustworthyComputingisajourneywithalongtermvisionandhighlightsandobstaclesalongtheroadTrustworthyComputingSecurityPrivacyReliabilityBusinessIntegrityResilienttoattackProtectsconfidentiality,integrity,availabilityanddataDependableAvailablewhenneededPerformsatexpectedlevelsIndividualscontrolpersonaldataProductsandOnlineServicesadheretofairinformationprinciplesVendorsprovidequalityproductsProductsupportisappropriateGoalsUnderstandthegoalsandapplicationofWS-SecurityProvideyouaroadmaponhowtoimplementsecureWebservicesToday:PointtoPointServiceServiceSSL/TLSServiceCServiceAEndtoEndMessagingServiceServiceBAnyWebservicecapableapplication.WS-SecurityforEncryptionandSigningSecureSOAPmessageusingWS-SecurityChanneldoesn’tmatter.CouldbeHTTP,SSL,MIME/SMIMEAuthenticationMessageValidationMaybeISAServerAuditing/loggingConfidentialmessageprocessingEncryptedmessageSignedMessageWebServicesIndustrystandardsforinteroperabilityBasedonInternetstandardsNotweddedtoanyplatformLooselycoupledprogrammingPreserveandconnectexistingsystemsIntegrateinsideandoutsidethefirewallBroadindustrysupportEnableEnd-to-EndmessagingsystemsWhatisaWebServicetoday?MessageprocessorStandardsbasedSOAP1.1LanguageandtransportneutralWSDL1.1Predominantlyparticipateinpoint-to-pointscenariosduetolackofadditionalstandardsInherentlyinsecureWebServiceSOAP1.1WSDL1.1ImplementationIndustryinitiativeforWebservicesOver150membersFacilitatescustomeradoptionEnsuresinteroperabilityBroadalignmentaroundWebservicesFirsttestingtoolsthisyearMoreinfo:Flexiblemessage-levelsecurityMaintaincoretenetsIntegrity(XMLDigitalSignatures)Confidentiality(XMLEncryption)AuthenticationTokensLeverageexistinginfrastructureandstandardsKerberosPKISAMLCustom…SSL/TLSXMLSignatureXMLEncryption…XMLSignatureXMLsyntaxusedtorepresentadigitalsignatureoveranydigitalcontentVerifiedwhetheramessagewasalteredduringtransitEnablesnon-repudiationSignspecificportionsoftheXMLdocumentormessageOne-waytransformationviaprivatekeyDefinedschemaXMLEncryptionEncryptspecificportionsoftheXMLdocumentormessageSupportssymmetricandasymmetrickeyalgorithmsDefinedschemaHowdoesthismaterializeinaWebservicesmodel?CompositionviaSOAPHeadersSOAPheaderscanbeanythingsoweneedaschematoensureinteroperabilityacrossallimplementationsWS-Security1.0aspecificationwithOASISJointproposalfromIBM,VeriSign&MicrosoftWS-Security1.0SecurityModelSecurityToken+DigitalSignature=ProofofKeyPossessionClaimsPublicKeyProofofpossessionOfPrivateKey+=WS-Security1.0TrustModelSecurityTokenUnendorsed=NotsignedbyanauthorityProof-of-Possession=claimthatcanbemutuallyverifiedEndorsed=Signedbyanauthority?SigningAuthorityWS-Security1.0ProtectionIntegrity=XMLSignature+SecurityTokensConfidentiality=XMLEncryption+SecurityTokensNon-GoalsofWS-SecurityEstablishingasecuritycontextthatrequiresmultipleexchanges(WS-SecureConversation)KeyexchangeandderivedkeysHowtrustisestablished(WS-Trust)PolicyDefinition(WS-Policy)Provisioningofcertificates(XKMS)Rights(XrML)etcSecurityRoadmapSOAPWS-SecurityWS-PolicyWS-TrustWS-FederationWS-PrivacyWS-AuthorizationWS-SecureConversationRefertoSecurityRoadmap–…Thinkbig,startsmallUnderstandyoursecuritytopologyWhatdoestheend-to-endmessagingpathlooklikeforyourscenarios?UnderstandXMLSignatureXMLEncryptionWSSecuritySystem.Security.CryptographynamespaceCreateathreatmodelforyourWebserviceenvironmentBlendpoint-to-pointsecuritywithend-to-endsecurityLeveragethe.NETFrameworkbaseclasses,WindowsCryptoAPI,CAPICOM,.NETServerCertificateAuthorityCalltoaction1.Foracopyofthispresentationvisit::register.microsoft.com/subscription/subscribeMe.asp?lcid=1033&id=1553.FortheMicrosoftsecurityresourcetoolkitvisit:FirewallandVPNIdentityManagementSecuringWindowsWindowsServer2003SecurityWirelessSecurityMicrosoftSecuritySeminarsTIMEAPRIL29APRIL30MAY110:15TrustworthyComputing–OneYearLaterMicrosoft’sSecurityRoadmapIdentityManagement–Strategy&Solution11:00SecuringWirelessNetworkswithWindowsServer2003SecuringWirelessNetworkswithWindowsServer2003SecuringWirelessNetworkswithWindowsServer200311:45Application-layerFirewallingApplication-layerFirewallingApplication-layerFirewalling12:30WebService