Docsity

Protezione della privacy nei dati statistici, Dispense di Database Distribuiti

Toggle sidebar
bg1
PRIVACY PROTECTION
1. Macrodata and microdata protection (Video Lesson 1-4)
Often statistical data (or data for statistical purpose) are released. Such released data can be used to infer
information that was not intendent for disclosure. Disclosure of statistical data can:
- Occur based on the released data alone.
- Result from combination of the released data with publicly available information.
- Be possible only through combination of the released data with detailed external (public) data
sources.
The disclosure risk (releasing something that was not intended for release) from the released data should be
very low. The solution to achieve this task is to protect data through various techniques.
The release of data for statistical purpose can happen through:
-Statistical DBMS: the DBMS responds only to statistical queries. Moreover, run time checking to
control information (directly) released.
-Statistical data: publish statistics (macrodata release). Control on indirect release performed before
publication.
1.1. Statistical DBMS
A statistical DBMS is a DataBase Management System that provides access to statistics about a group of
individuals. The access is provided through a query. Statistical DBMS should not reveal information about
any particular individual.
Confidential information about an individual can be deduced from:
- Combining different statistics.
- Combining the results of statistics with external knowledge (possibly about the database content).
[Statistical DBMS example].
Queries are sensitive when they reveal\infer, confidential information. Also, combination of queries might
be sensitive.
- Statistical DBMS block statistics computer over a too small number of correspondents.
1.2. Macrodata protection
Macrodata were the main used technique in the past and consists of data released in tabular form and
through statistical DBMS. They are mainly obtained through aggregation of microdata, which are specified
stored data which increases flexibility and availability of information for recipients. Microdata is subject to a
greater risk of privacy breaches (linking attacks). Microdata release is preferred since they allow the
recipient to perform the preferred analysis (more flexible), while macrodata directly provides a performed
analysis. On the other hand, macrodata is more protected with respect to microdata, that have more privacy
risks.
Macrodata tables can be classified into the following two groups (types of tables):
-Count/Frequency. Each cell contains the number (count) or the percentage (frequency) of
respondents that have the same value over all attributes in the table.
-Magnitude data. Each cell contains an aggregate value of quantity of interest over all attributes in
the table. Usually released with the corresponding count table.
1.3. Macrodata Disclosure Protection Techniques: Tables of Counts or Frequencies
Protection operates in three steps:
1) Sampling. Publishing a portion of the whole collected data.
2) Identification of sensitive cells:
a. Special rules.
b. Threshold rules.
3) Protection of sensitive cells:
a. Table restructuring.
b. Suppression.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31

Anteprima parziale del testo

Scarica Protezione della privacy nei dati statistici e più Dispense in PDF di Database Distribuiti solo su Docsity!

PRIVACY PROTECTION

1. Macrodata and microdata protection (Video Lesson 1-4)

Often statistical data (or data for statistical purpose) are released. Such released data can be used to infer

information that was not intendent for disclosure. Disclosure of statistical data can:

  • Occur based on the released data alone.
  • Result from combination of the released data with publicly available information.
  • Be possible only through combination of the released data with detailed external (public) data

sources.

The disclosure risk (releasing something that was not intended for release) from the released data should be

very low. The solution to achieve this task is to protect data through various techniques.

The release of data for statistical purpose can happen through:

  • Statistical DBMS : the DBMS responds only to statistical queries. Moreover, run time checking to

control information (directly) released.

  • Statistical data : publish statistics (macrodata release). Control on indirect release performed before

publication.

1.1. Statistical DBMS

A statistical DBMS is a DataBase Management System that provides access to statistics about a group of

individuals. The access is provided through a query. Statistical DBMS should not reveal information about

any particular individual.

Confidential information about an individual can be deduced from:

  • Combining different statistics.
  • Combining the results of statistics with external knowledge (possibly about the database content).

[Statistical DBMS example].

Queries are sensitive when they reveal\infer, confidential information. Also, combination of queries might

be sensitive.

  • Statistical DBMS block statistics computer over a too small number of correspondents.

1.2. Macrodata protection

Macrodata were the main used technique in the past and consists of data released in tabular form and

through statistical DBMS. They are mainly obtained through aggregation of microdata , which are specified

stored data which increases flexibility and availability of information for recipients. Microdata is subject to a

greater risk of privacy breaches ( linking attacks ). Microdata release is preferred since they allow the

recipient to perform the preferred analysis (more flexible), while macrodata directly provides a performed

analysis. On the other hand, macrodata is more protected with respect to microdata, that have more privacy

risks.

Macrodata tables can be classified into the following two groups (types of tables):

  • Count/Frequency. Each cell contains the number (count) or the percentage (frequency) of

respondents that have the same value over all attributes in the table.

  • Magnitude data. Each cell contains an aggregate value of quantity of interest over all attributes in

the table. Usually released with the corresponding count table.

1.3. Macrodata Disclosure Protection Techniques: Tables of Counts or Frequencies

Protection operates in three steps:

  1. Sampling. Publishing a portion of the whole collected data.

  2. Identification of sensitive cells :

a. Special rules.

b. Threshold rules.

  1. Protection of sensitive cells :

a. Table restructuring.

b. Suppression.

c. Rounding.

d. Confidentiality Edit.

1.3.1 Sampling (pre-processing).

It consists in extracting a portion from the whole collected data ( sample ), on which count, or frequency

table are then computed. It is the first level of protection. And it is used both in micro and macro data.

The estimates are made by multiplying individual responses by a sampling weight ( protection parameter )

before aggregating them. If the weights are not revealed, individual respondents’ data are less identifiable

from published tables. Important is that estimates achieve a specified accuracy , otherwise they are not

published since they are not considered meaningful.

1.3.2. Identification of sensitive cells: Special rules.

Special rules define restriction on the level of detail that can be provided in the table. They depend on the

agency (who released data) and the kind of table (kind of information). [Special rules – Example].

Identification of sensitive cells: Threshold rules. A threshold specifies a minimum number of respondents

that must be in each cell. If threshold is not satisfied the cell must be protected, since it is sensitive, and

therefore not released. [Table with disclosures – example].

1.3.3. Protection of sensitive cells

Table restructuring and category combination : to protect confidentiality, the table can be restructured,

and rows combined (“rolling up categories”). [Table restructuring – example].

Cell suppression : primary suppression consisting of directly suppressing the sensitive cells, but this

technique is not sufficient since it is possible to calculate the value of the suppressed cell through simple

equation within cells and marginal totals. An additional protection technique is complementary

suppression , which consists in suppressing an additional cell for each row or column with a suppressed

sensitive cell ( primary suppression ). Although more secure than the primary version, it is still difficult to

guarantee protection. Moreover, the selection of cells for complementary suppression is complicated.

Linear programming techniques automatically selects the cells, while audit techniques can be applied to

evaluate the proposed cells for suppression to evaluate the required protection. It may lead to data loss. [Cell

suppression: table without disclosures – example].

Random/Controlled Rounding : to reduce data loss due to suppression, use rounding of values to a

multiple of sensitivity threshold. Rounding can be: [Rounding – example]

  • Random : random decision on whether cell values will be rounded up or down. The sum of the

values in a row/column may be different from the published marginal totals (recipients may lose

confidence in the data).

  • Controlled : ensures that the sum of published entries is equal to published marginal total. Moreover,

it masquerades the effect of the agent on the special rules. Linear programming methods are used to

identify a controlled rounding for a table (no guarantee to find a suitable rounding).

Note : all cell values must be a multiple of the threshold value. The disadvantages related to control the

rounding are:

  • It requires the use of specialised computer programmes.
  • Solutions may not always exist for complex tables.
  • It must consider the constraints that affect each cell; this may prevent the agent from achieving an

optimal solution.

Confidentiality edits : It is applied directly to the collected microdata that is used to compute macrodata

(through aggregation). Developed by the U.S. Census Bureau to provide protection of tables prepared from

the 1990 census, it consists in two different approaches:

  • To protect the regular decennial census data (100% of the population).
  • To protect the long form of the Census which refers to a sample of the population.

parameter q represents the error in estimation before the cell is published. Formally, a cell is

protected if:

q

i = c + 2

N

x

i

p

x

1

The pq rule reduces to the p percent rule if q = 100 (i.e., no estimate ability). [pq – example].

  1. ( n , k ) rule : regardless of the number of respondents in a cell, if a small number ( n or fewer) of

these respondents contribute a large percentage (

k % or more) of total cell value, the cell is

considered sensitive. Intuitive rule: if a cell is dominate by one respondent, the published total is an

upper estimate for her value. n is selected to be larger than the number of any suspected coalitions.

Typical values for n are 1 or 2. [(n, k) rule – example].

1.4.2. Protect sensitive cells (secondary suppression)

Once we have identified sensitive cells, there are two options:

  • Restructure the table and collapse cells until no sensitive cells remain.
  • Cell suppression : do not publish sensitive cells (primary suppression) and remove other cells

(complementary suppression).

Other non-sensitive cells must be selected for suppression to ensure that the respondent level data in

sensitive cells cannot be estimated too accurately (i.e., a respondent’s data cannot be estimated too closely).

Sensitive cells might be leaked since:

o Implicitly published unions of suppressed cells may be sensitive according to the sensitivity

rule adopted.

o The row and column equations represented by the published table may be solved and the

value for a suppressed cell estimated too accurately.

Any complementary suppression is acceptable if the sensitive cells are protected. For small tables the

selection of complementary cells can be done manually, since data analysts know which cells are of greatest

interest (and should not be used for complementary suppression). Manual selection of complementary cells

is acceptable as long as the resulting table provides sufficient protection to sensitive cells. Finally, an

automated audit should be applied to ensure this is true.

1.4.3. Verify result :

Audit : if totals are published the sum of the (primary or secondary) suppressed cells can be derived , that

is, it checks if the marginal totals cannot be used to extract the value of sensitive cells (reverse engineering).

Apply the sensitivity rule to these sums to ensure that they are not sensitive :

  • Rows and columns can be seen as a large system of linear equations.
  • Estimate a lower and upper bound of each suppressed cell using linear programming.
  • If bounds are too close to the original value, the cell is sensitive.

Audit is simple for small tables, while possibly computationally intractable for large tables.

Information loss : the selection of the complementary cells should result in minimum information loss , that

is, recipients cannot gain additional information from the released table. Since there is no unique definition

of information loss, we can define various way for preventing this from happening:

  • Minimize the sum of the suppressed values (many cells with small values can be suppressed).
  • Minimize the total number of suppressed cells.

Information in parameter values : while suppression rules can be published, parameter values should be

kept confidential. This is achieved through encryption. [Protection of tables of magnitude data - example].

1.5. Microdata

Many situations requires today that the specific stored data themselves (microdata) be released. The

advantage of releasing microdata is an increased flexibility and availability of information for the recipient.

To protect the anonymity of the respondent, data holders often remove or encrypt explicit identifiers

(name, phone numbers, addresses). However, de-identifying data provides no guarantee of anonymity.

Released information often contains other quasi-identifying data (set of attributes, e.g., race, birth date, sex,

ZIP code) that can be linked to publicly available information to reidentify respondent. The data recipient

can determine (or restrict uncertainty) to which respondent some pieces of released data refer. This has

created and increasing demands to devote resources for an adequate protection of sensitive data. The

microdata protection technique follows two main strategies:

  • Reduce the information content.
  • Change the data in such a way that the information content is maintained as much as possible.

[Disclosure risk – example].

To limit the disclosure risk , the following procedures should be applied:

  • Include data from a sample of the whole population, that is, sampling.
  • Removal of identifiers. This procedure should always be performed.
  • Limiting geographic details. It aims at enlarging the considered area, therefore, increasing the

amount of respondent that has peculiar characteristics.

  • Limiting the number of attributes / variables (in joining two tables, several variables can match and

therefore increase disclosure risk).

Geographic location is a characteristic that:

  • Often appears in microdata.
  • Can be used for re-identifying respondents.
  • It is therefore important limiting geographical details.
  • Microdata contains contextual variables that describe the area in which a respondent resides but do

not identify that area (e.g., average temperature of an area).

1.5.1. Classification of microdata protection techniques

Microdata protection techniques are based on the principle that reidentification can be countered by

reducing the amount of released information. The microdata protection techniques can be classified into two

main categories:

  • Masking techniques : not releasing or perturbing their values. We reduce the details over the data by

performing a transformation of the original table into a protected one. Then, we release the quasi-

original real-world data. The release data are representative of real-world data, although slightly

modified.

  • Synthetic data generation techniques : releasing plausible but made-up values instead of the real

ones. We collect the data from the population. Then, we extract a statistical model from the collected

data and then build a sample by extracting from the distributions built on the original population for

releasing the dataset. The released data are not representative of real-world data, but they are

representative of the statistical model computed on the real-world data.

This protection techniques can operate on different data types:

  • Continuous : an attribute is said to be continuous if it is numerical and arithmetic operations are

defined on it (i.e., date of birth, temperature).

  • Categorical : an attribute is said to be categorical if it can assume a limited and specified set of

values and arithmetic operations do not have sense on it (i.e., marital status, race).

1.6. Microdata Disclosure Protection Techniques: Masking Techniques

The original data are transformed to produce new data that remains valid for statistical analysis, since they

should preserve the confidentiality of the respondents. These techniques can be classified as:

  • Non-perturbative : the original data are not modified, but some data are suppressed and/or some

details are removed to reduce their precision.

  • Perturbative : the original data are modified.

Some of the non-perturbative masking techniques are:

  • Sampling (continuous and categorical data): The protected micro table is obtained as a sample of

the original microdata table. Since there is uncertainty about whether a specific respondent is in the

  • Fully synthetic techniques : original data is discarded; a sample is extracted from the model

obtained from the original data and therefore released.

  • Partially synthetic techniques : original data is discarded; a sample is extracted from the model

computed original data and another sample from the original data is computed, Finally, the union

between these two samples is computed and released.

In both cases it is necessary to build a model over the generated data.

2. Privacy in data publication (Video lessons 5 -9)

2.1. Information disclosure risk

Disclosure relates to attribution of sensitive information to a respondent (individual or organization). There

is disclosure when:

  • Identity disclosure : respondent is identified from the released data. It occurs if a third party can

identify a respondent from the released data. Revealing that an individual is a respondent in a data

collection may violate confidentiality requirements:

o For macrodata , revealing an identity is generally not a problem , unless the identification

leads to divulging confidential information.

o For microdata , identification is generally regarded as a problem, since microdata records are

detailed; identity disclosure usually implies also attribute disclosure (it is a pre-condition).

  • Attribute disclosure : sensitive information about the respondent is revealed through the released

data. It occurs when confidential information about a respondent is revealed and can be attributed

to her. Confidential information may be: i) revealed exactly ; ii) closely determined (limited error

range).

  • Inferential disclosure : the released data make it possible to determine the value of some

characteristics of a respondent even if no released record refers to the respondent. It occurs when

information can be inferred with high confidence from statistical properties of the released data.

Inferences are designed to predict aggregate behaviour (not individual attributes) and are then often

poor predictors of individual values. Inferential disclosure itself does not always represent a risk,

although combined with other information may increase potential for inference.

2.2. Reduce disclosure risk: restricted data and restricted access

The choice of statistical disclosure limitation methods depends on the nature of data products whose

confidentiality must be protected. Some microdata includes explicit identifiers (name, address, SSN).

Removing such identifiers is a first step in preparing for the release of microdata for which the

confidentiality of individual information must be protected.

Confidentiality can be protected by:

  • Restricting the amount of information in the released tables (restricted data).
  • Imposing conditions on access to the data products (restricted access) (Access & control).
  • Some combination of these two strategies.

2.3. Anonymity problem

The amount of privately owned records that describe each citizen’s finance, interests, and demographics is

increasing every day. These data are de-identified before release, that is, any explicit identifier is removed.

De-identification is not sufficient (note that it is different from ). Most municipalities sell population

registers that include the identities of individuals along with basic demographics. These data can be used for

linking identities with de-identified information  re-identification. [Anonymity – problem example].

2.4. Re-identification

The attributes in the original microdata table can be classified as:

- Identifiers (key): attributes that uniquely identify a microdata respondent (name, ID number). - Quasi-identifiers : attributes that, in combination, can be linked with external information to

reidentify all or some of the respondents to whom information refers or reduce the uncertainty over

their identities (ZIP, DoB, Sex).

- Confidential : attributes of the microdata table that contain sensitive information (disease). - Non-confidential : attributes that the respondents do not consider sensitive and whose release does

not cause disclosure.

Logically, the more attributes (quasi-identifiers) are used, the easier it becomes to re-identify an individual.

2.5.1. Generalization and suppression to enforce k -anonymity

Often, we combine

k -anonymity with generalization or suppression to manage the trade-off between utility

and protection. Generally, suppression is preferred to generalization since the latter has less utility.

  • Generalization : the values of a given attribute are substituted by more general values. It is based on

the definition of a generalization hierarchy (it establishes the different steps\operations that needs

to be performed for reducing the amount of detail that is released for a given attribute).

  • Suppression : it protects sensitive information by removing it. The introduction of suppression can

reduce the amount of generalization necessary to satisfy the

k -anonymity constraint.

2.5.2. Domain generalization hierarchy

A generalization relationship

D

defines a mapping between domain

D

and its generalizations. Given two

domains

D

i

, D

j

∈ Dom , D

i

D

D

j

states that the values in domain

D

j

are generalizations of values in

D

i

D

implies the existence, for each domain D , of a domain generalization hierarchy

DG H

D

=( Dom , ≤

D

(which relies on a total order relationship ):

∀ D

i

, D

j

, D

z

∈ Dom : D

i

D

D

j

, D

i

D

D

z

→ D

j

D

D

z

⋁ D

z

D

D

j

  • All maximal elements of Dom are singleton (that is, most general domain include only singletons).

Given a domain tuple

DT =
D

1

, … , D

n

⟩ such that

D

i

∈ Dom , i = 1 , … ,n

, the domain generalization hierarchy

of DT is

DG H

DT

= DG H

D

1

×… × DG H

D

n

(complex structure called lattice ).

2.5.3. Value generalization hierarchy

A value generalization relationship

V

associates with each value in domain

D

i

a unique value in domain

D

j

, direct generalization of

D

i

V

implies the existence, for each domain D , of a value of generalization

hierarchy

VG H

D

VG H

D

has a tree structure , where the leaves are the value in the original domain

D

, and

the root (i.e., the most general value) is the value in the maximum element in

DG H

D

. [ Domain and value

generalization hierarchies – example].

2.5.4. Generalized table with suppression

Let

T

O

(original data) and

T

G

(generalized table with suppression of

T

O

) be two tables defined on the same

set of attributes. Table

T

G

is said to be a generalization (with tuple suppression) of table

T

O

if:

  • The cardinality of
T

G

is at most that of

T

O

(some tuples may have been suppressed to generalize).

  • The domain of each attribute A in
T

G

is equal to, or a generalization of, the domain of attribute A in

T

O

  • It is possible to define a correspondence (an injective function) associating each tuple

t

G

∈ T

G

with

a different tuple

t

O

∈ T

O

, such that the value of each attribute in

t

G

is equal

t

O

, or a generalization of,

the value of the corresponding attribute in

t

O

(some tuples in

T

O

might not have corresponding tuples

in

T

G

). [Generalized table with suppression – example].

2.5.5. Better to suppress or generalize?

Suppression is equivalent to generalization to the most (if unique) general value  complete information

loss on the cell.

If generalization operates at the level of attribute (column) and suppression at the level of cell (value),

generalizing may increase information loss (it hits all the cells in the column). Assume a threshold of

suppression , if required suppression is:

  • Below the threshold  suppress.
  • Above the threshold  generalize.

2.5.6. Minimal generalization

Generalization and suppression cause information loss (therefore we should be conscious when we apply

it). The minimal solution is to suppress and generalize as needed, not more.

2.5.7. k-minimal generalization with suppression

Distance vector : Let

T

i

A

1

, … , A

n

) (original table) and

T

j

( A

1

, … , A

n

k -anonymous table) be two tables

such that

T

i

≼T

j

. The distance vector

T

j

from

T

i

is the vector

DV

i , j

[

d

1

, … , d

n

] where each

d

z

, z = 1 , … , n is

the length of the unique path between

dom ( A

z

,T

¿ i )¿ and

dom

A

z

, T

j

) in the domain generalization

hierarchy

DG H

D

z

. Let

T

i

and

T

j

bet two tables such that

T

i

≼T

j

, and let MaxSup be the specified threshold

of acceptable suppression.

T

j

is said to be a

k -minimal generalization of table

T

i

iff:

T

j

satisfies

k -anonymity enforcing minimal required suppression , that is,

T

j

satisfies

k -anonymity

and

∀ T

z

: T

i

≼T

z

, DV

i , z

= DV

i, j

, T

z

satisfies

k -anonymity  |

T

j

|

|

T

z

| (it preserves as many tuples

as possible).

|

T

i

|

|

T

j

|

≤ MaxSup

∀ T

z

: T

i

≼ T

z

and

T

z

satisfies conditions 1 and 2 

¬ ( D V

i , z

< DV

i , j

. That is, there isn’t a direct

dominance relation between the two distance vectors of the two tables since, looking at DGH, there

is not another generalization along the path from the k -anonymity’s table we are considering and the

original table. [Minimal generalization – example].

Therefore, k-minimal generalization with suppression allows to release tables that preserve information (no

suppression of entire tuples in case of

MaxSup = 0  minimal generalization , no high level of anonymity).

In case of k-minimal generalization we may have room for suppressing tuples.

2.5.8. Computing a preferred generalization

Different preference criteria can be applied in choosing a preferred minimal generalization, among which:

  • Minimum absolute distance prefers the generalization(s) with the smallest absolute distance, that is,

with the smallest total number of generalization steps (regardless of the hierarchies on which they

have been taken).

  • Minimum relative distance prefers the generalization(s) with the smallest relative distance, that is,

that minimizes the total number of relative steps (a step is made relative by dividing it over the

height of the domain hierarchy to which it refers).

  • Maximum distributions prefer the generalization(s) with the greatest number of distinct tuples

(higher variability).

  • Minimum suppression prefers the generalization(s) that suppresses less tuples, that is, the one with

the greatest cardinality.

2.5.9. Classification of algorithm

Generalization and suppression can be applied at different levels of granularity :

  • Generalization can be applied at the level of single column (i.e., a generalization step generalizes

all the values in the column, which have uniform domain over all tuples in the table; moreover,

different information has the same representation) or single cell (i.e., for a specific column, the table

may contain values at different generalization levels, leading to more precision and more information

release; moreover, data have different representation).

  • Suppression (more flexible than generalization) can be applied at the level of row (i.e., a

suppression operation removes a whole tuple), column (i.e., a suppression operation obscures all the

values of a column), or single cells (i.e., a k -anonymized table may wipe out only certain cells of a

given tuple/attribute).

[Mondrian multidimensional algorithm – example].

Mondrian algorithm is easy to use if it deals with continuous attributes with total order relationship among

the values in the domain because it is easy to give a representation of the dimensions in a graphic manner.

For categorical variable it is trickier because the representation strictly depends on the order in which the

values of the attributes are placed. Different orders may lead to different representations.

2.5.11. k-anonymity revisited.

k -anonymity requirement : each release of data must be such that every combination of values of quasi-

identifiers can be indistinctly matched to at least

k respondents. When generalization is performed at

attribute level ( AG ) this is equivalent to require each quasi-identifier

n -uple to have at least

k occurrences (it

is a necessary condition required from most of the algorithms that ensure anonymity).

When generalization is performed at cell level ( CG ), the existence of at least k occurrences is a sufficient

but not necessary condition; a less strict requirement would suffice:

  • For each sequence of values pt in PT[QI] there are at least k tuples in GT[QI] that contain a

sequence of values generalizing pt.

  • For each sequence of values t in GT[QI] there are at least k tuples in PT[QI] that contain a sequence

of values for which t is a generalization. [k-anonymity revisited – example].

2.6. Attribute disclosure

Homogeneity of the sensitive attribute values: All tuples with a quasi-identifier value in a

k -anonymous

table may have the same sensitive attribute value. Based on background knowledge (that could be also

personal characteristics that the recipient known about a certain respondent) of some additional external

information, a recipient can infer sensitive information about a respondent (directly or by joining

information).

2.6.1. l -diversity

A q -block (i.e., set of tuples with the same value for QI ) in T is l -diverse if it contains at least l different

“ well-represented ” values for the sensitive attribute in T.

  • Well-represented : different definitions based on entropy or recursion (e.g., a

q -block is

l -diverse if

removing a sensitive value, it remains ( l − 1 )-diverse).

With l -diversity a malicious adversary needs to eliminate at least l − 1 possible values to infer that a

respondent has a given value.

Table

T

is

l -diverse if all its

q -blocks are

l -diverse:

  • Homogeneity attack is not possible anymore.
  • Background knowledge attack becomes more difficult.

l -diversity is monotonic with respect to the generalization hierarchies considered for k -anonymity purposes.

Any algorithm for k -anonymity can be extended to enforce the l -diverse property, but l -diversity leaves

space to attacks based on the distribution of values inside q -blocks ( skewness and similarity attacks).

Skewness attack occurs when the distribution of sensitives attributes in a q -block is different than the

distribution in the original population (75% of tuples in q -block have diabetes  people in the q -block have

higher probability of suffering from diabetes).

Similarity attack happens when a q -block has different but semantically similar values for the sensitive

attribute (diseases being either stomach ulcer or gastritis).

2.6.2. t -closeness

Group closeness : A q -block respects t -closeness if the distance between the distribution of the values of the

sensitive attribute in the q -block and in the considered population is lower than t , threshold.

Table T respects t -closeness if all its q -blocks respect t -closeness. t -closeness is monotonic with respect to

the generalization hierarchies considered for k -anonymity purposes. Any algorithm for k -anonymity can be

extended to enforce the t -closeness property, which however might be difficult to achieve.

2.6.3. External knowledge

The consideration of the adversary’s background knowledge (or external knowledge ) is necessary when

reasoning about privacy in data publishing. External knowledge can be exploited for inferring sensitive

information about individuals with high confidence :

  • Positive inference identifies a characteristic precisely/within a range (existing approaches have

mostly focused on positive inference):

o A respondent has a given value (or a value within a restricted set).

  • Negative inference aims at reducing the range from which we can extract info about a certain

characteristic:

o A respondent does not have a given value.

External knowledge may include:

  • Similar datasets released by different organizations.
  • Instance-level information

It is not possible to know a-priori what external knowledge the adversary possesses, therefore it is necessary

to provide the data owner with a means to specify adversarial knowledge.

2.6.3.1. External knowledge modelling

An adversary has knowledge about an individual ( target ) represented in a released table and knows the

individual’s

QI

values  predict sensitive values of the target. One way to counter external knowledge is

to model it through a logical expression. Knowledge may be about:

  • The target individual : information that the adversary may know about the target individual.
  • Others : information about individuals other than the target.
  • Same-value families : knowledge that a group (or family) of individuals have the same sensitive

value.

o Genomic information also exposes information about the relatives and descendants of the

genome’s owner.

Other types of external knowledge may be identified. [External knowledge – example].

2.6.4. Multiple releases

Data may be subject to frequent changes and may need to be published on regular basis. The multiple

release of a microdata table may cause information leakage since a malicious recipient can correlate the

released datasets. [Multiple independent releases – example].

Multiple (i.e., longitudinal ) releases cannot be independent  need to ensure multiple releases are safe

with respect to intersection attacksm -invariance is the technique used to preserve released from

intersection attacks.

2.6.5. Extended scenarios

k -anonymity, l -diversity, and t -closeness different variations:

  • Multiple tuples per respondent (one respondent is associated with several tuples).
  • Release of multiple tables , characterized by (functional) dependencies.
  • Multiple quasi-identifiers.
  • Non-predefined quasi-identifiers.
  • Release of data streams.
  • Fine-grained privacy preferences (different respondents may need different privacy rules to be set

out, even in the same released table).

2.7. Applications of k -anonymity

In addition to classical microdata release problem, the concept of k -anonymity and its extensions can be

applied in different scenarios, e.g.: social networks, data mining, location data, etc.

3. Privacy in data publication (Video lesson 9 - )

3.1. Differential privacy

3.1.1. Intuition behind differential privacy

An individual is more likely to be a respondent to a survey if it feels safe being in a database D , that is, if:

  • His data has no impact on the released result  computation over “ D without the user” =

computation over “ D”  no inference can be made about the individual. But if individuals had no

impact on the released results, then the results would have no utility!

  • The information learned about an individual by the published results R is no more than the

information we can learn about that individual without access to R.

Therefore, the privacy of an individual is protected whenever the result R does not depend on her specific

information. Inferences about an individual from a differentially private computation are ( essentially )

limited to what could be inferred from everyone else’s data without her own data being included in the

computation (the difference between the output obtained from the data containing information about the

individual and the results R obtained from the data that do not contain the information could be released if

the difference\variation between the two datasets do not exceed a certain threshold, defined to be at most

ε ,

that is, privacy budget ). The privacy budget is our privacy parameter (like k in k -anonymity) that need

to be set when using differential privacy.

3.1.2. Differential privacy and randomness

Differentially private analyses add random noise (slightly modified original data using generalisation or

suppression techniques) to the result:

  • Noise masks the differences between the real-world computation and the opt-out scenario of each

individual in the database.

  • The outcome of a differentially private analysis is not exact but an approximation over the original

dataset.

  • A differentially private analysis may, if performed multiple times on the same dataset, returns

different results. It is often possible to calculate accuracy bounds for the analysis.

  • Differential privacy is said to be resistant against external knowledge and against multiple releases of

the data because it adds random noise at random time.

3.1.3. Differential privacy – definition

Let databases D and D’ be two neighbours database (e.g., they are the same apart from one of them not

having the data of a single individual). An algorithm A satisfies ε -differential privacy if for all pairs of

neighbours databases D and D’ , and for all outputs o :

P [ A

D

= o ] ≤ e

ε

P [ A

D

'

= o ]

where

P [ ⋅ ]

is the probability. An adversary should not be able to use the output o to distinguish between D

and D’.

3.1.4. The privacy budget

ε

In this sense, the privacy budget ε determine how much noise is added to the computation  trade-off

between privacy and accuracy. The smaller (larger) the ε the more (less) the noise:

  • Small εmore privacy, less utility.
  • Large

εless privacy, more utility.

For example:

  • ε = 0 → an analysis could not provide any meaningful output.
  • ε =0.1 → it provides strong privacy guarantees and useful statistics (good balance).
  • ε = 1 → it provides high accuracy but low privacy.

3.1.5. How to achieve differential privacy

To achieve differential privacy, we need to calibrate the noise to the influence an individual can have on

the result (the presence of individuals who are very influential – outliers – is balanced by injecting a huge

amount of noise in the data). Global sensitivity characterizes the scale of the influence of one individual

( worst case ), and hence how much noise we must add. [Global sensitivity – examples].

Global sensitivity of an attribute GS ( A ) measures the maximum difference between the two results (real

world and opt-out). If we perform several analyses, the

GS ( A )

simply adds up between analysis.

3.1.6. LaPlace mechanism with sensitivity

It is the most used technique for noise distribution since it can be tuned to reflect both privacy budget and

global sensitivity. Result R is sampled from a Laplace distribution with mean the true result (of the

application of the algorithm; the mean of noise addition is always 0) and some scale λ (determined by ε and

the global sensitivity of the computation):

R = A ( D )+ Z

Where Z is a random variable drawn from the Laplace distribution that represents noise (that grows

proportionally with the increase of

λ ), and

A ( D )

is the original result.

Lap ( z , λ )= P ( z | λ )=

2 λ

e

−| z |

λ

, λ =

GS ( A )

ε

→ λ↑ ↔ GS ( A ) ↑ ; λ ↓↔ ε ↑

3.2. Properties of differential privacy

  • Differential privacy is resilient to post-processing  the computation of a function over the result

of a differentially private computation cannot make it less differentially private.

  • Sequential and parallel computing : differential privacy composes well with itself. Differential

privacy permits you to measure the amount of privacy guarantees provided by the sequential releases

of different computation/analysis evaluated over the same dataset. Differential privacy composes

well with itself. This aspect can be seen in two ways:

o Sequential composition : sequence of m computations over database D with overlapping

results. It performs multiple releases of results of analysis the dataset and the returned results

are overlapping. In this case the privacy budget sums up to obtain the privacy guarantee

obtained by overall set of releases to the respondents. Each count must be released in such a

way that first, second, … count is equal to ε (threshold value): [Sequential com – example].

ε

1

  • … + ε

m

o Parallel composition : sequence of m computations over disjoint subsets of a database D.

The sequence of releases never touches the same individuals (not overlapping, completely

disjoint results). Each cell can be released with

ε

- differential privacy. The overall privacy

guarantee is the maximum of the privacy parameters used by the single algorithms: [parallel

com -example].

max

ε

1

, … , ε

m

  • Group privacy : Differential privacy has been introduced for reasoning about the privacy of a single

individual but allows also reasoning about the privacy of groups. Privacy guarantees that apply to

an individual with ε apply to a group of size n with the privacy parameter becoming nε.

3.3. Differential privacy models

  • Non-interactive : non-interactive privacy models are designed to protect privacy without requiring

real-time interactions or ongoing communication between parties. These models are often used in

situations where data sharing or protection occurs independently or asynchronously. Generally, the

owner of the data acts as intermediary between the original dataset and the Released result for the

recipient. It is the data owner that performs computation and adds noise to the original data. The

recipient simply receives the output provided by the data owner.

  • Interactive : In interactive privacy models, parties involved in data sharing or communication

actively engage with each other to protect privacy. These models often require real-time interactions

and collaborative efforts to ensure privacy. Generally, an engine that resides between the original

SECURITY AND DATA PROTECTION

4. Authentication and Access Control

Security has different strategies and different objectives :

  • Strategies:

o Prevention : take measures that prevent your system from being damaged.

o Detection : take measures that detect when, how, and by whom your system has been

damaged.

o Reaction : take measures so that you can record your system from damages (increasing

protection).

  • Objectives:

o Confidentiality : prevent unauthorized disclosure of information.

o Integrity : prevent unauthorized modification of information.

o Availability : guarantee that information (or resources) is always available to authorized

users.

4.1. Authentication

Identification and Authentication provide the system with the ability of identifying its users and confirming

their identity:

  • Identification by the parties to be authenticated (users declare who they are and present proofs of

this).

  • Authentication by the system doing the authentication (to be certain of the identity presented)

Users’ authentication is necessary for:

  • Access control : finding and deciding which subject can access which piece of information (also

modifying it and running tools on it).

  • Security logging : keep track of who performed certain actions in the system.

Cryptography is a set of mathematical techniques that transform a clear text into a non-intelligible

(encrypted text or ciphertext) by anyone who doesn’t know the encryption key used but the cryptography

algorithm. Cryptography is based on the use of a key to encrypt and decrypt messages. Encryption can be

classified in two types of algorithms:

  • Symmetric encryption : the same (private) key, which is singular, is used both for encryption and

decryption. The key is secret and known to both sender and receiver. It is less secure and less

expensive compared to asymmetric encryption.

  • Asymmetric encryption : each subject possesses a pair of keys (⟨ public , private ⟩), one for

encryption and the other for decryption. The private key is known only to the owner of the key pair,

while the public key is known to everybody. It may have different purposes, such as protecting

secrecy of messages (WhatsApp) or signature. It is generally more costly and more secure compared

to symmetric encryption.

Authentication establishes the identity of a party to another party, where a party can be either a user or a

machine. Often, mutual authentication is needed: authentication of a computer to a user can be needed to

prevent attacks (like spoofing, in which a computer masquerades as another one to acquire users’

passwords). Authentication can be considered the primary security service. Moreover, correctness of the

access control and the correctness of intrusion\violation control relies on a correct authentication.

Generally, authentication can be based on i) passwords; ii) possessions (i.e., tokens); iii) user characteristics.

The password-based authentication is based on pairs of:

  • Username : the user identifies herself.
  • Password : the user gives the proof of her identity.

It is the oldest and most widely used authentication method since it is cheap, simple, and easily

implementable. Although this advantages, it is the weakest method since passwords have multiple

vulnerabilities. Moreover, often password can be:

  • Easily guessed ( guessing ).
  • Read by people observing the legitimate users typing it in ( snooping ).
  • Observed by third parties when passing over the network ( sniffed ).
  • Acquired by third parties impersonating the login interface (spoofing ).

Anybody that acquires the password of a user can impersonate the user ( masquerading ) in getting the

access to the system.

The first step to limit password vulnerability is good password management : often passwords are

vulnerable because users do not put enough care (not changing passwords for a long time, sharing passwords

with colleagues and friends, choose weak passwords since they are easy to remember, use the same

password for several services, …).

The authentication based on possession is based on the possession by users of tokens. Each token has a

cryptographic key (stored in the token) that can be used to prove the identity of the token to a computer.

Usually, tokens are safer than passwords: by keeping control on the tokens users maintains control on their

identity.

Token-based authentication proves only the identity of the token , not the identity of the user. Tokens can be

stolen, lost, or forged; everybody who acquires a token can impersonate the user. To increase the security of

this technique, token-based authentication is combined with authentication based on knowledge ( two-factor

authentication ). To masquerade as a user, third parties need both to have the token and to know the

password.

The authentication based on user characteristics is based on biometric characteristics of the user, such as

physical characteristics (fingerprints, face recognition) or on behavioural characteristics (typing cadence,

signature). It requires an initial enrolment phase that performs several measures on the characteristics to

define\construct a profile ( template ).

Authentication compares the characteristics measured for the user with the stored template. Then, it

succeeds if they correspond, provided a tolerance interval (which must be tuned). Moreover, to ensure

security, a maximum number of failed attempts is imposed by the controller. Moreover, it is important to

have a backup authentication factor (in case the users fail to authenticate).

4.2. Access control

Access control evaluates access requests to the resources (digital or physical ones) by the authenticated

users and based on some access rules, it determines whether they must be granted or denied. An access

control system may be limited to control only direct access ; moreover, it may be enriched with:

  • Inference : a security system that incorporates inference capabilities to make more informed and

context-aware decisions regarding access to resources or areas).

  • Information flow : a security mechanism that incorporates the monitoring and control of how

information flows within a system.

  • Non-interference controls : is a security mechanism that aims to prevent the leakage of sensitive

information by ensuring that the actions of one user or process do not interfere with the

confidentiality and integrity of another user's or process's data.

The correctness of access control rests on: