A Formal Solution to Rewriting Attacks on SOAP Messages

Total Page:16

File Type:pdf, Size:1020Kb

A Formal Solution to Rewriting Attacks on SOAP Messages A Formal Solution to Rewriting Attacks on SOAP Messages Smriti Kumar Sinha, Azzedine Benameur SAP Research, Security&Trust Avenue du Docteur Maurice Donat 805 MOUGINS, 06250, France {smriti.kumar.sinha, azzedine.benameur}@sap.com ABSTRACT these messages are prone to attacks that can lead to sev- In Service Oriented Architecture Web Services, communi- eral consequences, such as, unauthorized access, disclosure cation among services is banking on XML-Based messages, of information, identity theft etc. These attacks are basi- called SOAP messages. These messages are prone to at- cally on-the-fly modifications of SOAP messages, referred as tacks that are classified in literature as XML rewriting at- XML rewriting attacks[4, 1]. Providing a solution to XML tacks. Since rewriting is a formal mechanism used in for- rewriting attack on SOAP messages is a vital challenge of mal language theory, and the rewriting attack problem is Web service security. The attacks are framed on the weak- designed under the framework of formal language theory, nesses of XML signature. SOAP is the message strucuture the solution also lies under the same framework. In this specification used for exchanging messages among Web ser- paper we propose a formal solution to XML rewriting at- vices in SOA environment. SOAP uses XML signature [9] tacks on SOAP messages using regular tree grammar. To as a security mechanism to address proof of origin and con- the best of our knowledge this is the first formal solution to tent integrity issues of XML payload. It also allows to sign this problem. We define current XML signatures used in a not only the whole XML payload but also parts of it. This SOAP message as context-free signature. The formal solu- opens up the flush door to security attacks and makes secure tion proposed here is a context-sensitive XML signature. To SOAP message exchange vulnerable. Different solutions are address the additional requirements of SOAP extensibility proposed in the literature to address this problem[6, 1, 3]. model, where a SOAP message can pass through several in- These solutions are mainly from a data stucture point of termediaries before reaching the final receiver, an adaptive view. The motivation behind this approach is obviously the variant of context-sensitive signature is also proposed. The tree representation of a SOAP message. solution addresses different forms of XML rewriting attacks. 1.1 Motivation An analysis of the solution is also given in the paper. Our motivation is from the formal point of view. Rewrit- ing is a formal mechanism used in formal language theory. Categories and Subject Descriptors Since the problem is designed under the framework of for- D.2.11 [Software Engineering]; D.4.6 [Security and Pro- mal language theory, the solution of the problem also lies tection] under the same framework. This is the main motivating force behind this proposition. This formalism can then be integrated in a formal analysis framework to verify security General Terms properties of web service security protocols. Security Design Verification 1.2 Contributions Keywords In this paper we propose a formal solution to XML rewrit- ing attack on SOAP messages using Regular Tree Gram- Regular Tree Grammar, Formal Methods, XML Rewriting mar(RTG). We define XML signatures used in SOAP mes- Attack, Context-Sensitive Signature, SOAP, Security sages as Context-Free Signatures (CFS). The formal solu- tion proposed here is a Context-Sensitive Signature (CSS). 1. INTRODUCTION This solution addresses all forms of XML rewriting attacks In SOA Web Services, communications are made through on SOAP messages. To the best of our knowledge this is XML-Based messages, called SOAP messages. Unfortunately, the first formal solution to this problem. An analysis of the solution is also provided. The remaining sections of the paper are organized as fol- lows. In section 2 we discuss XML signature and its weak- Permission to make digital or hard copies of all or part of this work for ness, followed by section 3 describing the rewriting attacks personal or classroom use is granted without fee provided that copies are on SOAP messages. In section 4 we formally define the state not made or distributed for profit or commercial advantage and that copies of the art XML signature as a Context-Free signature and bear this notice and the full citation on the first page. To copy otherwise, to propose our solution namely a Context-Sensitive signature. republish, to post on servers or to redistribute to lists, requires prior specific To address the SOAP extensibility requirements which al- permission and/or a fee. SWS’08, October 31, 2008, Fairfax, Virginia, USA. lows a message to be transformed by multiple actors, we Copyright 2008 ACM 978-1-60558-292-4/08/10 ...$5.00. define an adaptive context sensitive signature. In section 53 <Signature Id?> 3. REWRITING ATTACK ON SOAP <SignedInfo> <CanonicalizationMethod/> MESSAGES <SignatureMethod /> (<Reference URI?> The XML rewriting attack is an exploitation of the XML <Transforms/>? tree by reordering the existing nodes or by wrapping nodes <DigestMethod> <DigestValue> without altering the signature. This attack is possible only </Reference>)+ because XML Signature standard provides context-free sig- </SignedInfo> <SignatureValue> nature. Indirect referencing of the signed element in the <KeyInfo>? XML tree makes the signature to remain valid until the <Object Id ?> </Signature> equality of the values of data referenced by the @URI in < ReferenceURI? > element with the one of @ID of the XML payload holds. Based on this weakness of the XML Figure 1: XML Signature Structure Signature specification, we identified three attacks that can be applied to SOAP message[7]. 5 we define the formal context using Regular Tree Gram- • Replay Attack: mar, followed by the corresponding generation and verifica- This attack is depicted in Figure 2. On the left side tion algorithms in section 6. The proposed solution is then is a valid message with a signed Body. On the right analyzed in section 7 in the light of the rewriting attacks side of the figure the attacker wraps the existing body discussed in section 3. Some recent works to counter the into a bogus header, making this Body meaningless attacks are critically reviewed in section 8. Finally we con- for the receiver, and create it’s own element namely clude the discussion with some of our future work in this ”newBody”. According to SOAP specification [7] the direction in section 9. ”newBody” element is not requiered to have an identi- fier ”Id”. This signature is still valid because the ref- erenced element ”#1” is still present and not changed. 2. XML SIGNATURE • SOAP messages are carrying information from one web Redirection Attack: service to another. In this context security plays an im- In this scenario the attacker uses the same method portant role therefore a Web Service Security specification as above. He wraps the ”Reply To” element under emerged [8]. To ensure authenticity as well as non-repudiation a bogus header, create its own ”Reply To” element. a signature mechanism is provided based on the XML Digi- When the receiver of this message process this message tal Signature specification[9]. The latter specify that a mes- the signature is valid, and the service response is sent sage may contain one or more signed elements. This sig- to the ”NewAddress” the attacker has inserted in the nature schema depicted in Figure 1 is a 2-tuple signature, message. where the signed element is referenced by its URI under the < ReferenceURI? > element. Envelope The weakness of the XML Signature lies within its verifi- Header cation. The verification process is done through two succes- Body sive steps: Security Reply To BOGUSHEADER LoanRequest • Reference Validation: The < SignedInfo > element is Reply To: Signature NewAddress canonicalized using the specificed Id#1 < CanonicalizationMethod >,thenforeach < Reference > element, the referenced data object SignedInfo Address is retrieved and the digest value is computed and com- Reference Reference paredwiththe<DigestValue>under the URI= #1 < Reference > element. If this reference validation succeed then the signature validation is executed, oth- Figure 3: Case 2: Redictection Attack erwise it generates an error message. • Signature validation: The keying information is re- • Multiple Security Header attack: trieved under the <KeyInfo>element, possibly To reduce the possibility of mounting replay attacks, from an external source, and the signature method WS-Security standard [8] offers the possibility to add used is defined under the < SignatureMethod > ele- a timestamp element. This timestamp element can ment. These two element are then used to validate the be used by the server to manage its cache, the server <SignedValue>element. deletes a message when the timestamp expires. An at- tacker can exploit this to create successful attacks, see XML Signature allows non-contiguous object of an XML Figure 4. The WS-Security specification allows more dataset to be signed separately. The signed object is ref- than one security header to co-exist within a soap mes- erencedbyanindirection(URI)fromthe< Reference > sage but two security headers can not have the same element of the signature. This indirect referencing gives no role attribute value. The attacker creates a new se- information about the actual location of the signed element. curity header with the role attribute ”none” and with This leads to rewriting attacks, where an object can be re- ”mustUnderstand=false” the effect of these attributes located and the signature still remains valid. is that this new created security header will not be 54 Envelope Envelope Header Header Body Id= ‘1’ newBody Security Reply To Security Reply To BOGUSHEADER LoanRequest ModifiedRequest Signature Address Signature Address Body Id=’1’ SignedInfo SignedInfo LoanRequest Reference Reference Reference Reference URI= #1 URI= #1 (a) SOAP Message with a signed Body (b) Rewriting Attack with a new Body Figure 2: Case 1: Replay Attack Envelope A message encrypted with the secret key can be decrypted with the conjugate public key or vice-versa.
Recommended publications
  • An Arbitration System for Student Evaluation Based on XML Signature
    2nd EUROPEAN COMPUTING CONFERENCE (ECC’08) Malta, September 11-13, 2008 An Arbitration System for Student Evaluation based on XML Signature ROBERT ANDREI BUCHMANN, SERGIU JECAN Business Information Systems Dpt. Faculty of Economic Sciences and Business Administration Babes Bolyai University Cluj Napoca Str. Th. Mihali 58-60, ROMANIA [email protected], [email protected] Abstract: This paper promotes an e-learning application model for student evaluation, based on AJAX frameworks in order to provide improved user experience and asynchronous data exchange and the XML Signature standard in order to impose message authentications for the test papers. The motivation of this research is the need to arbitrate contestation for e-learning evaluation by providing an authentication and non-repudiation mechanism for both the students’ answers and the teachers’ evaluation criteria and rating, especially in open answer tests. Keywords: - e-learning, digital signature, AJAX 1 Introduction arose the issue of arbitration in contestation processes, especially in tests based on open E-learning already provides a mature model for questions, but also in multiple choice tests with educational processes. However, the separation no immediate answer validation. The proposed of parties in time and space is bound to solution is an extension to traditional e-learning communication gaps causing situations where an application models, regarding the evaluation arbitration system should provide trust module, based on XML-based digital signature mechanisms between the student and the and improved usability through AJAX teacher. The proposed application model is an frameworks. evolutionary step of the XML-driven e- commerce application previously implemented 3 Problem Solution for Flash 2004 with XML support and currently migrated under an AJAX framework and within 3.1 Instrumentation an e-learning context based on trust managed through XML Signatures.
    [Show full text]
  • XML Signature/Encryption — the Basis of Web Services Security
    Special Issue on Security for Network Society Falsification Prevention and Protection Technologies and Products XML Signature/Encryption — the Basis of Web Services Security By Koji MIYAUCHI* XML is spreading quickly as a format for electronic documents and messages. As a consequence, ABSTRACT greater importance is being placed on the XML security technology. Against this background research and development efforts into XML security are being energetically pursued. This paper discusses the W3C XML Signature and XML Encryption specifications, which represent the fundamental technology of XML security, as well as other related technologies originally developed by NEC. KEYWORDS XML security, XML signature, XML encryption, Distributed signature, Web services security 1. INTRODUCTION 2. XML SIGNATURE XML is an extendible markup language, the speci- 2.1 Overview fication of which has been established by the W3C XML Signature is an electronic signature technol- (WWW Consortium). It is spreading quickly because ogy that is optimized for XML data. The practical of its flexibility and its platform-independent technol- benefits of this technology include Partial Signature, ogy, which freely allows authors to decide on docu- which allows an electronic signature to be written on ment structures. Various XML-based standard for- specific tags contained in XML data, and Multiple mats have been developed including: ebXML and Signature, which enables multiple electronic signa- RosettaNet, which are standard specifications for e- tures to be written. The use of XML Signature can commerce transactions, TravelXML, which is an EDI solve security problems, including falsification, spoof- (Electronic Data Interchange) standard for travel ing, and repudiation. agencies, and NewsML, which is a standard specifica- tion for new distribution formats.
    [Show full text]
  • Introduction to XML
    Introduction to XML CS 317/387 Agenda – Introduction to XML 1. What is it? 2. What’s it good for? 3. How does it work? 4. The infrastructure of XML 5. Using XML on the Web 6. Implementation issues & costs 2 1. What is it? Discussion points: First principles: OHCO Example: A simple XML fragment Compare/contrast: SGML, HTML, XHTML A different XML for every community Terminology 3 1 Ordered hierarchies of content objects Premise: A text is the sum of its component parts A <Book> could be defined as containing: <FrontMatter>, <Chapter>s, <BackMatter> <FrontMatter> could contain: <BookTitle> <Author>s <PubInfo> A <Chapter> could contain: <ChapterTitle> <Paragraph>s A <Paragraph> could contain: <Sentence>s or <Table>s or <Figure>s … Components chosen should reflect anticipated use 4 Ordered hierarchies of content objects OHCO is a useful, albeit imperfect, model Exposes an object’s intellectual structure Supports reuse & abstraction of components Better than a bit-mapped page image Better than a model of text as a stream of characters plus formatting instructions Data management system for document-like objects Does not allow overlapping content objects Incomplete; requires infrastructure 5 Content objects in a book Book FrontMatter BookTitle Author(s) PubInfo Chapter(s) ChapterTitle Paragraph(s) BackMatter References Index 6 2 Content objects in a catalog card Card CallNumber MainEntry TitleStatement TitleProper StatementOfResponsibility Imprint SummaryNote AddedEntrySubject(s) Added EntryPersonalName(s) 7 Semistructured Data Another data model, based on trees. Motivation: flexible representation of data. Often, data comes from multiple sources with differences in notation, meaning, etc. Motivation: sharing of documents among systems and databases.
    [Show full text]
  • OASIS Digital Signature Services (OASIS-DSS) an Architecture, Implementation and Interoperability Master’S Thesis at Graz University of Technology 2008
    OASIS Digital Signature Services (OASIS-DSS) An Architecture, Implementation and Interoperability Master’s Thesis at Graz University of Technology 2008 submitted by Konrad Lanz, bakk.techn., BSc Hons Institute for Applied Information Processing and Communications (IAIK), Graz University of Technology A-8010 Graz, Austria December 2008 © Copyright 2005-2008 Konrad Lanz Assessor: O.Univ.-Prof. Dipl.-Ing. Dr.techn. Reinhard Posch Supervisor: Ass.-Prof. Dipl.-Ing. Dr.techn. Peter Lipp i The candidate confirms that the work submitted is his own and the appropriate credit has been given where reference has been made to the work of others. I understand that failure to attribute material which is obtained from another source may be considered as plagiarism. (Signature of student) Signature Value F4BtvtUqSBPSgBeE2QPp1suVNoU75kZAk05AgIgLKJlMEov7RCAW35vkkEr/HwdR Signatory C=AT,OU=VSig,O=Hauptverband österr. Sozialvers.,CN=Konrad Lanz Date/Time-UTC 2008-12-15T23:15:40Z Issuer-Certificate C=AT,O=Hauptverband österr. Sozialvers.,CN=VSig CA 2 Serial-No. 17293657787164074630362273138432232730208 Method urn:pdfsigfilter:bka.gv.at:binaer:v1.1.0 Parameter etsi-bka-1.0@1229382940-394096199@31239-32542-0-14959-320 Verification Verification service: http://demo.a-sit.at/el_signatur/verification ©2005-2008 Konrad Lanz, All Rights reserved. Permission to copy this document is granted to Graz University of Technology i.e. the Institute for Applied Information Processing and Communications (IAIK) for in house educational purposes and its library and on a fair use basis. For permission to copy this document otherwise please do not hesitate to contact [email protected] with the following subject “request for copy permission MSc-Thesis 2008”.
    [Show full text]
  • Signxml Documentation Release 0.0.1
    SignXML Documentation Release 0.0.1 Andrey Kislyuk Oct 29, 2020 Contents 1 Installation 3 2 Synopsis 5 2.1 Verifying SAML assertions.......................................5 2.2 XML signature methods: enveloped, detached, enveloping.......................6 2.3 XML parsing security and compatibility with xml.etree.ElementTree .............7 3 Authors 9 4 Links 11 4.1 Bugs................................................... 11 5 License 13 6 API documentation 15 7 Release Notes 21 8 Changes for v2.8.1 (2020-10-29) 23 9 Changes for v2.8.0 (2020-06-20) 25 10 Changes for v2.7.3 (2020-06-10) 27 11 Changes for v2.7.2 (2019-12-01) 29 12 Changes for v2.7.1 (2019-11-30) 31 13 Changes for v2.7.0 (2019-11-30) 33 14 Changes for v2.6.0 (2019-01-10) 35 15 Changes for v2.5.2 (2017-12-07) 37 16 Changes for v2.5.1 (2017-12-07) 39 17 Changes for v2.5.0 (2017-12-07) 41 18 Changes for v2.4.0 (2017-07-10) 43 i 19 Changes for v2.3.0 (2017-04-24) 45 20 Changes for v2.2.4 (2017-03-19) 47 21 Changes for v2.2.3 (2016-12-20) 49 22 Changes for v2.2.2 (2016-12-20) 51 23 Changes for v2.2.1 (2016-09-26) 53 24 Changes for v2.2.0 (2016-09-25) 55 25 Changes for v2.1.4 (2016-09-18) 57 26 Changes for v2.1.0 (2016-09-18) 59 26.1 Version 2.0.0 (2016-08-05).......................................
    [Show full text]
  • The OWASP Foundation OWASP XML External Entity Attacks (XXE)
    AppSec Germany 2010 XML External Entity Attacks (XXE) Sascha Herzog Compass Security AG [email protected] OWASP +41 55 214 41 78 20.10.2010 Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP Foundation http://www.owasp.org XML External Entity Attacks (XXE), Sacha Herzog AppSec Germany 2010 Agenda Introduction Server2Server Communication – Web Services Client2Server Communication – Web 2.0 (AJAX) XML Basics DTD XML Schema XML Attacks Generator Attacks XML Parser Attacks Mitigation Xerces Hardening OWASP OWASP AppSec Germany 2010 Conference XML External Entity Attacks (XXE), Sacha Herzog AppSec Germany 2010 B2B / Server2Server XML Data Exchange in Web Services B2B integration with XML documents SOAP Services ORDER XML Shop Internet Supplier CONFIRM XML Example Order processing systems OWASP OWASP AppSec Germany 2010 Conference XML External Entity Attacks (XXE), Sacha Herzog AppSec Germany 2010 B2B / Server2Server Example: Web Service Integration of Web Services into portal (Stock Quotes) Data or presentation oriented Remote Portlets can be distinguished. OWASP OWASP AppSec Germany 2010 Conference XML External Entity Attacks (XXE), Sacha Herzog AppSec Germany 2010 XMLHttpRequest / Client2Server XML Data Exchange XMLHttpRequest Object JavaScript OWASP OWASP AppSec Germany 2010 Conference XML External Entity Attacks (XXE), Sacha Herzog AppSec Germany 2010 Web 2.0 - Data Exchange Formats Upstream Data Format Web 2.0 GET & POST(form, txt/xml, soap-xml) Downstream Data Format Web 2.0 html,css,xml,java-script,json,custom OWASP OWASP AppSec Germany 2010 Conference XML External Entity Attacks (XXE), Sacha Herzog AppSec Germany 2010 XML Basics: Introduction XML is a standard for exchanging structured data in textual format <?xml version="1.0" encoding="UTF-8"?> <order> <product>1234</product> <count>1</count> <orderer> <contact>Jan P.
    [Show full text]
  • HTML5 and Digital Signatures
    HTML5 and Digital Signatures Signature Creation Service 1.1 Nov 22, 2017 13.10.2014 SPECIFICATION 2 (23) Signature Creation Service 1.1 22.11.2017 Väestörekisterikeskus DOCUMENT MANAGEMENT Prepared by Antti Partanen / VRK <[email protected]> Inspected by Approved by VERSION CONTROL version no. what has been done date/person 1,0 Final version (no changes to 0.7 version) 17.2.2015/PL 1.0.1 Added 30.6.2015/PL https usage as requirement server certificate requirements SCS module for javascript (example) clarifications for selector.akis and selector.issuers format removed selector.validate parameter added requirement for SCS to check whether certificate is valid or not removed localhost.fineid.fi as dnsName parameter in SCS server certificate (compared to previous 1.0.1 version) protocol version is still the same: 1.0 1.1 Added: 4.6.2017/PL support for http based access dropped completely separation of authentication and signing purpose authentication challenge to be used for authentication purpose keyalgorithms array to selector functionality cms signature type and cms signature profile protocol version 1.1 support signature request size up to 100MB (was 2MB) minor editorial corrections 21.11.2017/AP SPECIFICATION 3 (23) Signature Creation Service 1.1 22.11.2017 Väestörekisterikeskus Table of contents 1 Introduction ........................................................................................................................................... 4 1.1 Definitions and Acronyms ..............................................................................................................
    [Show full text]
  • Digital Signature with Hashing and XML Signature Patterns
    Digital Signature with Hashing and XML Signature Patterns Keiko Hashizume, Eduardo B. Fernandez, and Shihong Huang Dept. of Computer Science and Engineering, Florida Atlantic University Boca Raton, FL 33431, USA, [email protected], [email protected], [email protected] Abstract Data security has become one of the most important concerns for organizations. Information is a valuable asset and needs to be protected. One important countermeasure against attackers is the use of digital signatures. Digital signatures provides message authentication and may also provide message integrity. We present here two patterns: XML Signature and Digital Signature with Hashing patterns. The XML Signature pattern, a specialization of the Digital Signature with Hashing, is used to secure XML messages. 1. Introduction Data security has become one of the most important concerns among us, especially for organizations that have valuable information. An important security risk is that information can be modified during its transmission by somebody trying to make us believe something to his convenience. How do we prove that a message came from a specific user? Digital signatures use public-key cryptography to provide message authentication by proving that a message was sent indeed from a specific sender [dig, Sta06]. The sender encrypts the message using his private key to sign it. In this case, the signature has at least the same length as the message. This works but it wastes bandwidth and time. Thus, we need to reduce the length to the message before signing it. This can be done producing a digest through hashing. When the receiver gets the signed message, he verifies the signature by decrypting it using the sender’s public key, thus proving that the message was encrypted by the sender.
    [Show full text]
  • Information Integration with XML
    Information Integration with XML Chaitan Baru Richard Marciano {baru,marciano}@sdsc.edu Data Intensive Computing Environments (DICE) Group San Diego Supercomputer Center National Partnership for Advanced Computational Infrastructure San Diego Supercomputer Center Members of the DICE Group • Staff • Students • Chaitan Baru • Pratik Mukhopadhyay • Amarnath Gupta • Azra Mulic • Bertram Ludäscher • Kevin Munroe • Richard Marciano • Paul Nguyen • Reagan Moore • Michail Petropolis • Yannis Papakonstantinou • Nicholas Puz • Arcot Rajasekar • Pavel Velikhov • Wayne Schroeder • Michael Wan • Ilya Zaslavsky Tutorial Outline • PART I • Introduction to XML • The MIX Project • PART II • Storing/retrieving XML documents • XML and GIS • Open Issues Information Integration with XML PART I • Introduction to XML • HTML vs. XML • XML Industry Initiatives • DTD, Schema, Namespaces • DOM, SAX • XSL, XSLT • Tools • The MIX Project Introduction to XML • SGML (Standard Generalized Markup Language) • ISO Standard, 1986, for data storage & exchange • Used in U.S. gvt. & contractors, large manufacturing companies, technical info. Publishers. • HTML, a simple application of SGML, 1992 - 1999 • SGML reference is 600 pages long • XML (eXtensible Markup Language) • W3C (World Wide Web Consortium) -- http://www.w3.org/XML/) recommendation in 1998 • Simple subset of SGML: “The ASCII of the Web”. • XML specification is 26 pages long • Canonical XML • equivalence testing of XML documents • SML (Simple Markup Language) • No Attributes / No Processing Instructions (PI) /
    [Show full text]
  • XML and Applications 2014/2015 Lecture 12 – 19.01.2015 Standards for Inter-Document Relations
    Some more XML applications and XML-related standards (XLink, XPointer, XForms) Patryk Czarnik XML and Applications 2014/2015 Lecture 12 – 19.01.2015 Standards for inter-document relations XPointer – addressing documents and their fragments XInclude – logical inclusion of documents within other documents XLink – declarative relations between documents and their fragments 2 / 22 XPointer The standard defines addressing XML documents and their fragments using standard URI syntax: http://www.sejm.gov.pl/ustawa.xml#def-las 3 W3C recommendations dated 2002-2003: XPointer Framework http://www.w3.org/TR/xptr-framework/ XPointer element() Scheme http://www.w3.org/TR/xptr-element/ XPointer xmlns() Scheme http://www.w3.org/TR/xptr-xmlns/ XPointer xpointer() Scheme http://www.w3.org/TR/xptr-xpointer/ (neverending?) Working Draft 3 / 22 XPointer – xpointer scheme xpointer scheme allows to address elements using XPath: http://www.sejm.gov.pl/ustawa.xml#xpointer(/art[5]/par[2]) xmlns scheme adds namespace declarations to the above: ustawa.xml#xmlns(pr=http://www.sejm.gov.pl/prawo) xpointer(/pr:art[5]/pr:par[2]) 4 / 22 XPointer – element scheme Element carrying ID attribute with given value: document.xml#element(def-las) Element with given position (absolute or relative to element carrying ID with given value): document.xml#element(/1/4/3) document.xml#element(def-las/2/3) Short syntax: document.xml#def-las document.xml#/1/4/3 document.xml#def-las/2/3 5 / 22 XInclude Including external XML documents (or their fragments) in another XML document. Similar to entities, but: normal element markup, no special syntax, no need to declare anything in DTD, nor to have DTD at all Main capabilities: including complete documents (identified by URL) or their fragments (pointed by XPointer) including XML tree (default) or raw text defining content to be used in case of an error Supported by many parsers, including Java (JAXP).
    [Show full text]
  • Secure Semantic Web Data Management
    Secure Semantic Web Data Management Confidentiality, Integrity, and Compliant Availability in Open and Distributed Networks Vom Promotionsausschuss des Fachbereichs 4: Informatik der Universit¨at Koblenz-Landau zur Verleihung des akademischen Grades Doktor der Naturwissenschaften (Dr. rer. nat.) genehmigte Dissertation vorgelegt von Andreas Kasten Vorsitzender des Promotionsausschusses Prof. Dr. Ralf L¨ammel,Universit¨atKoblenz-Landau Vorsitzender der Promotionskommission Prof. Dr. Steffen Staab, Universit¨atKoblenz-Landau Berichterstatter Prof. Dr. R¨udiger Grimm, Universit¨atKoblenz-Landau Prof. Dr. habil. Ansgar Scherp, Universit¨atKiel und Leibniz-Informationszentrum Wirtschaft Datum der wissenschaftlichen Aussprache 11.11.2016 Datum der Einreichung 30.05.2016 Abstract Confidentiality, integrity, and availability are often listed as the three major requirements for achieving data security and are collectively referred to as the C-I-A triad. Confiden- tiality of data restricts the data access to authorized parties only, integrity means that the data can only be modified by authorized parties, and availability states that the data must always be accessible when requested. Although these requirements are relevant for any computer system, they are especially important in open and distributed networks. Such networks are able to store large amounts of data without having a single entity in control of ensuring the data's security. The Semantic Web applies to these characteristics as well as it aims at creating a global and decentralized network of machine-readable data. Ensuring the confidentiality, integrity, and availability of this data is therefore also important and must be achieved by corresponding security mechanisms. However, the current reference architecture of the Semantic Web does not define any particular security mechanism yet which implements these requirements.
    [Show full text]
  • Bringing Semantic Security to Semantic Web Services
    Chapter 7 BRINGING SEMANTIC SECURITY TO SEMANTIC WEB SERVICES Authors: Richard S. Patterson1, John A. Miller1, Jorge Cardoso2, Mike Davis3 1University of Georgia, 2University of Madeir, 3U.S. Department of Veterans Affairs& Chair HL7 Security Committee Abstract: Semantic Web services begin to emerge as the next evolution of the Service Oriented Architecture. It is become clear that authorization is going to be one of the biggest challenges. The typical obstacles which most areas of Semantic Web services have had to overcome are what parts of a Web services need semantic information, how best to use the semantics, and agreeing on standards. However, for authorization there are the fine grained security implications as well. For instance, how much authorization information is necessary to aid in Semantic Discovery of Web services? Is the authorization information opening any new security holes? We will examine a framework for expressing the proper authorization information in order to aid in the Semantic Discovery of Web services in which the requesting service most likely has the authority to invoke. Key words: Web Services Discovery, Authorization, Semantic Matching of Web Services, Ontology-based matching of Authorization, Web Service Authorization Discovery, Semantic Web Services 1. INTRODUCTION 1.1 The Semantic Web Currently, the World Wide Web is primarily composed of documents written in HTML (Hyper Text Markup Language), a language that is useful for visual presentation. HTML is a set of “markup” symbols contained in a Web page intended for display on a Web browser. Most of the information 2 Chapter 7 on the Web is designed only for human consumption.
    [Show full text]