-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3336c40
commit c0dddbe
Showing
488 changed files
with
1,821 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
layout: default | ||
permalink: /lectures/6/review/ | ||
--- | ||
|
||
- What is the same-origin policy? When is it violated? How does the browser handle such a violation? | ||
- What is an iframe? How does it work? How is it related to the same-origin policy? | ||
- What is JSON with padding (JSON-P)? How does it work? How is it related to the same-origin policy? | ||
- What is cross-origin resource sharing (CORS)? How does it work? How is it related to the same-origin policy? | ||
|
||
- What is an insufficient transport layer protection? Why is it bad? | ||
- What is HTTPS? What does it provide terms of security? | ||
- What is a certificate? What does it contain? Who generates this certificate? Who uses it? | ||
- What does it mean when the browser says that the website is secure (green lock)? | ||
- What does it mean when the browser says that the website is not secure (red cross)? | ||
|
||
- What is a mixed-content vulnerability? Why is it bad? | ||
- How can it be mitigated? | ||
|
||
- What is an SQL injection vulnerability (SQLi)? What could be the consequences if such a vulnerability is exploited? | ||
- How can SQLi vulnerabilities be mitigated? | ||
- Is using a NoSQL database a good way to mitigate SQL injection vulnerabilities? | ||
|
||
- What is a content spoofing vulnerability (CSRF)? What could be the consequences if such a vulnerability is exploited? | ||
- How can content spoofing vulnerabilities be mitigated? | ||
|
||
- What is a cross-site scripting vulnerability (XSS)? What could be the consequences if such a vulnerability is exploited? | ||
- How can XSS vulnerabilities be mitigated? | ||
|
||
- What is a cross-site request forgery vulnerability (CSRF)? What could be the consequences if such a vulnerability is exploited? | ||
- How can CSRF vulnerabilities be mitigated? | ||
|
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...ity/assets/07B22FF4-A71E-4AF8-A085-B17E20F50E0E/07B22FF4-A71E-4AF8-A085-B17E20F50E0E.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"assets":{"17A73866B4E37663B4D65DE234033623":{"type":"texture","index":1,"url":{"native":"assets\/07B22FF4-A71E-4AF8-A085-B17E20F50E0E.pdf"},"width":1024,"height":768},"77B60505B668E0640EA96ACFEFDDA30E":{"type":"texture","index":0,"url":{"native":"assets\/07B22FF4-A71E-4AF8-A085-B17E20F50E0E.pdf"},"width":1024,"height":768}},"events":[{"effects":[{"beginTime":0,"baseLayer":{"animations":[],"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":251658240,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"objectID":"0","layers":[{"animations":[],"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,-0.00049229876906403734,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":251658240,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"layers":[{"animations":[],"layers":[],"texturedRectangle":{"isBackgroundTexture":false,"singleTextureOpacity":1,"textureType":0,"textBaseline":0,"textXHeight":0,"isVerticalText":false},"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":0,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"texture":"17A73866B4E37663B4D65DE234033623"},{"animations":[{"additive":false,"timeOffset":0,"beginTime":0,"from":{"scalar":false},"repeatCount":0,"fillMode":"both","duration":0.001,"autoreverses":false,"property":"hidden","to":{"scalar":true},"removedOnCompletion":false}],"layers":[],"texturedRectangle":{"isBackgroundTexture":false,"singleTextureOpacity":1,"textureType":0,"textBaseline":0,"textXHeight":0,"isVerticalText":false},"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":0,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"texture":"77B60505B668E0640EA96ACFEFDDA30E"}]}]},"effects":[],"duration":0.001,"type":"transition","attributes":{"direction":0},"name":"none","objectID":"0"}],"automaticPlay":false,"hyperlinks":[],"accessibility":[{"text":"HTTPS = HTTP + TLS","targetRectangle":{"y":322,"x":72.000001430511475,"width":342.890625,"height":81}},{"text":"Transport Layer Security (TLS previously known as SSL) provides","targetRectangle":{"y":403,"x":72.000001430511475,"width":844.646484375,"height":96}},{"text":"confidentiality: end-to-end secure channel","targetRectangle":{"y":499,"x":112.00000143051147,"width":698.9921875,"height":54.1298828125}},{"text":"integrity: authentication handshake","targetRectangle":{"y":553.1298828125,"x":112.00000143051147,"width":566.029296875,"height":44.1298828125}},{"text":"Generic solution - HTTPS","targetRectangle":{"y":89,"x":32,"width":490.453125,"height":54}}],"baseLayer":{"animations":[],"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":251658240,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"objectID":"0","layers":[{"animations":[],"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,-0.00049229876906403734,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":251658240,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"layers":[{"animations":[],"layers":[],"texturedRectangle":{"isBackgroundTexture":false,"singleTextureOpacity":1,"textureType":0,"textBaseline":0,"textXHeight":0,"isVerticalText":false},"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":0,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"texture":"77B60505B668E0640EA96ACFEFDDA30E"}]}]}}]} |
1 change: 1 addition & 0 deletions
1
...ty/assets/07B22FF4-A71E-4AF8-A085-B17E20F50E0E/07B22FF4-A71E-4AF8-A085-B17E20F50E0E.jsonp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
local_slide( {"name":"07B22FF4-A71E-4AF8-A085-B17E20F50E0E","json":{"assets":{"17A73866B4E37663B4D65DE234033623":{"type":"texture","index":1,"url":{"native":"assets\/07B22FF4-A71E-4AF8-A085-B17E20F50E0E.pdf"},"width":1024,"height":768},"77B60505B668E0640EA96ACFEFDDA30E":{"type":"texture","index":0,"url":{"native":"assets\/07B22FF4-A71E-4AF8-A085-B17E20F50E0E.pdf"},"width":1024,"height":768}},"events":[{"effects":[{"beginTime":0,"baseLayer":{"animations":[],"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":251658240,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"objectID":"0","layers":[{"animations":[],"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,-0.00049229876906403734,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":251658240,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"layers":[{"animations":[],"layers":[],"texturedRectangle":{"isBackgroundTexture":false,"singleTextureOpacity":1,"textureType":0,"textBaseline":0,"textXHeight":0,"isVerticalText":false},"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":0,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"texture":"17A73866B4E37663B4D65DE234033623"},{"animations":[{"additive":false,"timeOffset":0,"beginTime":0,"from":{"scalar":false},"repeatCount":0,"fillMode":"both","duration":0.001,"autoreverses":false,"property":"hidden","to":{"scalar":true},"removedOnCompletion":false}],"layers":[],"texturedRectangle":{"isBackgroundTexture":false,"singleTextureOpacity":1,"textureType":0,"textBaseline":0,"textXHeight":0,"isVerticalText":false},"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":0,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"texture":"77B60505B668E0640EA96ACFEFDDA30E"}]}]},"effects":[],"duration":0.001,"type":"transition","attributes":{"direction":0},"name":"none","objectID":"0"}],"automaticPlay":false,"hyperlinks":[],"accessibility":[{"text":"HTTPS = HTTP + TLS","targetRectangle":{"y":322,"x":72.000001430511475,"width":342.890625,"height":81}},{"text":"Transport Layer Security (TLS previously known as SSL) provides","targetRectangle":{"y":403,"x":72.000001430511475,"width":844.646484375,"height":96}},{"text":"confidentiality: end-to-end secure channel","targetRectangle":{"y":499,"x":112.00000143051147,"width":698.9921875,"height":54.1298828125}},{"text":"integrity: authentication handshake","targetRectangle":{"y":553.1298828125,"x":112.00000143051147,"width":566.029296875,"height":44.1298828125}},{"text":"Generic solution - HTTPS","targetRectangle":{"y":89,"x":32,"width":490.453125,"height":54}}],"baseLayer":{"animations":[],"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":251658240,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"objectID":"0","layers":[{"animations":[],"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,-0.00049229876906403734,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":251658240,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"layers":[{"animations":[],"layers":[],"texturedRectangle":{"isBackgroundTexture":false,"singleTextureOpacity":1,"textureType":0,"textBaseline":0,"textXHeight":0,"isVerticalText":false},"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":0,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"texture":"77B60505B668E0640EA96ACFEFDDA30E"}]}]}}]}} ) |
Binary file added
BIN
+110 KB
...sets/07B22FF4-A71E-4AF8-A085-B17E20F50E0E/assets/07B22FF4-A71E-4AF8-A085-B17E20F50E0E.pdf
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
...ets/07B22FF4-A71E-4AF8-A085-B17E20F50E0E/assets/07B22FF4-A71E-4AF8-A085-B17E20F50E0E.pdfp
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+7.13 KB
...ides/C09-WebSecurity/assets/07B22FF4-A71E-4AF8-A085-B17E20F50E0E/thumbnail.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
...ity/assets/0B9C35F4-3ADC-42CC-A647-87C66B2600F9/0B9C35F4-3ADC-42CC-A647-87C66B2600F9.json
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
...ty/assets/0B9C35F4-3ADC-42CC-A647-87C66B2600F9/0B9C35F4-3ADC-42CC-A647-87C66B2600F9.jsonp
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+484 KB
...sets/0B9C35F4-3ADC-42CC-A647-87C66B2600F9/assets/0B9C35F4-3ADC-42CC-A647-87C66B2600F9.pdf
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
...ets/0B9C35F4-3ADC-42CC-A647-87C66B2600F9/assets/0B9C35F4-3ADC-42CC-A647-87C66B2600F9.pdfp
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+7.62 KB
...ides/C09-WebSecurity/assets/0B9C35F4-3ADC-42CC-A647-87C66B2600F9/thumbnail.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
...ity/assets/0E393C72-9567-4EF3-AA51-8E85236B0711/0E393C72-9567-4EF3-AA51-8E85236B0711.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"assets":{"CCD8A5F7B1925F9F56F7BBE795266A4E":{"type":"texture","index":0,"url":{"native":"assets\/0E393C72-9567-4EF3-AA51-8E85236B0711.pdf"},"width":1024,"height":768},"60E407D70CECFC4E997D89BBBBE2DB5B":{"type":"texture","index":1,"url":{"native":"assets\/0E393C72-9567-4EF3-AA51-8E85236B0711.pdf"},"width":1024,"height":768}},"events":[{"effects":[{"beginTime":0,"baseLayer":{"animations":[],"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":251658240,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"objectID":"0","layers":[{"animations":[],"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,-0.00049229876906403734,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":251658240,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"layers":[{"animations":[],"layers":[],"texturedRectangle":{"isBackgroundTexture":false,"singleTextureOpacity":1,"textureType":0,"textBaseline":0,"textXHeight":0,"isVerticalText":false},"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":0,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"texture":"60E407D70CECFC4E997D89BBBBE2DB5B"},{"animations":[{"additive":false,"timeOffset":0,"beginTime":0,"from":{"scalar":false},"repeatCount":0,"fillMode":"both","duration":0.001,"autoreverses":false,"property":"hidden","to":{"scalar":true},"removedOnCompletion":false}],"layers":[],"texturedRectangle":{"isBackgroundTexture":false,"singleTextureOpacity":1,"textureType":0,"textBaseline":0,"textXHeight":0,"isVerticalText":false},"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":0,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"texture":"CCD8A5F7B1925F9F56F7BBE795266A4E"}]}]},"effects":[],"duration":0.001,"type":"transition","attributes":{"direction":0},"name":"none","objectID":"0"}],"automaticPlay":false,"hyperlinks":[],"accessibility":[{"text":"HttpOnly cookie flag","targetRectangle":{"y":87,"x":32,"width":445.6171875,"height":58}},{"text":"The cookie is not readable\/writable from the frontend","targetRectangle":{"y":398,"x":72.000001430511475,"width":808.0009765625,"height":81}},{"text":"Prevents the authentication cookie from being leaked when an XSS attack (cross-site scripting) occurs","targetRectangle":{"y":479,"x":72.000001430511475,"width":897.8427734375,"height":86}}],"baseLayer":{"animations":[],"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":251658240,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"objectID":"0","layers":[{"animations":[],"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,-0.00049229876906403734,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":251658240,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"layers":[{"animations":[],"layers":[],"texturedRectangle":{"isBackgroundTexture":false,"singleTextureOpacity":1,"textureType":0,"textBaseline":0,"textXHeight":0,"isVerticalText":false},"initialState":{"affineTransform":[1,0,0,1,0,0],"masksToBounds":false,"rotation":0,"scale":1,"position":{"pointX":512,"pointY":384},"width":1024,"sublayerTransform":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"contentsRect":{"y":0,"x":0,"width":1,"height":1},"opacity":1,"edgeAntialiasingMask":0,"height":768,"hidden":false,"anchorPoint":{"pointX":0.5,"pointY":0.5}},"texture":"CCD8A5F7B1925F9F56F7BBE795266A4E"}]}]}}]} |
Oops, something went wrong.