albibacsi

web security 2019

Aug 11th, 2019
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. https://www.youtube.com/watch?v=-DNNlBYIyxQ (39:37)
  2.  
  3. 1. HTTP redirect to HTTPS
  4. 2. TLS v1.2 or newer
  5. 3. Cipher suites:
  6. - server order preference enabled
  7. - ECDHE-AES{128,256}-GCM-SHA{256,384,512} at or near the top
  8. - remove RC4, DES, 3DES bulk ciphers
  9. - remove DH (non ephemeral) key exchanges
  10. - remove MD5, SHA1 MAC
  11. - check with https://ssllabs.com
  12. 4. Browser security headers:
  13. - add Strict-Transport-Security
  14. - add Content-Security-Policy
  15. - add Referer-Policy
  16. - add Feature-Policy
  17. - add X-Content-Type-Options
  18. - check with https://securityheaders.com/ and https://observatory.mozilla.com
  19. 5. DNS: add CAA records (low TTL, 10-30 seconds)
  20. 6. Content: add Sub Resource Integrity for stuff you don't control
  21. 7. Content: change Set-Cookie to add/inject: SameSite=Lax/Strict
  22. 8. Server: Enable HTTP/2
Advertisement
Add Comment
Please, Sign In to add comment