HTTPS11. HTTPS 19 décembre 2023 Développement web il3 HTTPS HE-Arc (DGR) 2022 Sécuriser un site web • Authentification du serveur – Assurer que le serveur est celui qu’il prétend être • Intégrité des le client est celui qu’il prétend être • Pour un site web, ces services sont fournis par https – HTTPS : HTTP sécurisé par SSL/TLS, par défaut sur le port 443 1 Secure Socket Layer –> Transport Layer application – Pas besoin de modifier la pile TCP/IP • Possibilité de sécuriser d’autres protocoles : – HTTP, SMTP, SIP, … • Services offerts : – Authentification serveur + intégrité données – Confidentialité0 码力 | 6 页 | 109.17 KB | 1 年前3
HTTP & AJAX06.HTTP & AJAX 19 décembre 2023 Développement web il3 HTTP & AJAX HE-Arc (DGR) 2022 HyperText Transfer Protocol • Protocole application : invention www en 1990 (v0.9) – Connexion, GET, réponse, fermeture • HTTP 1.0 (1996) – Entêtes de requête (Host, Referer, User-Agent, …) et réponse (Content-Type, Set- Cookie, Location, …) • HTTP 1.1 (1997) – Nouveaux entêtes (Keep-alive, pipelining, cache Host obligatoire • HTTP 2.01 (2015) – Binaire, multiplexage connexions, compression entêtes, push, … – Supporté par presque tous2 les navigateurs, une majorité de serveurs • HTTP 3.03 (2019) – UDP,0 码力 | 11 页 | 91.09 KB | 1 年前3
08 Cookie, Session与HTTP请求 杨亮 《PHP语⾔程序设计》Cookie, Session 与HTTP请求 杨亮 Web基本流程 PC Mobile 服务器 (Apache) (IIS) 后端脚本 (PHP) (JSP) (ASP) 数据库 (MySQL) (Oracle) (Access) HTTP 请求 对应⽂文件 获取数据 返回数据 返回⻚页⾯面 返回⻚页⾯面 请求⻚页⾯面 服务器端 客户端 html css 如果⼀一家咖啡店,买五杯送⼀一杯 信息存在哪⾥里? 超⽂文本传输协议 HTTP HyperText Transfer Protocol ⽆无状态 Cookie Session 头部 内容 (html) Cookie 保存在浏览器端的⽤用户数据,⽤用以进⾏行会话控制 浏览器端脚本(JavaScript)设定Cookie 服务器端程序(PHP)通过HTTP请求命令浏览器设定Cookie 浏览器向服务器发送请求时会附加上相应的Cookie value1 name2 value2 name3 value3 name4 value4 五⼤大要素:名字、值、域、路径、过期时间 $_COOKIE[name] 所有Cookie都是放到http头信息中 服务器 PHP 浏览器 Cookie Set-Cookie:user=stefyang Cookie:user=stefyang time() 当前时间 time()+60*600 码力 | 12 页 | 1.30 MB | 1 年前3
Falcon v3.1.1 DocumentationThe Falcon Web Framework Release v3.1 (Installation) Falcon [https://falconframework.org] is a minimalist ASGI/WSGI framework for building mission-critical REST APIs and microservices, with a focus on QuoteResource()) Quick Links Read the docs [https://falcon.readthedocs.io/en/stable] (FAQ [https://falcon.readthedocs.io/en/stable/user/faq.html] - getting help [https://falcon.readthedocs.io/en/stable/community/help reference [https://falcon.readthedocs.io/en/stable/api/index.html]) Falcon add-ons and complementary packages [https://github.com/falconry/falcon/wiki] Falcon articles, talks and podcasts [https://github0 码力 | 540 页 | 476.60 KB | 1 年前3
Falcon v3.1.1-rc1 DocumentationThe Falcon Web Framework Release v3.1rc1 (Installation) Falcon [https://falconframework.org] is a minimalist ASGI/WSGI framework for building mission-critical REST APIs and microservices, with a focus QuoteResource()) Quick Links Read the docs [https://falcon.readthedocs.io/en/stable] (FAQ [https://falcon.readthedocs.io/en/stable/user/faq.html] - getting help [https://falcon.readthedocs.io/en/stable/community/help reference [https://falcon.readthedocs.io/en/stable/api/index.html]) Falcon add-ons and complementary packages [https://github.com/falconry/falcon/wiki] Falcon articles, talks and podcasts [https://github0 码力 | 540 页 | 476.61 KB | 1 年前3
Falcon v3.1.1-b3 DocumentationThe Falcon Web Framework Release v3.1b3 (Installation) Falcon [https://falconframework.org] is a minimalist ASGI/WSGI framework for building mission-critical REST APIs and microservices, with a focus QuoteResource()) Quick Links Read the docs [https://falcon.readthedocs.io/en/stable] (FAQ [https://falcon.readthedocs.io/en/stable/user/faq.html] - getting help [https://falcon.readthedocs.io/en/stable/community/help reference [https://falcon.readthedocs.io/en/stable/api/index.html]) Falcon add-ons and complementary packages [https://github.com/falconry/falcon/wiki] Falcon articles, talks and podcasts [https://github0 码力 | 540 页 | 476.61 KB | 1 年前3
Falcon v3.1.1-a DocumentationThe Falcon Web Framework Release v3.1 (Installation) Falcon [https://falconframework.org] is a minimalist ASGI/WSGI framework for building mission-critical REST APIs and microservices, with a focus on QuoteResource()) Quick Links Read the docs [https://falcon.readthedocs.io/en/stable] (FAQ [https://falcon.readthedocs.io/en/stable/user/faq.html] - getting help [https://falcon.readthedocs.io/en/stable/community/help reference [https://falcon.readthedocs.io/en/stable/api/index.html]) Falcon add-ons and complementary packages [https://github.com/falconry/falcon/wiki] Falcon articles, talks and podcasts [https://github0 码力 | 540 页 | 476.60 KB | 1 年前3
Falcon v3.1.1-b1 DocumentationThe Falcon Web Framework Release v3.1b1 (Installation) Falcon [https://falconframework.org] is a minimalist ASGI/WSGI framework for building mission-critical REST APIs and microservices, with a focus QuoteResource()) Quick Links Read the docs [https://falcon.readthedocs.io/en/stable] (FAQ [https://falcon.readthedocs.io/en/stable/user/faq.html] - getting help [https://falcon.readthedocs.io/en/stable/community/help reference [https://falcon.readthedocs.io/en/stable/api/index.html]) Falcon add-ons and complementary packages [https://github.com/falconry/falcon/wiki] Falcon articles, talks and podcasts [https://github0 码力 | 540 页 | 476.61 KB | 1 年前3
Falcon v3.1.0 DocumentationThe Falcon Web Framework Release v3.1 (Installation) Falcon [https://falconframework.org] is a minimalist ASGI/WSGI framework for building mission-critical REST APIs and microservices, with a focus on QuoteResource()) Quick Links Read the docs [https://falcon.readthedocs.io/en/stable] (FAQ [https://falcon.readthedocs.io/en/stable/user/faq.html] - getting help [https://falcon.readthedocs.io/en/stable/community/help reference [https://falcon.readthedocs.io/en/stable/api/index.html]) Falcon add-ons and complementary packages [https://github.com/falconry/falcon/wiki] Falcon articles, talks and podcasts [https://github0 码力 | 537 页 | 474.34 KB | 1 年前3
Falcon v1.4.0 Documentationit comes to building HTTP APIs, other frameworks weigh you down with tons of dependencies and unnecessary abstractions. Falcon cuts to the chase with a clean design that embraces HTTP and the REST architectural clean and simple, I finally have the speed and flexibility I need!” “I feel like I’m just talking HTTP at last, with nothing in the middle. Falcon seems like the requests of backend.” “The source code Read the docs [https://falcon.readthedocs.io/en/stable] Falcon add-ons and complementary packages [https://github.com/falconry/falcon/wiki] Falcon talks, podcasts, and blog posts [https://github.com/f0 码力 | 230 页 | 271.65 KB | 1 年前3
共 95 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10













