Introduction to web security Flashcards | Studygenie
Introduction to web security
J
Created by
JOHN RIVER
Sign up for Studygenie 100% free
Join 75,000+ students acing their exams with Studygenie
Unlimited practice
Flashcards, multiple choice and written questions, as many as you want.
Study sets in seconds
Turn your notes and files into a set with AI.
See your progress
Always know what you've learned and what's left.
Questions in this set (32)
It is the language web browsers and servers use to communicate. Think of it as a conversation between your browser (like Google Chrome) and a website's server.
HTTP (HyperText Transfer Protocol)
This is content stored and provided by the web server.
Server Content
This refers to what happens on the user’s side (your computer or phone). Web pages use HTML, CSS, and JavaScript to show you information and allow interaction.
Client Content
It refers to the ability of a website to remember things between interactions. HTTP alone is stateless, so websites use methods like cookies, sessions, and tokens to maintain the ____________
state
makes websites interactive and user-friendly. However, insecure client-side scripts can be exploited by hackers.
Client content
handle heavy tasks like storing files, processing requests, and managing data, making the content available for users.
Server
It makes websites functional and personalized, attackers can exploit these mechanisms to steal sensitive information.
state
It is stateless, meaning it doesn’t remember anything after the request is completed. That’s why shopping carts use cookies or sessions to remember your items.
Http
It is about protecting websites, web applications, and users from attacks, threats, and vulnerabilities.
Web security
Hackers can exploit weaknesses in web servers to gain unauthorized access, steal data, or disrupt services.
Attacking Web Servers
Inserts malicious scripts into a web page to steal data. Example: A user clicks a fake link, and the hacker steals their login cookies.
Cross-Site Scripting (XSS):
allow two applications to communicate over the internet. These are used to share data between systems (e.g., your bank app talking to its server).
Web Services
These are like bridges connecting two systems, but insecure services can lead to data leaks.
Web services
need security features like firewalls, encryption, and secure coding practices to protect against these attacks.
Web servers
is like the internet’s phonebook.
The Domain Name System (DNS)
This makes the internet easier to use. Without DNS, you would need to remember the IP address of every website you visit.
Domain Name System (DNS)
DNS works by converting ____________ names (like amazon.com) into ______________ (like 52.94.236.248).__ _
human-readable domain names, machine-readable ip addresses
Real-Life Scenarios(with/without): You simply type instagram.com, and DNS translates it for you.
with dns
Real-Life Scenarios(with/without): You want to check Instagram, but instead of typing instagram.com, you must memorize and type 3.120.181.223.
without dns
Benefit of DNS that Works across millions of websites.
Scalability
Benefit of DNS that Makes the internet user-friendly.
Simplicity
Benefit of DNS that Allows domain names to be updated without affecting users (e.g., if Instagram changes its server, the domain name stays the same).
Flexibility
Maps a domain name to an IPv4 address.
A Record
Aliases one domain name to another.
CNAME Record
Directs email traffic to the right mail server.
MX Record
DNS queries are often sent in plain text, making them easy to intercept.
Lack of Encryption
Hackers manipulate DNS records to redirect users to malicious websites.
Cache Poisoning
Hackers corrupt the DNS cache, making users visit fake websites.
DNS Spoofing (Cache Poisoning)
Hackers intercept DNS queries and modify the responses.
Man-in-the-Middle Attacks:
Attackers flood DNS servers with requests, overwhelming them and causing websites to become inaccessible.
DDoS Attacks on DNS Servers:
It is a crucial part of how the internet works. It simplifies our experience online, allowing us to use domain names instead of IP addresses.
Domain name system
By keeping ___________, we ensure that users can connect to the right websites, services, and applications without interference or harm.