Module 05 Application and web security - HJ
Module 05 Application and web security - HJ
&
Web Security
Table of Content
• What Is A Web Server?
Conti…
Web Server Architecture
• Multi-Tier (Load-Balanced) Architecture: In a
multi-tier architecture, multiple servers are
used to distribute the workload and ensure
high availability.
• This approach often involves load balancers
that evenly distribute incoming requests
across a cluster of web servers.
• Each server can serve web content
independently, and if one server fails, the load
balancer redirects traffic to healthy servers,
ensuring uninterrupted service.
How web servers work?
Conti…
How web servers work?
• Receive Request: The user's browser sends a request to the web server when they
visit a website or click a link.
• Process Request: The web server reads the request and determines what resource
(like a web page or image) is being requested.
• Generate Response: The server fetches the requested resource. For static content
(like HTML or images), it retrieves the file. For dynamic content (like scripts), it
executes the script to generate the response.
• Send Response: The server sends the requested resource back to the user's browser,
which then displays the content.
What is Web Security?
• Web security refers to safeguarding websites and
web applications from diverse threats and
vulnerabilities that could compromise their
availability, integrity, and confidentiality.
• Define Web Security: It involves deploying
protective measures like authentication, encryption,
and authorization to secure user data and
interactions.
• Primary concerns in web security include countering
cyberattacks, preventing data breaches, and
upholding user privacy and trust online.
• Proficient web security practices are essential for
upholding the safety and dependability of Internet
services.
What is Web Security?
• Web security refers to safeguarding websites and
web applications from diverse threats and
vulnerabilities that could compromise their
availability, integrity, and confidentiality.
• Define Web Security: It involves deploying
protective measures like authentication, encryption,
and authorization to secure user data and
interactions.
• Primary concerns in web security include countering
cyberattacks, preventing data breaches, and
upholding user privacy and trust online.
• Proficient web security practices are essential for
upholding the safety and dependability of Internet
services.
Web server attacks
Patch Management
• Regular Updates
• Automated Patching
• Vulnerability Scanning
• Backup and Rollback Procedures
What is a Web application ?
Difference Between Websites & Web Applications
The web application is a program that runs on a browser and it has mainly three
formal characteristics.
• Addresses a particular problem.
• As interactive as a desktop application.
• Works with Content Management System.
Client-Side (Frontend):
• User Interface (UI)
• User Experience (UX)
• Client-Side Scripting
Server-Side (Backend):
• Web Server
• Application Server
• Database Server
Databases:
• Relational Databases
• NoSQL Databases
Backend Programming Languages:
• Server-Side Scripting
Web application attacks
SQL Injection (SQLi)
Description: Attackers inject malicious SQL queries into input fields, exploiting the application's database.
Impact: Unauthorized data access, data manipulation, and deletion.
Description: Attackers inject malicious scripts into web pages viewed by other users.
Impact: Theft of cookies, session tokens, and sensitive information.
Description: Tricks authenticated users into performing actions they did not intend to.
Impact: Unauthorized actions, such as changing account settings or performing transactions.
Web application attacks
• Security Misconfigurations:
Description: Improperly configured security settings in the application.
Impact: Unauthorized access, data exposure.