



























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




























Lecture 15 Security of Web Application Fatima Bashir Lecturer Computer Science Department
protecting websites and online services against different security threats that exploit vulnerabilities in an application’s code. Common targets for web application attacks are content management systems (e.g., WordPress), database administration tools
Confidentiality
exchanged between a customer and a provider cannot be read by a third party.
confidential message exchange over insecure communication channels.
of private channels or a virtual private network (VPN).
Non-repudiation
cannot deny something. Typically, nonrepudiation refers to the ability to ensure that a party to a contract or a communication cannot deny the authenticity of their signature on a document or the sending of a message that they originated.
Authentication
identity of a person or general subject (which could also be another application invoking a service on behalf of a human user). Authentication often takes place through a login/password mechanism
Availability
is of economic relevance, as service downtime typically implies financial losses.
Privacy
like personal information, e.g., contact data or credit card numbers, but also files stored on the local file system.
unauthorized third parties which might misuse it
Symmetric Cryptography
message uses the same key to compute the plain text from the cipher text as the sender used to encrypt it.
Symmetric Cryptography 14 Only these two parties (sender and recipient) can read and access the data. This is why it’s also sometimes called secret key encryption, secret key cryptography, private key cryptography, symmetric cryptography and symmetric key encryption
Asymmetric Cryptography
key cryptography. It uses public and private keys to encrypt and decrypt data. One key in the pair which can be shared with everyone is called the public key. The other key in the pair which is kept secret and is only known by the owner is called the private key. Either of the keys can be used to encrypt a message; the opposite key from the one used to encrypt the message is used for decryption. 16
Asymmetric Cryptography
Ex-public key of A is 7, this information is known to everyone. Private key – Key which is only known to the person who's private key it is. 17
Ceaser Cipher 19
Decryption Decryption=(C-k) Mod 26 Key = Cipher Text= wehdwb lpsrvvleoh w= =(22-3) mod 26 =19 / 19 / 26 =0.73 => 19-0 * 26 = 19 19 = t U= =(20-3) mod 26 =17 / 17/26 =0.65 => 17- 0* 26= 17=r 20