The Dangerous Flask Hsiaoming Yang
The dangerous Flask Let's talk about itsdangerous About Me 0 https://github.com/lepture https://lepture.com/about The Pallets Projects https://typlog.com/ https://authlib.org/ Session 1 app timestamp, secret) Signature • SHA1, SHA256, SHA384, SHA512 • HMAC with SHA • base64 DEMO itsdangerous 3 History • Flask 0.10: Changed default cookie serialization format from pickle to JSON to the impact an attacker can do if the secret key leaks. • Flask 0.10: add itsdangerous to dependencies WHAT IS itsdangerous e.g. session koajs expressjs Cookie: session=xxx Cookie: session.sig=xxx0 码力 | 38 页 | 2.75 MB | 1 年前3Flask Documentation (1.1.x)
escapes untrusted input when rendering templates to avoid injection attacks. ItsDangerous [https://palletsprojects.com/p/itsdangerous/] securely signs data to ensure its integrity. This is used to protect Flask’s click 6.7 Flask 1.0 flaskr 1.0.0 /home/user/Projects/flask-tutorial itsdangerous 0.24 Jinja2 2.10 MarkupSafe 1.0 pip 9.0.3 setuptools 39.0.1 Werkzeug com/p/click/], Werkzeug [https://palletsprojects.com/p/werkzeug/], and ItsDangerous [https://palletsprojects.com/p/itsdangerous/] behind the scenes, and they all have their own documentation too. You’ll0 码力 | 428 页 | 895.98 KB | 1 年前3Flask Documentation (1.1.x)
with Jinja. It escapes untrusted input when rendering templates to avoid injection attacks. • ItsDangerous securely signs data to ensure its integrity. This is used to protect Flask’s session cookie. ---------------------------------- click 6.7 Flask 1.0 flaskr 1.0.0 /home/user/Projects/flask-tutorial itsdangerous 0.24 Jinja2 2.10 MarkupSafe 1.0 pip 9.0.3 setuptools 39.0.1 Werkzeug 0.14.1 wheel 0.30.0 Nothing Flask can do, then dive into the docs to keep learning. Flask uses Jinja, Click, Werkzeug, and ItsDangerous behind the scenes, and they all have their own documentation too. You’ll also be interested in0 码力 | 291 页 | 1.25 MB | 1 年前3
共 3 条
- 1