Docsity

information technology for the law, Appunti di Informatica Giuridica

Toggle sidebar
bg1
INFORMATION TECHNOLOGY FOR THE LAW
Learning outcomes
By the end of the course, the student will learn the basic concepts of computer science and how these concepts
apply in the legal domain. The student will also learn how the information and telecommunication (IT)
technologies can be applied in economics, public administration, society and in particular, in legal activities.
Furthermore, the student will also be able to critically assess the social and legal implications of these
applications, and to analyse technologies in the light of the legal evolution both on the national and international
levels. He/she will be also be competent to use technological notions and terms, to keep himself/herself
updated and will be qualified to apply IT technologies to the legal profession.
Information on exams
Assessment:
knowledge on the topics of legal informatics and IT law will be assessed through a final exam.
The written exam will last for 2 hours. No texts and/or codes can be used.
The written exam consists of 8 open questions based on the entire programme of the course. Each question can
be valued up to a maximum of 4 point. The written exam will be passed with a minimum mark of 18 points.
Approximately a week after the exam, we will publish the results on this website (link).
Students obtaining a mark of at least 18 points in the written exam have the following choice:
they can ask that the mark obtained in the written exam is registered as their final mark; or
they can come to the oral exam and ask for an additional question in order to improve their mark. The oral exam
is optional, and may also result in decreasing the mark obtained in the written exam.
In case 1), the student will send an email message to [email protected], including the
following information:
name and surname
student number
date of the written exam
explicit acceptance of the mark as published in the website of the course
Course Contents:
Introduction to legal informatics and IT law
Computers, digital data, algorithms, software
The law of digital goods
Legal information retrieval, databases, electronic legal documents structuring and management
Internet, data protection and privacy
Information networks, the Internet, Semantic Web
Artificial intelligence, legal reasoning and legal decision support systems
Algorithmic decision making and algorithmic justice
CHAPTER 1 Introduction to legal informatics and IT law
WHAT ARE ICT technologies: information and communications technology are a set of methods
and technologies that create information transmission, reception and processing systems.
The adoption of information and communication technologies (ITCs ) is causing the shift towards a
new societal model, the information society, and this shift is also influencing the law, triggering
many changes in various areas (criminal law, copyright, privacy, ect.). In addition, the information
society has impacts on the work of lawyers and legal experts. In fact, this revolution concerns all
types of information, including legal information. IT revolution produces new needs for legal
protection (data protection etc.). Law must act not only nationally but also internationally to
coordinate with other state rights.
INFORMATION TECHNOLOGIES (IT)- FEATURES
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17

Anteprima parziale del testo

Scarica information technology for the law e più Appunti in PDF di Informatica Giuridica solo su Docsity!

INFORMATION TECHNOLOGY FOR THE LAW

Learning outcomes By the end of the course, the student will learn the basic concepts of computer science and how these concepts apply in the legal domain. The student will also learn how the information and telecommunication (IT) technologies can be applied in economics, public administration, society and in particular, in legal activities. Furthermore, the student will also be able to critically assess the social and legal implications of these applications, and to analyse technologies in the light of the legal evolution both on the national and international levels. He/she will be also be competent to use technological notions and terms, to keep himself/herself updated and will be qualified to apply IT technologies to the legal profession. Information on exams Assessment: knowledge on the topics of legal informatics and IT law will be assessed through a final exam. The written exam will last for 2 hours. No texts and/or codes can be used. The written exam consists of 8 open questions based on the entire programme of the course. Each question can be valued up to a maximum of 4 point. The written exam will be passed with a minimum mark of 18 points. Approximately a week after the exam, we will publish the results on this website (link). Students obtaining a mark of at least 18 points in the written exam have the following choice: they can ask that the mark obtained in the written exam is registered as their final mark; or they can come to the oral exam and ask for an additional question in order to improve their mark. The oral exam is optional, and may also result in decreasing the mark obtained in the written exam. In case 1), the student will send an email message to [email protected], including the following information: name and surname student number date of the written exam explicit acceptance of the mark as published in the website of the course Course Contents: Introduction to legal informatics and IT law Computers, digital data, algorithms, software The law of digital goods Legal information retrieval, databases, electronic legal documents structuring and management Internet, data protection and privacy Information networks, the Internet, Semantic Web Artificial intelligence, legal reasoning and legal decision support systems Algorithmic decision making and algorithmic justice CHAPTER 1 Introduction to legal informatics and IT law WHAT ARE ICT technologies: information and communications technology are a set of methods and technologies that create information transmission, reception and processing systems. The adoption of information and communication technologies (ITCs) is causing the shift towards a new societal model, the information society, and this shift is also influencing the law, triggering many changes in various areas (criminal law, copyright, privacy, ect.). In addition, the information society has impacts on the work of lawyers and legal experts. In fact, this revolution concerns all types of information, including legal information. IT revolution produces new needs for legal protection (data protection etc.). Law must act not only nationally but also internationally to coordinate with other state rights. INFORMATION TECHNOLOGIES (IT)- FEATURES

Production of technology by means of information (process input information producing output information); information is their raw material; their effects are pervasive (they affect every aspect of individual and social life) but flexible (they allow to reorganize technological and organizational systems and their connections); they favor interconnection (they connect the technological and organizational systems and the internal components to these systems); and they tend towards converge (they tend to unify in integrated systems, where one technology provides input or support for the use of the other). Information technologies make possible a NEW TYPE OF SOCIAL AND ECONOMIC ORGANIZATION: Network society The success of a company is given by the ability to create and use knowledge + the inclusion of people in social and economic relationships is given by their ability to fit into the various information flows This produces NEW POWER RELATIONSHIPS:

  • Networker: those who contribute to determining the contents and directions of information flows
  • Networked: those who passively access the technological-information infrastructure, performing the function that the infrastructure assigns to them
  • Digital divide: contrast between those who are able to use ICT and those who are unable. Social transformation: agrarian society -> industrial -> information: now production and cultural activities are not influenced or shaped by geographical distances.
  1. FILTER BUBBLE: Pros and cons of ITs [new ability to learn, operate, communicate, globalized social connectors, BUT loss of connection with local group/culture, FILTER BUBBLE – if the access is mediated by systems and platforms like social networks whose algorithms selectively guess what information a user would like to see based on information about the user ( such as location and past click-behaviour and search history). As a result, users become separated from information that contradicts or simply does not reinforce their viewpoints, and in this way they become isolated within in their own cultural or ideological bubbles; etc] 2)New economy: ICT have a fundamental role in forming the so-called NEW ECONOMY. An important aspect of the new economy is E-COMMERCE that is carrying out commercial exchanges using telematics networks. This produces:
  • productive and organizational decentralization
  • severe difficulty in anticipating economic dynamics.
  • dialectic of social inclusion and exclusion.
  • ICT intervention in every sector of public and private activities, inside and outside organizations.
  • invests the back office (internal production and management activities) and the front office (interactions with customers and suppliers). The phenomena of:
  • E-GOVERNANCE (electronic direction): the use of information technologies in the direction, the planning, control of public and private organizations
  • E-GOVERNMENT (electronic government) in the management of public bodies and in the performance of theirs functions.
  • E-DEMOCRACY (electronic democracy) in support of political communication and political debate
  • E-PARTECIPATION (electronic participation) in promoting citizen participation in collective choices.

dominated by the network effect, users tend to be trapped in the technological solution they have adopted. -> Le reti inizialmente crescono lentamente, ma non appena raggiungono il punto critico di massa, le reti crescono molto rapidamente, esponenzialmente, secondo la legge di Metcalfe [valore della rete: n ° utenti²]. Più l'utilità della rete aumenta, più le persone si connettono alla rete, con l'effetto di aumentare ancora di più l'utilità per coloro che sono già connessi e l'utilità prevista per coloro che non sono ancora connessi, e così via. Ad esempio, più un sistema come Windows viene installato e utilizzato su nuovi PC sul mercato, più i produttori di software hanno un incentivo a sviluppare applicazioni compatibili con quel sistema. Più applicazioni sono disponibili, più utenti hanno e incentivi ad adottare questo sistema operativo. È lo stesso per la crescita dell'ecosistema Iphone (IOS) e Android o per l'adozione globale di piattaforme o servizi specifici (negozi online come Amazon e eBay e motori di ricerca come Google). Ciò porta al monopolio orizzontale (gli utenti tendono a convergere su poche soluzioni tecnologiche) e al monopolio verticale (chi domina il mercato di un prodotto cerca di estendere il controllo sui prodotti contigui). Un esempio di questo è la cosiddetta guerra dei browser: Microsoft ha cercato di sfruttare la sua potenza sul mercato per i sistemi operativi (in cui MS Windows era ampiamente dominante) per spingere l'adozione del suo browser - Internet Explorer - che Microsoft ha iniziato a distribuire in un bundle con i sistemi operativi. Al fine di limitare le tendenze monopolistiche, è importante adottare misure a favore dell'interoperabilità del software (ovvero garantire che diverse applicazioni possano lavorare insieme e scambiare dati): ciò significa sostenere l'adozione di formati aperti che possono essere letti da diverse applicazioni dello stesso tipo (ovvero un formato di file che consente lo scambio di documenti tra diversi elaboratori di testi), in modo che gli utenti delle rispettive applicazioni possano facilmente scambiare dati. Inoltre, è importante garantire la disponibilità di informazioni relative al funzionamento delle interfacce software (ovvero i componenti delle applicazioni software che si interfacciano con la parola esterna) in modo che i concorrenti possano sviluppare nuove applicazioni compatibili. Caso Microsoft: secondo la Commissione europea Microsoft ha abusato della sua posizione dominante (A) rifiutando di fornire le informazioni necessarie per l'interoperabilità tra i suoi prodotti e quelli sviluppati da terzi, (B) Rifiutando di autorizzarne l'uso e (C) legando la fornitura del sistema operativo Windows per l'acquisto di WMPlayer. La Commissione europea ha ordinato a Microsoft di pagare una multa di 500 milioni di euro per porre fine a tali pratiche e di fornire a tutti i concorrenti l'accesso alle informazioni necessarie per l'interoperabilità. DOMANDE: Asymmetry of information and its effects Information asymettries and their impact on the IT market Asymmetry of information WHAT IS INFORMATION ASYMMETRY: An important aspect of the IT market is information asymmetry => the difference between the knowledge possessed by those who produce and those of those who consume => so the user does not distinguish a good service from a less good one (adverse selection) and the fact that suppliers are left at the mercy of self-regulation mechanisms (declaration of following the rules), without external controls produce more products poor and risky / illegal practices because those who provide IT products normally know more about these products than their users. This may damage the consumer, but it can also create market distortions. If the consumer cannot distinguish between good and poor quality, poor quality products will tend to prevail because consumers will buy the cheapest products, while sellers of good products will not be able to sell their higher-quality products at a higher price, with a reduction in the average quality of the products in the market. Legal remedies have been introduced by the EU and national law, such as the introduction of responsibility and liability rules for producers of defective products and mandatory information to be provided by the seller to the consumer. The market may be also regulated with non-legal remedies, such as reputation system (as stars earned on eBay) and social knowledge, such as those available on online markets like Amazon and eBay, enabling users to share their reviews and assessments of products and sellers. OTHER TRENDS IN THE IT MARKET - DIVERSIFICATION tendencies Trends in the market: beside the monopolistic tendencies, there are opposite trends: the ‘Long Tail’: reducing the cost of distribution allows sellers to offer a wide range of products (even those for which the demand is low) -> es Amazon Also, all (or nearly all) those who have the skills required can participate in the information economy (widening of the market, open source, peer production.

CHAPTER 2

WHAT IS HARDWARE AND SOFTWARE: The functioning of a computer system results from the combination of two main components: the hardware, namely the set of devices and physical equipment (electronic, mechanical, optical) which process the information and the software, namely the set of computer programs which govern the operation of the computer, identifying the operation to be executed. DOMANDA THE VON NEUMANN ARCHITECTURE WHAT IS THE VON NEUMANN ARCHITECTURE: John von Neumann (a Hungarian- American mathematician and physicist1903-1957) described a new architecture for computers later called the Von Neumann architecture. According to this, a digital computer should consist at least of ( A)a Central Processing Unit (CPU or processor), composed of a Control Unit (CU) and an Arithmetic and Logic Unit (ALU). (B) a central memory (or internal memory) on which to store both instructions and data. (C) and an input and output devices, to communicate with the user or with other computers. COME FUNZIONA: The Control Uni, accessing memory, identifies the instruction in the memory to be executed, and the correlated data, while the Arithmetic and Logic Unit executes the instruction. Data and instructions are extracted from the central memory, where the results of the executions of instructions are also collected. The central memory (internal or main memory) is a read-write, random-access memory RAM. The central memory is usually volatile that is it requires power to retain the stored instructions and data, such that when the power is interrupted, the content is lost), and should be distinguished from mass-storage, or secondary, memory (usually consisting of devices such as SSDs (solid state disks), hard dirks (magnetic disks) or CD-ROMs (optical disks) that can store large quantities of information in non-volatile form. In order to be executed, programs usually need to be copied from the mass memory to the central memory. In this way, the execution of a program usually implies its reproduction, an activity that is regulated by copyright law. The VNA, also called stored-program digital-computer architecture, marked a decisive progress over the program-controlled computers of the 1940s, such as the Colossus (Turing)and the ENIAC (University of Pennsylvania), which could not store programs in their memory. The machine is characterized by the sequential nature of the elaborations ->instructions are executed one at a time, after each instruction we pass to the next. Von Neumann's architecture was adopted in the EDVAC calculator (1952) and became the standard that would inspire the major manufacturers. MOORE’S LAWS The central processing unit (CPU, processor) can be considered as constituted by a complex combination of switches, operated by the computer itself, which change position during the processing, letting the electric current pass or not. Various technologies have been used to make these switches, for example:

  • Thermionic valves used in the first electronic calculators
  • Transistors, that are devices made of semiconductor materials
  • Integrated circuits inserted in a chip, made up of thousands of transistors inserted in a silicon chip. => Great invention in 1971: the first commercial microprocessor chip. Intel C4004.

There is a long and heated debate about P2P systems Reasons against the peer-to-peer system (both technical and legal): P2P networks make large data transfers possible, so file-sharing can produce overload of computer networks; P2P networks, and file-sharing ones in particular, are very often used to illegally share content protected by intellectual property law ( such as music, newspapers, comics, books, movies, and software). So, peer to peer system are often used to illegally share contents protected by intellectual property rights. For these reasons, some internet access providers have started to block or limit peer to peer traffic -> in the last years, several legal cases have been related to the use of file-sharing systems, concerning in particular the illegal sharing of copyright materials. Judicial cases:

  • Napster case is closed due to repeated copyright infringement in 2001
  • Peppermint case -> case of violation of privacy 2006
  • Pirate Bay case Cass Judgment Cass n.49437 / 2009 blocking access from Italy to the Swedish site
  • MegaUpload case -> seized by the US justice department for copyright and piracy infringement CLOUD COMPUTING: computer resources available online. It is a new evolution in computer networks emerged around the 2000s. According to this model, large groups of online servers are networked to provide access to software, data, services, and platforms. The cloud of a supplier is the result of the activity of numerous connected data centers, each of which can consist of hundreds or thousands of computers. Eg Google Drive. The individual user does not use hardware and software resources on the PC, but rather accesses online resources (the cloud) provided by the network or servers. Cloud users can buy:
  • Memory spaces -> you acquire the availability of a certain amount of disk space in which to record your data
  • Virtual computers -> to be used for their own elaborations, in which they will be able to place the data and software they need. Examples of cloud computing systems those providing the cloud services offered by Google, Apple, Microsoft, and Amazon, all offering a wide range of services (email, file storing, online applications, etc.). The advantages of this model are: A-COSTS: that users do not have to buy, maintain, and update expensive hardware and software (from proprietary model on which the user pays to buy the technology, to a utility model on which the user pays for access to services provided by the cloud). Ù B- EFFICIENCY AND FLEXIBILITY- the cloud provides resources to users in such a way as to automatically adjust to their needs and C- BACKUP AND SECURITY: servers usually provide better backup and security than individual computers. However, cloud computing also comes with its own risks and downside: -A- OLIGOPOLY: the cloud-computing market is controlled by a few large enterprises with the resources to provide the required functionalities. B- PRIVACY AND DATA PROTECTION: the gathering of enormous quantities of information on a small number of servers creates new risks (e.g. hackers attacking the cloud service) that cannot be easily prevented by users. C- USER’S LOSS OF CONTROL OVER THE SYSTEM: those who manage the cloud (google, amazon etc..) have complete control and power, which could in theory be used against users, limiting their freedom and limiting creativity on the internet for example limiting a specific software or function.

SO:

Pros: costs, efficiency, flexibility, backup functionalities, security – from property to utility model Cons: oligopoly, privacy and data protection, loss of control on the system by the user In conclusion: computers are digital (because they elaborate infos expressed in binary numbers), electronic, programmable (they operate following instructions contained in computer programs, which express algorithms in a language comprehensible to the machine) and universal (all-purpose machines). Computers are digital: they elaborate information expressed as numbers, and in particular, binary numbers. Computers are electronic: they use the behaviour of electrons, atom particles that are transported on electronic circuits and create magnetic fields. Computers are programmable: they operate following instructions contained in computer programs, which express algorithms in a language comprehensible to the machine. Computers are universal, that is any computer is capable of executing any algorithm (if we exclude time and memory limits). COMPARISON BETWEEN DIGITAL V. ANALOGICAL REPRESENTATION: Our time is characterized by the transition from analog to digital. Digital representation is a way to process information (such as sound, video, text, etc) through the use of numbers. Modern computers are digital, and in particular they process information expressed in the form of binary numbers. Nowadays we are observing the shift from analogical to digital representation. As for the representation of sound, for example, in the analogical recording, different vibrations of the sound wave have been transformed into analogous fluctuation of magnetic waves on the tape. When the track is played, magnetic waves will be transformed into analogous sound waves. Moreover, the recorded track will be continuous, meaning without interruptions or steps. Conversely, the CD recorder, through the digital representation, will express the sound in the form of numbers. When the track is played, the computer will re-transform these numbers into the original sound. Digital recording therefore implies digitizing, meaning transforming continuous quantities (sound) into digital quantities (numbers). These quantities may be represented by decimal numbers or even by binary numbers. The digital representation has several advantages over the analogical representations: -It can be reproduced with absolute precision (each copy is absolutely identical to the original, instead, any new reproduction of an analogical representation involves a partial loss of the original information). -It cannot be damaged by time: In the digital representation, it is sufficient to reproduce the binary numbers to have a perfect copy of the original and there are techniques for identifying errors in digital reproduction and remedying them. -It can be directly processed by computers: digital representation and automatic processing are complementary. THE BINARY SYSTEM: modern computer systems use the binary system for all their activities. The idea of using a binary number system was initially developed by Leibniz in 1679. Computers adopt the binary system (and not the decimal one) because it is easier to develop electrical hardware components that work with only two alternative states (on or off, represented by 1 and 0). The binary system is a positional system, meaning the value of each digit depends on its position. In particular, every position represents a power of 2 (conversely, in the decimal system, every position represents a power of 10): digit x in position n (starting from the right and counting from 0), takes the value x*2n. Modern computers use the binary system to store information (data + instruction) in memory and process it.

answer, or it finds one that does not solve the problem. So, an algorithm is incorrect when it produces the wrong output, or it does not produce an output at all. There are automatic techniques that can detect some algorithmic errors but there is no algorithm that can guarantee the detection of any error in any program. Correctnessan ->algorithm is said to be correct when it arrives at the solution of the task to which it is assigned without failing in any fundamental step. Efficiency -> an algorithm is said to be efficient if it reaches the solution as quickly as possible and using the minimal amount of physical resources. EFFICIENCY AND COMPUTATIONAL COMPLEXITY: efficiency of algorithms is measured by their computational complexity (level of complexity), namely the relationship between:

  • Space, that is the amount of memory occupied by the input (the size of the input)
  • Time, that is how many CPU turns does the computer (the time required for the execution of the process). In algorithms having low computational complexity, the increase of the input leads to a less than proportional increase of the time required by the process. In algorithms having an average computational complexity, the increase of the input results in a proportional increase of the time required by the process. In algorithms having high computational complexity, the increase of the input leads to a more than proportional increase of the time required by the process. Moreover, there are algorithms with exponential complexity: as the amplitude of the input increases, the execution process is stretches and does it with ever greater acceleration. The algorithms in question therefore become intractable. Intractable because given a large number there are no algorithms capable of determining their factors with acceptable efficiency. On this basis is thought the asymmetric key cryptographic mechanism used to guarantee the authenticity and secrecy of communications. RELATION BETWEEN SOURCE CODE V. OBJECT CODE What language must be used for the calculator to understand the algorithm? When the executor is a calculator, the algorithm must be expressed in a computer program, that is a text, that is, a sequence of words, composed of alphabetic and numeric characters. The software includes:
  • Source code is written by the programmer and readable by the same.
  • Object code (executable) resulting from the automatic translation of the source code into a text executable by the machine but no longer comprehensible to humans.
  • Documentation, ancillary indications to facilitate human understanding and evaluation. So, the source code then must be translated into machine language (object code) to be executed by the hardware. Today, the two ways to do that are interpretation and compilation. At the beginning of computer science, it was possible to program directly in the machine language: programs consisted of only atomic instructions specific to the computer. The language was therefore understandable and executable by the computer. It consisted of instructions executable by the hardware expressed in binary code. It is hardware dependent (can only be used on one computer). Difficult to understand for man. The next step was to create high-level languages -> allow man to express the instructions for the processing to be carried out synthetically and allow the computer to translate these instructions into combinations of instructions in its machine language by means of an interpreter or compiler.

A high-level language written program cannot be run directly from the hardware and it is independent of the machine. To translate it there are two techniques: -Compilation -> the source code (formulated in high level language) is transformed into object or executable code (formulated in machine language) and this is saved in the memory. To modify or in any case fully understand the software it is necessary to go back to the source code every time. Advantage ->higher execution speed + possibility of separating the source code from the object code being distributed. The computer executes the object code and the source code is not needed anymore after the first translation. The programmer can distribute the object code obtained by compilation without releasing the source code. In this way, it will be much more difficult for competitors to copy the idea and algorithms contained into the program since they cannot have access to the human readable version. -Interpretation -> the source code is translated into machine language instruction for instruction together with the execution of each instruction. There is no permanent translation of the source code into the object code. Advantage -> program modification speed + work on any type of calculator thanks to the independence of high-level languages because through this process, instructions are translated and immediately executed and when a user needs to execute the program again, he instructs the computer to start over with its interpretation of the source code. CHAPTER 4 OPEN SOURCE SOFTWARE: OPEN SOURCE MODEL is an alternative model and It was born with the work of Richard Stallman. The aim is to guarantee to the user, alone or in collaboration with others, the 4 fundamental freedoms(all granted and protected by GPL licence):

  • Freedom 0 - freedom to run the program for any purpose
  • Freedom 1 - freedom to study how the program works and adapt it to your needs
  • Freedom 2 - freedom to redistribute copies to help others
  • Freedom 3 - freedom to improve the program and publicly distribute the improvements so that the whole community benefits. So, it is a model based on the idea of enabling users/licensees to access the software’s source code for technical, economic or commercial reasons, rather than excluding them, as usually happens under the proprietary model of software protection. The proprietary model is based on the principle according to which computer programs should be protected by copyright, whereas the hardware that uses computer or computer software related inventions should be protected by patent. Without such copyright protection, nobody would put an effort into developing new software, because it would be impossible to obtain any profit from it. However, the main issues are that the use of software is limited to those who can afford the price (loss of efficiency for the whole community). The open source movement idea is that giving access to the source code will make easier, more efficient and quicker the process of developing and improving the software. Many software companies are now promoting this movement and are also releasing software using one of the open source licences. GPL LICENCE: The General Public License provides for an authorization that invalidates the exclusive rights of the owner, irrevocably conferring the 4 freedoms on the licensee and subsequent subjects to whom a copy of the sw is transferred. The aim is also to protect the

secure “medium” for e-governance and e-commerce. So, any change in the document taking place after the document is signed will invalidate the signature and a person who has signed a document cannot at a later time deny having signed it. In contrast to the hand-written signature, a digital signature is not attached physically to the signed document and can be verified using a publicly known verification algorithm, whereas to verify the authenticity of a hand-written signature is necessary a comparison to the authentic signature. Digital signature requires the use of a pair of keys. The private key is known only by the owner and should be kept secret. It may be stored with different systems such as smart cards, pin protected soft token, hardware token. Through the latter, for example, key is dynamically generated inside the token and it is the most commonly used system as it doesn’t need a special reader. The two main steps in the process to obtain a digital signature are the creation of a digitally signed document, operated by the sender of the of the message and the verification or validation of the digital signature, operated by the recipient of the message. Using the hash function, the sender generates a hash code from the document (the hash is a short fixed-length value or key that represents the original text or message; it is generated by a mathematical function that takes the complete text message as input and produces as output a fixed size value, which is always dependant on the message). Then, the hash is encrypted using the sender’s private key, producing the digital signature of the source document. Finally, the document (non-encrypted) and the encrypted hash are sent to the recipient. In the second part of the process, the recipient receives the digitally signed document and, using the hash function, the recipient generates a new hash code from the source document. Finally, the hash originally encrypted by the sender is decrypted by the recipient using the sender’s public key. SO IT IS: Based on asymmetric cryptography Used to provides Authenticity and Integrity to electronic documents Used to avoid possible repudiations of electronic documents Used on the Web as a safe and secure “medium” for e-governance and e-commerce AND: Authentication: Digital signatures can be used to authenticate the source of documents Integrity: any change in the document taking place after the document is signed will invalidate the signature Non- repudiation: A person who has signed a document cannot at a later time deny to have signed it MOREOVER: Digital signature / hand-written signature A digital signature is not attached physically to the signed document / attached physically A digital signature can be verified using a publicly known verification algorithm / by comparing it to the authentic signature Digital signature: the 2 main steps in the process CREATION: uses a hash result derived from and unique to both the signed message and a given private key. The hash code result is secure, because there is only a negligible possibility that the same digital signature could be created by the combination of any other message or private key Verification or validation: is the process of checking the digital signature by reference to the original message and a given public key, thereby determining whether the digital signature was created for that same message using the private key that corresponds to the referenced public key

CRYPTOGRAPHY:

is the process of encoding a readable text in a unreadable text (encrypted text) so that only authorized parties can decrypt the text and read it Used for confidentiality reasons Can also be used to verify integrity and authenticity of documents ( digital signature) Principali passaggi della firma digitale FIRMA DIGITALE: si basa sulla crittografia asimmetrica (un sistema che utilizza due chiavi correlate, pubblica e privata, anziché la stessa chiave per crittografare e decrittografare i messaggi). La firma digitale garantisce, nel mondo digitale e nell'applicazione web, le stesse funzioni coperte dalla tradizionale firma scritta a mano: fornire autenticità e integrità ai documenti elettronici. Viene anche utilizzato per evitare possibili ripudi a documenti elettronici e sul Web come "mezzo" sicuro per l'e-governance e l'e-commerce. Pertanto, qualsiasi modifica al documento in atto dopo la firma del documento invaliderà la firma e una persona che ha firmato un documento non potrà in seguito negare di averlo firmato. Contrariamente alla firma scritta a mano, una firma digitale non è allegata fisicamente al documento firmato e può essere verificata utilizzando un algoritmo di verifica noto pubblicamente, mentre per verificare l'autenticità di una firma scritta a mano è necessario un confronto con la firma autentica. La firma digitale richiede l'uso di una coppia di chiavi. La chiave privata è nota solo al proprietario e deve essere tenuta segreta. Può essere memorizzato con diversi sistemi come smart card, token soft protetto da pin, token hardware. Attraverso quest'ultimo, ad esempio, la chiave viene generata dinamicamente all'interno del token ed è il sistema più comunemente usato in quanto non necessita di un lettore speciale. Le due fasi principali del processo per ottenere una firma digitale sono la creazione di un documento con firma digitale, gestito dal mittente del messaggio e la verifica o convalida della firma digitale, gestita dal destinatario del messaggio. Utilizzando la funzione hash, il mittente genera un codice hash dal documento (l'hash è un valore o chiave a lunghezza fissa breve che rappresenta il testo o il messaggio originale; è generato da una funzione matematica che accetta il messaggio di testo completo come input e produce come output un valore di dimensione fissa, che dipende sempre dal messaggio). Quindi, l'hash viene crittografato utilizzando la chiave privata del mittente, producendo la firma digitale del documento di origine. Infine, il documento (non crittografato) e l'hash crittografato vengono inviati al destinatario. Nella seconda parte del processo, il destinatario riceve il documento con firma digitale e, utilizzando la funzione hash, il destinatario genera un nuovo codice hash dal documento di origine. Infine, l'hash crittografato originariamente dal mittente viene decrittografato dal destinatario utilizzando la chiave pubblica del mittente. COSÌ È: Basato su crittografia asimmetrica Utilizzato per fornire autenticità e integrità ai documenti elettronici Utilizzato per evitare possibili ripudio di documenti elettronici Utilizzato sul Web come "mezzo" sicuro per l'e-governance e l'e-commerce E: Autenticazione: le firme digitali possono essere utilizzate per autenticare l'origine dei documenti Integrità: qualsiasi modifica del documento in atto dopo la firma del documento invaliderà la firma Non ripudio: una persona che ha firmato un documento non può in un secondo momento negare di averlo firmato INOLTRE: Firma digitale / firma scritta a mano Una firma digitale non è allegata fisicamente al documento firmato / allegata fisicamente Una firma digitale può essere verificata utilizzando un algoritmo di verifica noto pubblicamente / confrontandolo con la firma autentica Firma digitale: i 2 passaggi principali del processo CREAZIONE: utilizza un risultato hash derivato e unico sia per il messaggio firmato che per una determinata chiave privata. Il risultato del codice hash è sicuro, poiché esiste solo una trascurabile possibilità che la stessa firma digitale possa essere creata dalla combinazione di qualsiasi altro messaggio o chiave privata Verifica o convalida:

trattamento dovrebbero essere limitate a scopi specifici e limitati a quanto strettamente necessario in in relazione a tali scopi. In effetti, l'intero regolamento si basa sul presupposto che il trattamento dei dati personali sia un'attività pericolosa. Il trattamento è lecito solo se e nella misura in cui l'interessato ha dato il consenso al trattamento dei propri dati personali per uno o più scopi specifici o l'elaborazione è necessaria ai fini degli interessi legittimi perseguiti dal responsabile del trattamento o da parte di terzi, tranne quando tali interessi sono sostituiti dagli interessi dei diritti e delle libertà fondamentali dell'interessato che richiedono la protezione dei dati personali, in particolare se l'interessato è un minore. Arte. 17 afferma il diritto all'oblio. SITUAZIONE IN ITALIA IN RELAZIONE AL LIBRO NUOVE TECNOLOGIE E DIRITTI UMANI CHAPTER 7 PACKET-SWITCHED NETWORK V. CIRCUIT-SWITCHED NETWORK: in a packet-switched network, the message to be transmitted from a node to another node is firstly broken in smaller pieces, called packets. Then, packets are routed across a network path, that can be modified as needed during the transmission (for example, if the selected path experiences a congestion, the next packets may be routed through a new, different path). When packets reach the recipient node, they are reassembled in the correct order to form the original message. Conversely, in a circuit- switched network, that is the technology at the basis of computer networks before the development of ARPANET, messages are sent without being split, and can follow only a fixed network path. This means that in case of communication problems along the line, or in case of congestion, there are no ways to reroute the transmission on a different path. Besides, in a packets-switched network, if a line is busy transmitting a message, it cannot be used for any other task until the transmission is completed. Moreover, in a circuit-switched network, if part of the transmission is lost or incorrectly received, then the entire message must be retransmitted. Instead, in a packet switched networks, if some packets are lost or incorrectly received, the recipient node may ask the sender to retransmit the missing or incorrect packet. In order to reassembled to form the original message, packets need to carry with them additional information concerning the recipient, the sender, and also the position of each single packet in relation to the original message. On internet, packets are also called “datagrams” and are built according to shared protocols, which are an evolution of those developed for ARPANET. RETE DI COMMUTAZIONE DI PACCHETTI V. RETE DI COMMUTAZIONE DI CIRCUITO: in una rete di commutazione di pacchetti, il messaggio da trasmettere da un nodo a un altro nodo viene inizialmente spezzato in pezzi più piccoli, chiamati pacchetti. Quindi, i pacchetti vengono instradati attraverso un percorso di rete, che può essere modificato secondo necessità durante la trasmissione (ad esempio, se il percorso selezionato subisce una congestione, i pacchetti successivi possono essere instradati attraverso un nuovo percorso diverso). Quando i pacchetti raggiungono il nodo destinatario, vengono riassemblati nell'ordine corretto per formare il messaggio originale. Al contrario, in una rete a commutazione di circuito, ovvero la tecnologia alla base delle reti di computer prima dello sviluppo di ARPANET, i messaggi vengono inviati senza essere divisi e possono seguire solo un percorso di rete fisso. Ciò significa che in caso di problemi di comunicazione lungo la linea, o in caso di congestione, non ci sono modi per reindirizzare la trasmissione su un percorso diverso. Inoltre, in una rete a commutazione di pacchetto, se una linea è occupata a trasmettere un messaggio, non può essere utilizzata per nessun altro compito fino al completamento della trasmissione. Inoltre, in una rete a commutazione di circuito, se parte della trasmissione viene persa o ricevuta in modo errato, l'intero messaggio deve essere ritrasmesso. Invece, in una rete a commutazione di pacchetto, se alcuni pacchetti vengono persi o ricevuti in modo errato, il nodo destinatario potrebbe chiedere al mittente di ritrasmettere il pacchetto mancante o errato. Per essere riassemblati in modo da formare il messaggio originale, i pacchetti devono contenere informazioni aggiuntive riguardanti il destinatario, il mittente e anche la posizione di ogni singolo pacchetto rispetto al messaggio originale. Su internet, i pacchetti sono anche chiamati "datagrammi" e sono costruiti secondo protocolli condivisi, che sono un'evoluzione di quelli sviluppati per ARPANET.

Main internet protocols INTERNET PROTOCOLS: during the 1970, some internet protocols were defined and collectively called TCP-IP. The TCP protocol (Transmission Control Protocol), regulates the exchange, namely the transmission and reception, of packets; the IP protocol (Internet Protocol) manages the addressing of packets in the network. The message to be sent will consist of a set of encapsulated envelops (or layers). External envelops are abstracted from their underlying envelops’ content. In particular, in order to send to the right destination a message, it is sufficient to read the address on the IP envelope, without inspecting the content. The IP protocol defines the technical rules according to which addresses are created and assigned to computer. As a result, each computer will be identified by a unique 32-digit binary number, called IP number. Because of the assignment of unique IP numbers, it will be always possible to identify the address from which a particular activity has been originated. This may also allow the identification of the person that carried out such action, and the recording of all details concerning such activity. In 1980s many previously existing networks started to adopt the TCP-IP protocol, and to connect themselves to internet, thanks also to the deployment of a high-speed backbone provided by NSFNET. Principali protocolli Internet PROTOCOLLI INTERNET: nel corso del 1970 alcuni protocolli Internet furono definiti e collettivamente chiamati TCP-IP. Il protocollo TCP (Transmission Control Protocol), regola lo scambio, vale a dire la trasmissione e la ricezione, di pacchetti; il protocollo IP (Internet Protocol) gestisce l'indirizzamento dei pacchetti nella rete. Il messaggio da inviare sarà costituito da un insieme di buste (o livelli) incapsulate. Le buste esterne vengono sottratte dal contenuto delle buste sottostanti. In particolare, per inviare un messaggio alla destinazione corretta, è sufficiente leggere l'indirizzo sulla busta IP, senza ispezionarne il contenuto. Il protocollo IP definisce le regole tecniche in base alle quali gli indirizzi vengono creati e assegnati al computer. Di conseguenza, ogni computer verrà identificato da un numero binario univoco di 32 cifre, chiamato numero IP. A causa dell'assegnazione di numeri IP univoci, sarà sempre possibile identificare l'indirizzo da cui è stata originata una determinata attività. Ciò può anche consentire l'identificazione della persona che ha effettuato tale azione e la registrazione di tutti i dettagli relativi a tale attività. Negli anni '80 molte reti precedentemente esistenti iniziarono ad adottare il protocollo TCP-IP e a connettersi a Internet, grazie anche all'implementazione di un backbone ad alta velocità fornito da NSFNET. DNS: the Domain Name System is a system through which, instead of addressing computers by means of IP numbers, nodes may rather use a structured combination of words. A domain name is created combining several words separated by dots. The analysis of the name starts from the end. The last word is the suffix representing the nationality of the body/entity/enterprise owning the name. Then, there are one or more word that identify the body or one of its offices. When the domain name contains all the information, that is when it specifies the exact location of the node, including all domain levels, it is called a fully qualified domain name. So the Domain Name System is a special infrastructure of computers within Internet, which automatically translates Domain Names in IP numbers. Thanks to DNS, users are not limited to refer to IP address in order to connect to other computers, but they can rather make the use of the Domain Names. DNS: il Domain Name System è un sistema attraverso il quale, invece di indirizzare i computer tramite numeri IP, i nodi possono piuttosto utilizzare una combinazione strutturata di parole. Viene creato un nome di dominio che combina diverse parole separate da punti. L'analisi del nome inizia dalla fine. L'ultima parola è il suffisso che rappresenta la nazionalità dell'ente / entità / impresa che possiede il nome. Quindi, ci sono una o più parole che identificano il corpo o uno dei suoi uffici. Quando il nome di dominio contiene tutte le informazioni, ovvero quando specifica la posizione esatta del nodo, inclusi tutti i livelli di dominio, viene chiamato un nome di dominio completo. Quindi il Domain Name System è una speciale infrastruttura di computer all'interno di Internet, che traduce automaticamente i nomi di dominio in numeri IP. Grazie a DNS, gli utenti non si limitano a fare riferimento all'indirizzo IP per connettersi ad altri computer, ma possono piuttosto utilizzare i nomi di dominio.

SEMANTIC WEB: according to Tim Berners-Lee, the Semantic Web is an extension of the current web in which information is given well-defined meaning, better enabling computers and people to work in cooperation. In the Semantic web, information will be correlated with machines-readable descriptions of its meaning, allowing information system to reason about information in a more efficient way. Currently the vision of the semantic web is still not completely realized, because of the effort required to carry out the semantic annotation of all information available on the web. Developments of the semantic web - technique of research and elaboration of the information available on the net on the basis of their meaning. XML is the main tool for the creation of the semantic Web. In order to ensure that the meaning of the data available on the internet is indicated precisely, so that that data can be processed automatically and in accordance with their meaning. COOKIE: sono insiemi di dati inviati dal server e memorizzati (dal browser) in un file locale nel computer dell'utente, in modo diverso dai registri del server, che sono memorizzati sui server. Quando un computer si collega a un sito Web per la prima volta, il sito Web invia il cookie, contenente un codice che identifica il sito Web di origine, l'identificazione dell'ultima sessione, gli attributi "dominio" e "percorso", che indicano al browser del computer quale sito Web il cookie appartiene. Quando il browser si connetterà al server per la seconda volta, invierà il cookie al sito Web. In questo modo, il sito Web sarà in grado di riconoscere il browser (e il computer) per la connessione precedente. L'adozione dell'utilizzo dei cookie è stata una soluzione tecnica per risolvere un problema. In effetti, in caso di assegnazione dinamica degli indirizzi IP, ciò influirebbe sulla possibilità di tracciare la cronologia completa delle interazioni tra un computer specifico e un server specifico. Ciò può accadere, ad esempio, per informazioni di accesso o siti Web commerciali. Esistono due tipi di cookie: tecnici e di profilazione. I cookie tecnici sono utilizzati esclusivamente al fine di effettuare la trasmissione di una comunicazione su una rete di comunicazione elettronica, o nella misura in cui ciò è strettamente necessario per la fornitura del servizio. Questo è il caso del cookie che raccoglie una preferenza di lingua su un sito Web. Per questo tipo di cookie non è necessario il consenso preventivo, ma è necessario fornire informazioni. Cookie di profilazione finalizzati alla creazione di profili utente. Sono utilizzati per inviare messaggi pubblicitari in linea con le preferenze mostrate dall'utente durante la navigazione. Questo è il caso, ad esempio, della registrazione delle preferenze dei libri per visualizzare sullo schermo i messaggi pubblicitari correlati. A causa della loro natura altamente invasiva, la legislazione italiana ed europea richiede che gli utenti siano adeguatamente informati sul loro uso in modo da dare il loro consenso valido. In particolare, i gestori di siti Web dovrebbero assicurarsi che un banner di dimensioni adeguate sia visualizzato sullo schermo immediatamente dopo che un utente accede alla home page e che tale banner contenga un link cliccabile all'informativa estesa, dove devono essere disponibili informazioni aggiuntive. SEMANTIC WEB: secondo Tim Berners-Lee, il Semantic Web è un'estensione del web attuale in cui le informazioni hanno un significato ben definito, consentendo ai computer e alle persone di lavorare in cooperazione. Nel web semantico, le informazioni saranno correlate a descrizioni leggibili da una macchina del loro significato, consentendo al sistema informativo di ragionare sulle informazioni in modo più efficiente. Attualmente la visione del web semantico non è ancora completamente realizzata, a causa dello sforzo richiesto per realizzare l'annotazione semantica di tutte le informazioni disponibili sul web. CHAPTER 8 TURING TEST: according to Turing test, a human interrogates a person and a computer with written questions. The human interrogator cannot see the person and the computer since they are all in separated rooms. Both the person and the computer provide answers using a terminal. In giving the answers, the computer pretends to be a person. The computer passes the Turing test, and therefore should be considered intelligent, if a human interrogator cannot tell whether the written responses come from a person or from a computer.

JOHN SEARLE AND THE CHINESE ROOM: Searle imagines himself alone in a room following a computer program for responding to Chinese character slipped under the door. Searle understands nothing of Chinese, but following a book containing a set of rules for manipulating symbols and numerals, he produces appropriate strings of Chinese characters that fool those outsides into thinking there is a Chinese speaker in the room. Like Searle appears to understand Chinese but he does not, in the same way programming a digital computer may make it appear to understand language but does not produce real understanding. Hence, running the appropriate program us not a sufficient condition for being intelligent, and therefore the Turing test in inadequate. APPENDIX A COPYRIGHT PROTECTION: in the Italian legal system, the law “Protection of copyright and neighbouring rights” regulates the protection of works of mind and art. 1 includes computer programs in the protection, assimilating it to literary works. Moreover, authors have the exclusive rights to the economic utilization of the work in any form or manner. They are called “exclusive” because the author can exclude everyone else from economic utilisation of his work. Works protected are both derivative, collective and joint. TEST DI TURING: secondo il test di Turing, un essere umano interroga una persona e un computer con domande scritte. L'interrogatore umano non può vedere la persona e il computer poiché sono tutti in stanze separate. Sia la persona che il computer forniscono risposte utilizzando un terminale. Nel dare le risposte, il computer finge di essere una persona. Il computer supera il test di Turing e pertanto dovrebbe essere considerato intelligente se un interrogatore umano non è in grado di dire se le risposte scritte provengono da una persona o da un computer. JOHN SEARLE E LA CAMERA CINESE: Searle si immagina solo in una stanza seguendo un programma per computer per rispondere al carattere cinese scivolato sotto la porta. Searle non capisce nulla di cinese, ma seguendo un libro contenente una serie di regole per manipolare simboli e numeri, produce stringhe appropriate di caratteri cinesi che ingannano quegli esterni nel pensare che nella stanza ci sia un oratore cinese. Come Searle sembra capire il cinese ma non lo fa, allo stesso modo la programmazione di un computer digitale può far sembrare che comprenda la lingua ma non produce una vera comprensione. Quindi, eseguire il programma appropriato non è una condizione sufficiente per essere intelligenti, e quindi il test di Turing è inadeguato. APPENDICE A COPYRIGHT PROTECTION: nell'ordinamento italiano, la legge “Tutela del diritto d'autore e dei diritti dei vicini” regola la protezione delle opere d'arte e dell'arte. 1 include i programmi per computer nella protezione, assimilandolo a opere letterarie. Inoltre, gli autori hanno i diritti esclusivi sull'utilizzo economico dell'opera in qualsiasi forma o modo. Sono chiamati "esclusivi" perché l'autore può escludere chiunque altro dall'utilizzo economico delle sue opere. Le opere protette sono sia derivate, collettive che congiunte. APPENDIX B 0 Internet providers immune to liability according to EU regulation US REGULATION Ecommerce directive (provider's liability) Provider's liability in the eCommerce Directive (which kind of provider it protects and to what extent PROVIDERS LIABILITY IN US AND EU