100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Lecture notes

Web Programming: Security Lecture Notes

Rating
-
Sold
-
Pages
9
Uploaded on
05-01-2025
Written in
2024/2025

Lecture Notes about the different threats a website can be under, and the steps to take as a developer to protect the website and its users. It has a summary section on the left side of the page, following the Cornell note taking method, where the key points are summarised on the side of the noted.

Show more Read less









Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
January 5, 2025
Number of pages
9
Written in
2024/2025
Type
Lecture notes
Professor(s)
Paulo oliva
Contains
All classes

Content preview

6️⃣
Security
SUMMARY MAIN NOTES

There are different Contents
type of web Web Application Security
security attacks: Types of attacks
General recommendations
Spoofing Storing passwords
Tampering Salting
Injection Attacks
Repudiation SQL Injection
Information HTTP Header Injection
Log Injection
disclosure
JavaScript Injection (XSS)
Denial of Preventing attacks
Service Cookie httponly
Input Sanitisation
Elevation of
HTML Escaping
Privilege
XSS Protection
Passwords must Cross-Origin Resource Sharing
be stored, but Same-origin Policy
vulnerable to Cross-Origin Resource Sharing

dictionary attacks Cross-Site Request Forgery
CSRF Protection
so adding salting
Session Hijacking
makes them hard
Secure Transmission (HTTPS)
to decrypt

Injection attacks
consist of Web Application Security
attackers placing Hackers aim to access users’ information and
malicious code control of systems:
where the
collecting information about you or your system
application is
expecting normal access personal data for ID theft
data
Commit user transaction fraud



Security 1

, SQL Injection Use your system for more complex attacks

HTTP Headers
in response Types of attacks
Log injection Spoofing: impersonate another user

JavaScript Tampering: change or delete without
Injection (XSS) authorisation

Session hijacking, Repudiation: user actions not logged
when the attacker Information disclosure: steal or reveal server
has the same info
session ID as user,
Denial of Service (DoS): make app less available
server cannot
distinguish Elevation of Privilege: gain admin privileges


General recommendations
Use a firewall

Install latest security patches

Backup often and keep backup safe

Keep web server computer physically secure

Secure server computers with strong password

Close unused ports, turn off unused services

Virus checker to monitor inbound and outbound
traffic


Storing passwords

‼️ Never store passwords in plain text: hash
them



When using hash functions, if two users have the
same password they will have the same hash, which
can be discovered using a dictionary attack. This
still makes the system vulnerable



Security 2
£6.46
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
ileniamaiettabusiness

Also available in package deal

Thumbnail
Package deal
ECS639U Web Programming Complete Lecture Notes
-
10 2025
£ 61.70 More info

Get to know the seller

Seller avatar
ileniamaiettabusiness Queen Mary, University of London
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
11 months
Number of followers
0
Documents
10
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions