SlideShare a Scribd company logo
HTTP Basics
(Cont.)
Things You (Dev, QA) Must Know
Developer Tools
● Google Chrome Dev Tool
● Dev Tool Panels
○ Elements
○ Console
○ Sources
○ Network
○ Performance
○ Memory
○ Application
○ Security
○ Audits
Security (HTTP & HTTPS)
Security (HTTP & HTTPS)
● HTTP
○ People didn’t think everything through
Security (HTTP & HTTPS)
● HTTPS
○ Secure HTTP (TLS 1.2)
○ Uses SSL Certificates to ensure server and/or client identity
○ Uses encryption to make sure data is not interceptable
Session (Making HTTP Stateful)
● HTTP is Stateless
● Web applications are *mostly* stateful
● How to identify subsequent requests from the same client
Cookies
● Simple Key-Value client side storage
● Usage
○ Authentication/Session Tracking
○ Personalization (Locale, Theme)
○ Web Activity Tracking (Adds)
○ Server Tracking (for clustered environments)
● Create HTTP Cookie
○ Set-Cookie: <cookie-name>=<cookie-value>
■ In server response header to tell client to store the cookie
○ Cookie: <cookie-name>=<cookie-value>
■ In client request header to let server know the info
Cookies (cont.)
● Types of Cookie
○ Session vs Permanent cookies
■ Use Max-Age or Expires directive
○ Secure cookies
■ Only over HTTPS
○ HttpOnly cookies
■ Not accessible with JavaScript
■ To mitigate XSS
● Scope
○ Domain and Path
○ SameSite cookies (None, Strict, Lax)
HTTP Caching
● Fetching data from server over network is expensive
● Some resources don’t change *at least for some time*
● Re-usability
● Cache Invalidation
○ Most difficult problem in Computer Science
APIs
● Interface to communicate with the server
● RESTfulness
○ REpresentational State Transfer
○ NOT A STANDARD, it’s an Architectural Style
Emulating API Calls
● Wake Up!
● Postman
● HTTP client to make API calls
● Demo
If You Want To Outsmart Devs
● Lighthouse
Resources (for those of you who are nerds)
● Google Developer (Web)
○ https://developers.google.com/web/fundamentals
● Google Chrome Developer Tool Crash Course
○ https://youtu.be/x4q86IjJFag
● Chrome Developers YouTube Channel
○ https://www.youtube.com/user/ChromeDevelopers/
Did You Get Everything So Far?

More Related Content

PDF
Building interactivity with websockets
PDF
Container Security via Monitoring and Orchestration - Container Security Summit
PDF
Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)
PPTX
MongoDB IoT City Tour STUTTGART: Managing the Database Complexity, by Arthur ...
PDF
TEI ODD support in oXygen
PDF
Introducing Blockchains
PPTX
Ethereum Web3.js - Some tips for the developer
PDF
Node in Real Time - The Beginning
Building interactivity with websockets
Container Security via Monitoring and Orchestration - Container Security Summit
Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)
MongoDB IoT City Tour STUTTGART: Managing the Database Complexity, by Arthur ...
TEI ODD support in oXygen
Introducing Blockchains
Ethereum Web3.js - Some tips for the developer
Node in Real Time - The Beginning

What's hot (16)

PDF
Building Java and Android apps on the blockchain
PDF
Webinar slides: Become a MongoDB DBA - What to Monitor (if you’re really a My...
PDF
Web3j 2.0 Update
PDF
MongoDB World 2019: Using Client Side Encryption in MongoDB 4.2 Link
PPTX
33 meta
PDF
Meteor and Bitcoin (Lightning Talk)
PDF
Don't Build "Death Star" Security - O'Reilly Software Architecture Conference...
PDF
All you need to know about Kotlin's documentation engine Dokka
PDF
Libbitcoin slides
PDF
Bitcoin and blockchain engineering
PPTX
Blockchain Session 1
PPTX
PHP Training Session 6
PDF
A Primer on JSON Web Tokens
PDF
BSides Rochester 2018: Chaim Sanders: How the Cookie Crumbles: Modern HTTP St...
PDF
進階使用Nodejs 淺談no sql(mongodb)
PDF
NoSql Injection
Building Java and Android apps on the blockchain
Webinar slides: Become a MongoDB DBA - What to Monitor (if you’re really a My...
Web3j 2.0 Update
MongoDB World 2019: Using Client Side Encryption in MongoDB 4.2 Link
33 meta
Meteor and Bitcoin (Lightning Talk)
Don't Build "Death Star" Security - O'Reilly Software Architecture Conference...
All you need to know about Kotlin's documentation engine Dokka
Libbitcoin slides
Bitcoin and blockchain engineering
Blockchain Session 1
PHP Training Session 6
A Primer on JSON Web Tokens
BSides Rochester 2018: Chaim Sanders: How the Cookie Crumbles: Modern HTTP St...
進階使用Nodejs 淺談no sql(mongodb)
NoSql Injection
Ad

Similar to Http Basics (20)

PDF
Let's Encrypt
PDF
Egress-Assess and Owning Data Exfiltration
PDF
Mux loves Clickhouse. By Adam Brown, Mux founder
PDF
What Goes In Must Come Out: Egress-Assess and Data Exfiltration
PPTX
Pen Testing Development
PDF
Getting started with HTTPS | LumoSpark webinar
PDF
Introduction to Web Application Security - Blackhoodie US 2018
PPTX
OpenStack Keystone
PPTX
004 - Logging in the Cloud -- hide01.ir.pptx
PDF
Google app engine - Soft Uni 19.06.2014
PPT
PDF
Digital certificates
PDF
Developer's Guide to JavaScript and Web Cryptography
PDF
App Security and Securing App
PDF
Web performance mercadolibre - ECI 2013
PPTX
OpenStack Toronto Meetup - Keystone 101
PDF
Power your apps with Gmail, Google Drive, Calendar, Sheets, Slides & more
PDF
Seminario eMadrid 2015 09 10 sobre Serious Games (UCM) Manuel Freire - RAGE:...
PDF
Getting Started with FIDO2
PDF
Secure Your Encryption with HSM
Let's Encrypt
Egress-Assess and Owning Data Exfiltration
Mux loves Clickhouse. By Adam Brown, Mux founder
What Goes In Must Come Out: Egress-Assess and Data Exfiltration
Pen Testing Development
Getting started with HTTPS | LumoSpark webinar
Introduction to Web Application Security - Blackhoodie US 2018
OpenStack Keystone
004 - Logging in the Cloud -- hide01.ir.pptx
Google app engine - Soft Uni 19.06.2014
Digital certificates
Developer's Guide to JavaScript and Web Cryptography
App Security and Securing App
Web performance mercadolibre - ECI 2013
OpenStack Toronto Meetup - Keystone 101
Power your apps with Gmail, Google Drive, Calendar, Sheets, Slides & more
Seminario eMadrid 2015 09 10 sobre Serious Games (UCM) Manuel Freire - RAGE:...
Getting Started with FIDO2
Secure Your Encryption with HSM
Ad

More from Mushfekur Rahman (7)

PPTX
An Automatic Method for Red-eye Detection and Correction in Digital Images
PPTX
Diagnosing HotSpot JVM Memory Leaks with JFR and JMC
PPTX
Webservices: The RESTful Approach
PPTX
Building a Unified Logging Layer with Fluentd, Elasticsearch and Kibana
PPTX
Hands on Gradle
PPTX
Distributed Transaction Management in Spring & JEE
PPTX
Implementation of Election Algorithm of Distributed Systems in Client-Server ...
An Automatic Method for Red-eye Detection and Correction in Digital Images
Diagnosing HotSpot JVM Memory Leaks with JFR and JMC
Webservices: The RESTful Approach
Building a Unified Logging Layer with Fluentd, Elasticsearch and Kibana
Hands on Gradle
Distributed Transaction Management in Spring & JEE
Implementation of Election Algorithm of Distributed Systems in Client-Server ...

Recently uploaded (20)

PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Transform Your Business with a Software ERP System
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
ISO 45001 Occupational Health and Safety Management System
PPTX
Introduction to Artificial Intelligence
PPTX
Essential Infomation Tech presentation.pptx
PPTX
Materi-Enum-and-Record-Data-Type (1).pptx
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPTX
ai tools demonstartion for schools and inter college
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
PTS Company Brochure 2025 (1).pdf.......
DOCX
The Five Best AI Cover Tools in 2025.docx
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
2025 Textile ERP Trends: SAP, Odoo & Oracle
Design an Analysis of Algorithms II-SECS-1021-03
Transform Your Business with a Software ERP System
ManageIQ - Sprint 268 Review - Slide Deck
Operating system designcfffgfgggggggvggggggggg
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
ISO 45001 Occupational Health and Safety Management System
Introduction to Artificial Intelligence
Essential Infomation Tech presentation.pptx
Materi-Enum-and-Record-Data-Type (1).pptx
Upgrade and Innovation Strategies for SAP ERP Customers
How to Migrate SBCGlobal Email to Yahoo Easily
Design an Analysis of Algorithms I-SECS-1021-03
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
ai tools demonstartion for schools and inter college
Wondershare Filmora 15 Crack With Activation Key [2025
PTS Company Brochure 2025 (1).pdf.......
The Five Best AI Cover Tools in 2025.docx
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf

Http Basics

  • 1. HTTP Basics (Cont.) Things You (Dev, QA) Must Know
  • 2. Developer Tools ● Google Chrome Dev Tool ● Dev Tool Panels ○ Elements ○ Console ○ Sources ○ Network ○ Performance ○ Memory ○ Application ○ Security ○ Audits
  • 4. Security (HTTP & HTTPS) ● HTTP ○ People didn’t think everything through
  • 5. Security (HTTP & HTTPS) ● HTTPS ○ Secure HTTP (TLS 1.2) ○ Uses SSL Certificates to ensure server and/or client identity ○ Uses encryption to make sure data is not interceptable
  • 6. Session (Making HTTP Stateful) ● HTTP is Stateless ● Web applications are *mostly* stateful ● How to identify subsequent requests from the same client
  • 7. Cookies ● Simple Key-Value client side storage ● Usage ○ Authentication/Session Tracking ○ Personalization (Locale, Theme) ○ Web Activity Tracking (Adds) ○ Server Tracking (for clustered environments) ● Create HTTP Cookie ○ Set-Cookie: <cookie-name>=<cookie-value> ■ In server response header to tell client to store the cookie ○ Cookie: <cookie-name>=<cookie-value> ■ In client request header to let server know the info
  • 8. Cookies (cont.) ● Types of Cookie ○ Session vs Permanent cookies ■ Use Max-Age or Expires directive ○ Secure cookies ■ Only over HTTPS ○ HttpOnly cookies ■ Not accessible with JavaScript ■ To mitigate XSS ● Scope ○ Domain and Path ○ SameSite cookies (None, Strict, Lax)
  • 9. HTTP Caching ● Fetching data from server over network is expensive ● Some resources don’t change *at least for some time* ● Re-usability ● Cache Invalidation ○ Most difficult problem in Computer Science
  • 10. APIs ● Interface to communicate with the server ● RESTfulness ○ REpresentational State Transfer ○ NOT A STANDARD, it’s an Architectural Style
  • 11. Emulating API Calls ● Wake Up! ● Postman ● HTTP client to make API calls ● Demo
  • 12. If You Want To Outsmart Devs ● Lighthouse
  • 13. Resources (for those of you who are nerds) ● Google Developer (Web) ○ https://developers.google.com/web/fundamentals ● Google Chrome Developer Tool Crash Course ○ https://youtu.be/x4q86IjJFag ● Chrome Developers YouTube Channel ○ https://www.youtube.com/user/ChromeDevelopers/
  • 14. Did You Get Everything So Far?