SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Downloaden Sie, um offline zu lesen
www.paasword.eu
Distributed Searchable Encryption Engine
Innovathens 11/10/2016
Outline
Objectives
Architecture and DB Transform
Example of an SQL Query in PaaSword
Improvements so far
PaaSword – WP4 (Database Encryption)18/11/2016 2
Objectives
Improve Privacy in a transparent way
Automatic encryption and decryption
Automatic distribution synthesis
Sufficient (but restricted) support for SQL
Most important queries should be supported
Efficiency
Acceptable performance impact
PaaSword – WP4 (Database Encryption)18/11/2016 3
Basic Idea
PaaSword18/11/2016 4
Client Cloud DB
DB Proxy Cloud DBClient
Common (insecure) scenario Desired (secure) scenario
DB Proxy Architecture
PaaSword18/11/2016 5
Data Index2Index1
SQL
SQLDatabase
Proxy
(trusted)
SQL
Cloud
(untrusted)
User / Application
Data
(not encrypted)
Data (encrypted)
Database Transformation
PaaSword18/11/2016 6
ID Name Surname City Day of Birth
1 Paul Anderson Athens 01.01.1979
2 Howard Miller Karlsruhe 02.02.1974
3 Henry Cooper Berlin 03.03.1980
4 Henry Jones Brussels 04.04.1985
ID Encrypted Data
1 Enc(Paul,Anderson,Athens,01.01.1979)
2 Enc(Howard,Miller,Karlsruhe,02.02.1974)
3 Enc(Henry,Cooper,Berlin,03.03.1980)
4 Enc(Henry,Jones,Brussels,04.04.1985)
Data
Keyword IDs
Name:Paul Enc(1)
Name:Howard Enc(2)
Name:Henry Enc(3,4)
Index1
Keyword IDs
Surname:Anderson Enc(1)
Surname:Miller Enc(2)
Surname:Cooper Enc(3)
Surname:Jones Enc(4)
Index2
Original
Association is hidden
Example (1/4)
PaaSword18/11/2016 7
•SQL-Query:
•SELECT * FROM Customers WHERE Name=‚Henry‘ AND Surname=‚Jones‘
Data Index2Index1
SELECT ID FROM Index1
WHERE Keyword=‘Name:Henry‘
SELECT ID FROM Index2
WHERE Keyword=‘Surname:Jones‘
transform query
ID Name Surname Stadt Day of Birth
1 Paul Anderson Athens 01.01.1979
2 Hans Miller Karlsruhe 02.02.1974
3 Henry Cooper Berlin 03.03.1980
4 Henry Jones Brussels 04.04.1983
Database Proxy
SELECT * FROM Customers
WHERE Name=‚Henry‘ AND
Surname=‚Jones‘
Example (2/4)
PaaSword18/11/2016 8
•SQL-Query:
•SELECT * FROM Customers WHERE Name=‚Henry‘ AND Surname=‚Jones‘
Data Index2Index1
IDs Enc(3,4)
IDs Enc(4)
decrypt and
compute result
Database Proxy
ID 4
ID Name Surname Stadt Day of Birth
1 Paul Anderson Athens 01.01.1979
2 Hans Miller Karlsruhe 02.02.1974
3 Henry Cooper Berlin 03.03.1980
4 Henry Jones Brussels 04.04.1983
Example (3/4)
PaaSword18/11/2016 9
•SQL-Query:
•SELECT * FROM Customers WHERE Name=‚Henry‘ AND Surname=‚Jones‘
Data Index2Index1
SELECT * FROM Data
WHERE ‘ID’ in {4}
retrieve relevant
data
ID Name Surname City Day of Birth
1 Paul Anderson Athens 01.01.1979
2 Hans Miller Karlsruhe 02.02.1974
3 Henry Cooper Berlin 03.03.1980
4 Henry Jones Brussels 04.04.1983
Database Proxy
ID Name Surname Stadt Day of Birth
1 Paul Anderson Athens 01.01.1979
2 Hans Miller Karlsruhe 02.02.1974
3 Henry Cooper Berlin 03.03.1980
4 Henry Jones Brussels 04.04.1983
Example (4/4)
PaaSword18/11/2016 10
•SQL-Query:
•SELECT * FROM Customers WHERE Name=‚Henry‘ AND Surname=‚Jones‘
Data Index2Index1
Henry,Jones,Brussels,04.04.1983
decrypt and
return result
Database Proxy
Enc(Henry,Jones,Brussels,04.04.1983)
ID Name Surname Stadt Day of Birth
1 Paul Anderson Athens 01.01.1979
2 Hans Miller Karlsruhe 02.02.1974
3 Henry Cooper Berlin 03.03.1980
4 Henry Jones Brussels 04.04.1983
Improvements (1/2)
PaaSword18/11/2016 11
ID Name Surname City Day of Birth
1 Paul Anderson Athens 01.01.1979
2 Howard Miller Karlsruhe 02.02.1974
3 Henry Cooper Berlin 03.03.1980
4 Henry Jones Brussels 04.04.1985
ID Encrypted Data
1 Enc(Paul,Anderson,Athens,01.01.1979)
2 Enc(Howard,Miller,Karlsruhe,02.02.1974)
3 Enc(Henry,Cooper,Berlin,03.03.1980)
4 Enc(Henry,Jones,Brussels,04.04.1985)
Data
Keyword-Name IDs
Enc(Paul) Enc(1)
Enc(Howard) Enc(2)
Enc(Henry) Enc(3,4)
Index1
Keyword-Surname IDs
Enc(Anderson) Enc(1)
Enc(Miller) Enc(2)
Enc(Cooper) Enc(3)
Enc(Jones) Enc(4)
Index2
Original
Keyword Encryption
• AES (deterministic)
• Support for most query types
(excl. LIKE)
Index Distribution
• Index for same data type can be stored at different server
Data Distribution
Minimize exposure of sensitive information by careful distribution
PaaSword18/11/2016 12
Improvements (2/2)
Feature Support Before PaaSword Current State
Index Encryption
Multiple Tables
Joins
Subselect
LIKE Partial *
Privacy Constraints
Data Distribution
* Only if index keyword is not encrypted
Supported Statements
SELECT, UPDATE, INSERT, DELETE, DROP TABLE, ALTER TABLE
Joins
Left/right, full/outer/inner, …
=, NOT, AND, OR, IN
LIKE (%)
SELECT (SELECT …) )
<, <=, >, >=
GROUP BY, LIMIT, AVG, SUM
PaaSword – WP4 (Database Encryption)18/11/2016 13
Way forward
Extend SQL query support for encrypted index
Improve performance
Measure performance in different scenarios
Integrate into PaaSword framework
Include key management
PaaSword18/11/2016 14
PaaSword18/11/2016 15
Questions?
Visit us:
www.paasword.euAcknowledgements:
This project has received funding from the
European Union’s Horizon 2020 research and
innovation programme under grant
agreement No 644814.

Weitere ähnliche Inhalte

Andere mochten auch

Revathy pp da 1
Revathy pp da 1Revathy pp da 1
Revathy pp da 1
revasurev
 
Ajay_oracle dba
Ajay_oracle dbaAjay_oracle dba
Ajay_oracle dba
ajay pat
 
Acucut Presentation.rev1
Acucut Presentation.rev1Acucut Presentation.rev1
Acucut Presentation.rev1
Ajit Shah
 
Método Alemão
Método AlemãoMétodo Alemão
Método Alemão
taina2105
 

Andere mochten auch (18)

sujata
sujatasujata
sujata
 
mamtalq
mamtalqmamtalq
mamtalq
 
Portfolio
PortfolioPortfolio
Portfolio
 
LinkedIn Workshop: Profiles and Publishing (Digital Marketing Today)
LinkedIn Workshop: Profiles and Publishing (Digital Marketing Today)LinkedIn Workshop: Profiles and Publishing (Digital Marketing Today)
LinkedIn Workshop: Profiles and Publishing (Digital Marketing Today)
 
Portfolio
PortfolioPortfolio
Portfolio
 
TechSheet_Focus3D X 330
TechSheet_Focus3D X 330TechSheet_Focus3D X 330
TechSheet_Focus3D X 330
 
Kapanowski FINAL_CIPL
Kapanowski FINAL_CIPLKapanowski FINAL_CIPL
Kapanowski FINAL_CIPL
 
Revathy pp da 1
Revathy pp da 1Revathy pp da 1
Revathy pp da 1
 
Ajay_oracle dba
Ajay_oracle dbaAjay_oracle dba
Ajay_oracle dba
 
Word Cloud | LBSA Marketing Fall 2015
Word Cloud | LBSA Marketing Fall 2015Word Cloud | LBSA Marketing Fall 2015
Word Cloud | LBSA Marketing Fall 2015
 
Soudip sinha roy
Soudip sinha roySoudip sinha roy
Soudip sinha roy
 
Acucut Presentation.rev1
Acucut Presentation.rev1Acucut Presentation.rev1
Acucut Presentation.rev1
 
PassiveVoiceChart
PassiveVoiceChartPassiveVoiceChart
PassiveVoiceChart
 
Método Alemão
Método AlemãoMétodo Alemão
Método Alemão
 
Energía solar - definiciones y terminología
Energía solar - definiciones y terminologíaEnergía solar - definiciones y terminología
Energía solar - definiciones y terminología
 
Integrated Business Solutions
Integrated Business SolutionsIntegrated Business Solutions
Integrated Business Solutions
 
DePauwThesis
DePauwThesisDePauwThesis
DePauwThesis
 
Mike Faris
Mike FarisMike Faris
Mike Faris
 

Ähnlich wie PaaSword - Distributed Searchable Encryption Engine

A researcher driven data description for the archived web: Why and how?
A researcher driven data description for the archived web: Why and how?A researcher driven data description for the archived web: Why and how?
A researcher driven data description for the archived web: Why and how?
WARCnet
 

Ähnlich wie PaaSword - Distributed Searchable Encryption Engine (7)

Lightning Talk: Agility & Databases
Lightning Talk: Agility & DatabasesLightning Talk: Agility & Databases
Lightning Talk: Agility & Databases
 
Sparkler—Crawler on Apache Spark: Spark Summit East talk by Karanjeet Singh a...
Sparkler—Crawler on Apache Spark: Spark Summit East talk by Karanjeet Singh a...Sparkler—Crawler on Apache Spark: Spark Summit East talk by Karanjeet Singh a...
Sparkler—Crawler on Apache Spark: Spark Summit East talk by Karanjeet Singh a...
 
Sparkler at spark summit east 2017
Sparkler at spark summit east 2017Sparkler at spark summit east 2017
Sparkler at spark summit east 2017
 
Sparkler Presentation for Spark Summit East 2017
Sparkler Presentation for Spark Summit East 2017Sparkler Presentation for Spark Summit East 2017
Sparkler Presentation for Spark Summit East 2017
 
A researcher driven data description for the archived web: Why and how?
A researcher driven data description for the archived web: Why and how?A researcher driven data description for the archived web: Why and how?
A researcher driven data description for the archived web: Why and how?
 
US7167901
US7167901US7167901
US7167901
 
Interconnecting Belgian national and regional address data using EC ISA "Loca...
Interconnecting Belgian national and regional address data using EC ISA "Loca...Interconnecting Belgian national and regional address data using EC ISA "Loca...
Interconnecting Belgian national and regional address data using EC ISA "Loca...
 

Mehr von PaaSword EU Project

Mehr von PaaSword EU Project (14)

PaaSword - No More Dark Clouds with PaaSword
PaaSword - No More Dark Clouds with PaaSwordPaaSword - No More Dark Clouds with PaaSword
PaaSword - No More Dark Clouds with PaaSword
 
PaaSword - Technology Baseline
PaaSword - Technology BaselinePaaSword - Technology Baseline
PaaSword - Technology Baseline
 
PaaSword - Context-aware Access Control
PaaSword - Context-aware Access ControlPaaSword - Context-aware Access Control
PaaSword - Context-aware Access Control
 
PaaSword-Business Cases
PaaSword-Business CasesPaaSword-Business Cases
PaaSword-Business Cases
 
Daten unter Kontrolle
Daten unter KontrolleDaten unter Kontrolle
Daten unter Kontrolle
 
PaaSword Presentation - Project Overview
PaaSword Presentation - Project OverviewPaaSword Presentation - Project Overview
PaaSword Presentation - Project Overview
 
No More Dark Clouds With PaaSword - An Innovative Security By Design Framework
No More Dark Clouds With PaaSword - An Innovative Security By Design FrameworkNo More Dark Clouds With PaaSword - An Innovative Security By Design Framework
No More Dark Clouds With PaaSword - An Innovative Security By Design Framework
 
A Data Privacy and Security by Design Platform‐as‐a‐Service Framework
A Data Privacy and Security by Design Platform‐as‐a‐Service FrameworkA Data Privacy and Security by Design Platform‐as‐a‐Service Framework
A Data Privacy and Security by Design Platform‐as‐a‐Service Framework
 
Towards Trusted eHealth Services in the Cloud
Towards Trusted eHealth Services in the CloudTowards Trusted eHealth Services in the Cloud
Towards Trusted eHealth Services in the Cloud
 
A Survey on Context Security Policies in the Cloud
A Survey on Context Security Policies in the CloudA Survey on Context Security Policies in the Cloud
A Survey on Context Security Policies in the Cloud
 
Towards Efficient and Secure Data Storage in Multi-Tenant Cloud-Based CRM Sol...
Towards Efficient and Secure Data Storage in Multi-Tenant Cloud-Based CRM Sol...Towards Efficient and Secure Data Storage in Multi-Tenant Cloud-Based CRM Sol...
Towards Efficient and Secure Data Storage in Multi-Tenant Cloud-Based CRM Sol...
 
No More Dark Clouds: A Privacy Preserving Framework for the Cloud
No More Dark Clouds: A Privacy Preserving Framework for the CloudNo More Dark Clouds: A Privacy Preserving Framework for the Cloud
No More Dark Clouds: A Privacy Preserving Framework for the Cloud
 
PaaSword's main idea, technical architecture and scientific challenges
PaaSword's main idea, technical architecture and scientific challenges PaaSword's main idea, technical architecture and scientific challenges
PaaSword's main idea, technical architecture and scientific challenges
 
PaaSword: A Holistic Data Privacy and Security by Design Framework for Cloud ...
PaaSword: A Holistic Data Privacy and Security by Design Framework for Cloud ...PaaSword: A Holistic Data Privacy and Security by Design Framework for Cloud ...
PaaSword: A Holistic Data Privacy and Security by Design Framework for Cloud ...
 

Kürzlich hochgeladen

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 

Kürzlich hochgeladen (20)

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 

PaaSword - Distributed Searchable Encryption Engine

  • 2. Outline Objectives Architecture and DB Transform Example of an SQL Query in PaaSword Improvements so far PaaSword – WP4 (Database Encryption)18/11/2016 2
  • 3. Objectives Improve Privacy in a transparent way Automatic encryption and decryption Automatic distribution synthesis Sufficient (but restricted) support for SQL Most important queries should be supported Efficiency Acceptable performance impact PaaSword – WP4 (Database Encryption)18/11/2016 3
  • 4. Basic Idea PaaSword18/11/2016 4 Client Cloud DB DB Proxy Cloud DBClient Common (insecure) scenario Desired (secure) scenario
  • 5. DB Proxy Architecture PaaSword18/11/2016 5 Data Index2Index1 SQL SQLDatabase Proxy (trusted) SQL Cloud (untrusted) User / Application Data (not encrypted) Data (encrypted)
  • 6. Database Transformation PaaSword18/11/2016 6 ID Name Surname City Day of Birth 1 Paul Anderson Athens 01.01.1979 2 Howard Miller Karlsruhe 02.02.1974 3 Henry Cooper Berlin 03.03.1980 4 Henry Jones Brussels 04.04.1985 ID Encrypted Data 1 Enc(Paul,Anderson,Athens,01.01.1979) 2 Enc(Howard,Miller,Karlsruhe,02.02.1974) 3 Enc(Henry,Cooper,Berlin,03.03.1980) 4 Enc(Henry,Jones,Brussels,04.04.1985) Data Keyword IDs Name:Paul Enc(1) Name:Howard Enc(2) Name:Henry Enc(3,4) Index1 Keyword IDs Surname:Anderson Enc(1) Surname:Miller Enc(2) Surname:Cooper Enc(3) Surname:Jones Enc(4) Index2 Original Association is hidden
  • 7. Example (1/4) PaaSword18/11/2016 7 •SQL-Query: •SELECT * FROM Customers WHERE Name=‚Henry‘ AND Surname=‚Jones‘ Data Index2Index1 SELECT ID FROM Index1 WHERE Keyword=‘Name:Henry‘ SELECT ID FROM Index2 WHERE Keyword=‘Surname:Jones‘ transform query ID Name Surname Stadt Day of Birth 1 Paul Anderson Athens 01.01.1979 2 Hans Miller Karlsruhe 02.02.1974 3 Henry Cooper Berlin 03.03.1980 4 Henry Jones Brussels 04.04.1983 Database Proxy SELECT * FROM Customers WHERE Name=‚Henry‘ AND Surname=‚Jones‘
  • 8. Example (2/4) PaaSword18/11/2016 8 •SQL-Query: •SELECT * FROM Customers WHERE Name=‚Henry‘ AND Surname=‚Jones‘ Data Index2Index1 IDs Enc(3,4) IDs Enc(4) decrypt and compute result Database Proxy ID 4 ID Name Surname Stadt Day of Birth 1 Paul Anderson Athens 01.01.1979 2 Hans Miller Karlsruhe 02.02.1974 3 Henry Cooper Berlin 03.03.1980 4 Henry Jones Brussels 04.04.1983
  • 9. Example (3/4) PaaSword18/11/2016 9 •SQL-Query: •SELECT * FROM Customers WHERE Name=‚Henry‘ AND Surname=‚Jones‘ Data Index2Index1 SELECT * FROM Data WHERE ‘ID’ in {4} retrieve relevant data ID Name Surname City Day of Birth 1 Paul Anderson Athens 01.01.1979 2 Hans Miller Karlsruhe 02.02.1974 3 Henry Cooper Berlin 03.03.1980 4 Henry Jones Brussels 04.04.1983 Database Proxy ID Name Surname Stadt Day of Birth 1 Paul Anderson Athens 01.01.1979 2 Hans Miller Karlsruhe 02.02.1974 3 Henry Cooper Berlin 03.03.1980 4 Henry Jones Brussels 04.04.1983
  • 10. Example (4/4) PaaSword18/11/2016 10 •SQL-Query: •SELECT * FROM Customers WHERE Name=‚Henry‘ AND Surname=‚Jones‘ Data Index2Index1 Henry,Jones,Brussels,04.04.1983 decrypt and return result Database Proxy Enc(Henry,Jones,Brussels,04.04.1983) ID Name Surname Stadt Day of Birth 1 Paul Anderson Athens 01.01.1979 2 Hans Miller Karlsruhe 02.02.1974 3 Henry Cooper Berlin 03.03.1980 4 Henry Jones Brussels 04.04.1983
  • 11. Improvements (1/2) PaaSword18/11/2016 11 ID Name Surname City Day of Birth 1 Paul Anderson Athens 01.01.1979 2 Howard Miller Karlsruhe 02.02.1974 3 Henry Cooper Berlin 03.03.1980 4 Henry Jones Brussels 04.04.1985 ID Encrypted Data 1 Enc(Paul,Anderson,Athens,01.01.1979) 2 Enc(Howard,Miller,Karlsruhe,02.02.1974) 3 Enc(Henry,Cooper,Berlin,03.03.1980) 4 Enc(Henry,Jones,Brussels,04.04.1985) Data Keyword-Name IDs Enc(Paul) Enc(1) Enc(Howard) Enc(2) Enc(Henry) Enc(3,4) Index1 Keyword-Surname IDs Enc(Anderson) Enc(1) Enc(Miller) Enc(2) Enc(Cooper) Enc(3) Enc(Jones) Enc(4) Index2 Original Keyword Encryption • AES (deterministic) • Support for most query types (excl. LIKE) Index Distribution • Index for same data type can be stored at different server Data Distribution Minimize exposure of sensitive information by careful distribution
  • 12. PaaSword18/11/2016 12 Improvements (2/2) Feature Support Before PaaSword Current State Index Encryption Multiple Tables Joins Subselect LIKE Partial * Privacy Constraints Data Distribution * Only if index keyword is not encrypted
  • 13. Supported Statements SELECT, UPDATE, INSERT, DELETE, DROP TABLE, ALTER TABLE Joins Left/right, full/outer/inner, … =, NOT, AND, OR, IN LIKE (%) SELECT (SELECT …) ) <, <=, >, >= GROUP BY, LIMIT, AVG, SUM PaaSword – WP4 (Database Encryption)18/11/2016 13
  • 14. Way forward Extend SQL query support for encrypted index Improve performance Measure performance in different scenarios Integrate into PaaSword framework Include key management PaaSword18/11/2016 14
  • 15. PaaSword18/11/2016 15 Questions? Visit us: www.paasword.euAcknowledgements: This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 644814.