



Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!




Short questions (no more than 5 lines per question)
parity equal to Alice’s choice then Alice wins; otherwise Bob wins. a. Dicuss the robustness of the protocol with respect to possible misbehaviour of Bob Bob could have 2 different function for two different values ( valOdd and ValEven ) such that f(oddVal)=f’(evenVal). b. Improve the protocol in order to make it fair (i.e. there is no possibility for Alice and Bob to cheat So to improve that, instead of using an encoding function, we use crypto Hash function. Function, cause it’s harder to find collision. Hash and number are both communicated. So the receiver can check what the adversary had chosen. Authentication 1.Present an authentication scheme between two users Alice and Bob that share a weak password that at the same time allows to define a session key as proposed in the algorithm by Diffie and Hellman. SPEKE,to avoid man in the middle, share weak password W and exchange Wamodp function. B replies Wbmodp, in so doing then we have Wabmodp
IPSec
Access control a. Briefly explain the main difficulties/problems in the realization of an access control policy (10 lines).
Un access control serve per garantire che operazioni su alcuni oggetti vengano fatte solo da chi ne ha diritto. Esistono diversi tipi di Access Control. In base ai problemi da risolvere si sceglie un access control diverso. Se per esempio abbiamo bisogno che gli accesi siano regolati dagli utenti usiamo un DAC, altrimenti un MAC. Ogni access control si basa su soggetti e oggetti. In un DAC i soggetti possono garantire permessi ad altri soggetti a loro discrezione. Questo da problemi di Trojan Horse. MAC invece da accesso sfruttando regole tra classi di soggetti e oggetti. Tramite delle regole ( per esempio quelle di bell-lapadula, no read up, no write down), possiamo impedire attacchi di tipo trojan horse. In MAC però un soggetto non può dare permessi ad altri utenti per esempio. b. Doctors and volunteers have login accounts to the patient record system of a city. It is desired to implement these policies: (i) a doctor has access to the records (read/write) of all the patients who are assigned to him/her, (ii) a voluteer is assigned periodically to a district, covering one or more patient addresses. She/he is assigned to at most one district at a time. At any given time, she/ he has access to the records (only read) of all the patients currently in her district. Discuss which access control method is more suitable for this case and discuss how to implement these policies, focusing particularly on the suitability of capability lists and access control lists for each one. Usiamo una role based access control. Un dottore può accedere direttamente ai dati del paziente… Ricordarsi disegnino di spaccamela