Web Architecture, Cybersecurity, E-Commerce, and Encryption Standards
Web Architecture, Protocols, and Domain Structures
The World Wide Web: An information storage and retrieval system built on top of the Internet using hypertext technology.
Documents are interconnected via hyperlinks; clicking a hyperlink loads the corresponding linked document.
HTML (Hypertext Markup Language):
The standard markup language used to design and structure web pages.
Sets up the visual layout, structural organization, and displayed text of a web page.
Functions as an interpretive language, meaning the web browser reads, interprets, and processes the HTML code to render the page.
Hypermedia and multimedia elements (such as images, sound files, and video) exist as separate files rather than being embedded directly inside the HTML code. The HTML file provides a structural description, specifying attributes such as image locations, dimensions, and exact file names.
Web Extensions and Dynamic Content:
Native HTML contains no true programming language capabilities; it provides strictly a description of the page layout.
Extensions to HTML, such as
.jsp(JavaServer Pages), integrate actual programming language functionality within a web page to generate dynamic content.
Websites vs. Web Pages:
Website: A collection of related web pages hosted at a specific location or folder on a server. Contains a root directory with optional nested sub-folders.
Web Page: A single specific document residing within a website.
Domain Names and IP Addresses:
Websites are accessed by entering a human-readable domain name into a browser address bar.
Every domain name is mapped to a specific numerical IP (Internet Protocol) address, which identifies the physical server location on the Internet.
The web browser resolves the domain name to its corresponding IP address and automatically constructs the URL to request the default initial page (such as the index page).
URL (Uniform Resource Locator) Anatomy:
A URL acts as a global path name specifying the precise location of a web page, file, or PDF document on a server (or local machine).
Structural Components:
Protocol: The communication standard (e.g.,
http://).Domain Name: The unique identifier for the host server.
Top-Level Domain (TLD) / High-Level Domain: The trailing characters following the dot within the domain name.
.com: Most common extension, designated for commercial businesses..eeu: Used for universities and educational institutions..gov: Designated for the US government. International government entities append country codes (e.g.,.gov.ukoruk.gov), and state governments use state-specific codes..org: Generally designated for non-profit organizations.
Sub-paths / Sub-folders: Structural sub-directories residing on the server (e.g., a
pagessub-folder containing acartoonsub-folder).File Name and Extension: Terminates with specific file extensions such as
.htm,.html, or dynamic extensions like.jsp.
Internet Security Threats, Annoyances, and Defensive Measures
Spam: Unsolicited bulk email messages.
Historical Origin: Spam was originally created as a canned Military Ready-To-Eat (MRE) ration during World War II for field operations.
Historical Context: Prior to the Internet, physical junk mail ("snail mail spam") was delivered daily, often filling mailboxes to the extent of generating a full trash bag of discarded mail weekly.
Spam Filters: Modern email clients feature trainable spam filters that adapt automatically based on user selections and specified filter parameters.
Cookies: Small files written directly to a computer's hard drive by a website.
Data Structure Limitations: Each cookie file typically stores basic key-value data, restricted to two pieces of data per line or per cookie.
Functionality:
Maintains login state across sessions so a server recognizes returning users prior to manual authentication.
Remembers user credentials (username and password) and site preferences.
Tracks user browsing habits across websites, enabling corporations to share behavioral data.
Security Risks: While individual cookies hold limited data, they can be exploited to construct a backdoor or entryway into a local operating system.
Recommended Settings: Web browsers should be configured to prompt users for authorization prior to accepting any cookie; accepting all cookies universally poses a security risk.
Adware and Pop-ups:
Primarily function as intrusive advertisements but present security risks.
Attackers can rapidly author simple pop-up ads that trigger automated virus downloads upon a single click. Unverified pop-ups should never be clicked.
Spyware:
Specialized malicious software designed to secretly monitor user activity. Standard antivirus programs frequently fail to detect spyware.
Delivery Mechanism: Typically installed via a Trojan horse (a program or file, such as a malicious Excel spreadsheet, that performs a legitimate advertised function while silently executing hidden malicious code).
Keyloggers: A prevalent form of spyware that records every local keystroke, capturing sensitive data such as usernames, passwords, and personal details for remote retrieval by attackers.
Remediation: Requires dedicated spyware removal applications.
Malware: An overarching term for malicious software intended to cause annoyance, corrupt or destroy files, or damage the system boot sector.
Worms: Proactive malicious applications engineered to autonomously exploit network vulnerabilities and penetrate security parameters.
Viruses: Require explicit user interaction to infect a system, such as opening malicious email links, clicking pop-up ads, or connecting infected physical media (e.g., flash drives).
Phishing and Social Engineering Hoaxes:
Fraudulent attempts to extract money or sensitive authenticating credentials from users.
Corporate Phishing Vectors: Hackers often broadcast generic, official-looking emails to every employee within an organization. If a single employee responds with valid network credentials, the network perimeter is compromised.
Website Cloning: Because web pages consist of basic HTML, malicious actors can identically mirror real bank or government portals.
Verification Protocol: Legitimate financial institutions and government agencies (such as the Internal Revenue Service / IRS) never send unsolicited emails containing direct links requesting portal login.
Incident Response: Never click links embedded within suspicious emails. If account verification is needed, completely close and restart the web browser, manually enter the verified institutional URL into the address bar, and confirm the domain before proceeding.
Web Content Evaluation and Critical Information Analysis
Lack of Information Quality Control:
Traditional printed media (books, periodicals like US news and.) undergo strict editorial review to verify factual accuracy.
The Internet operates without centralized guardrails, quality controls, or editors, leading to vast amounts of false, misleading, or incorrect information.
Web Source Evaluation Framework:
Source Authority: Identify the institution creating the site (e.g., scientific entities like NASA maintain high reliability relative to unverified sources).
Audience and Bias: Determine the target demographic and evaluate potential inherent biases in the content.
Currency: Verify whether published information and data are kept up to date.
Link Integrity: Trace outbound links to ensure they lead to legitimate external sources rather than unreliable paths.
Cross-Verification: Compare contradictory web sources to determine factual accuracy (e.g., evaluating conflicting global warming claims published by NASA versus Shell Oil).
Wikipedia and User-Edited Platforms:
Wikipedia allows open content contributions from any user. While community oversight corrects errors over time, content cannot be accepted as inherently factual without external verification.
Historical Example of Research Bias (Tobacco Industry):
Historical medical claims initially asserted that smoking cigarettes was safe and beneficial to health.
As contrary evidence surfaced, industry claims shifted to stating there was "no direct proof" of health risks.
Opposing studies emerged simultaneously: the American Medical Association published research establishing direct links between smoking and lung cancer, while tobacco industry-funded scientists produced counter-studies denying any causal connection.
Electronic Commerce (E-Commerce)
Definition: The buying, selling, and financial transacting of goods and services over electronic networks.
E-Commerce Classifications:
Business-to-Consumer (B2C): The most prevalent model, involving businesses selling retail products directly to individual consumers.
Business-to-Business (B2B): Wholesale transactions conducted exclusively between commercial entities (e.g., sourcing manufacturing components or managing inventory via just-in-time inventory systems).
Consumer-to-Consumer (C2C): Independent marketplace and auction platforms (such as eBay) structured to facilitate direct transactions between individual consumers.
Security Risk Comparison (In-Person vs. Online Transactions):
Physical Credit Card Risk: Handing a credit card to a restaurant server allows potential manual theft of card numbers, but local physical fraud is relatively simple to trace legally.
Online Credit Card Risk: Transacting over insecure web connections exposes card data to global attackers, rendering legal tracking and recovery virtually impossible.
E-Commerce Defensive Safeguards:
Protocol Verification: Ensure the URL begins with
HTTPS(Secure Connection) instead of standardHTTPbefore entering payment details.Visual Trust Indicators: Look for verified padlock icons indicating active site security certification.
Multi-Factor Authentication (MFA): Utilize supplementary security layers (such as Duo Push systems used at institutions like Pitt State).
Merchant Selection: Restrict online purchases to verified, reputable commercial vendors.
Debit Card vs. Credit Card Policy:
Debit Cards: MUST NEVER BE USED ONLINE. Debit card fraud grants direct, un-capped access to personal bank account checking balances, leaving the user with full liability.
Credit Cards: Recommended for all online purchases. Consumer protections cap personal liability for unauthorized credit card charges, requiring the credit card issuer to absorb remaining losses.
Network Integrity: Avoid conducting commercial transactions on public Wi-Fi networks or shared public computers. Home Wi-Fi routers must also be secured to prevent local neighbor interception.
Cryptography, Encryption Protocols, and Transaction Security
Core Encryption Concepts:
Plaintext data is processed through an encryption algorithm using a specific key to output encrypted ciphertext.
Altering the encryption key generates completely different ciphertext for identical plaintext.
Data must be encrypted locally on the host computer prior to being transmitted over public network infrastructure.
Secret Key Encryption (Symmetric Encryption):
Both sender and receiver utilize the exact same key for encryption and decryption.
Vulnerability: The recipient must transmit the shared key across public network paths to the sender. If an attacker intercepts the transmitted key, they can decrypt all intercepted ciphertext.
Public Key Encryption (Asymmetric Encryption):
Uses asymmetric key pairs consisting of two distinct, mathematically linked keys:
Public Key: Distributed publicly over the network and used exclusively to encrypt plaintext. It cannot be used to decrypt ciphertext.
Private Key: Held securely on the receiver's server and never transmitted over the network. Used exclusively to decrypt ciphertext encrypted by the corresponding Public Key.
Intercepting the Public Key during network transmission is useless to attackers, as it provides no decryption capability.
Secure Socket Layer (SSL):
Security protocol developed originally by Netscape.
Integrates Secret Key (Symmetric) encryption nested inside Public Key (Asymmetric) encryption.
Uses digital certificates to authenticate host vendors and displays the
HTTPSURL prefix.
Secure Electronic Transaction (SET):
Security protocol developed jointly by Visa and Mastercard to eliminate merchant-side credit card fraud.
Uses digital certificates to authenticate both the purchaser and the merchant vendor.
Key Architecture Feature: The merchant never receives or stores the buyer's credit card number. Payment details are routed directly to Visa or Mastercard for verification, and the credit card network returns a simple approval or decline confirmation back to the vendor.
Questions & Discussion
What are some personal anecdotes regarding spam and cookies?
Spam was originally invented as a military MRE during World War II. Personal cookie flavor preferences include oatmeal raisin, chocolate oatmeal no-bake, and caramel apple oatmeal from Orton's. Personal bank checking accounts may hold modest funds (e.g., around ), making zero-liability protection vital.
Is Wikipedia considered a reliable source for academic research?
No. Because Wikipedia permits open editing by the public, entries can contain inaccuracies. While community edits correct errors over time, information must be taken with caution and verified against secondary sources.
How does the safety of flying versus driving compare to credit card security?
Flying has fewer total fatalities than driving (making it statistically safer), but automobile accidents have higher survivability rates. Similarly, physical credit card usage carries localized risk that is easily traceable, whereas online theft allows remote international attackers to steal funds irreversibly.