17. Secure Web Browsing Flashcards
What is client-side scripting in web browsing?
Code executed within browser that alters page’s appearance or adds functionality
Server-side scripting means code runs on the server to display the page
Why is enabling client-side scripting not that risky?
Modern browsers “sandbox” the scripts running on page/browser
Scripts can’t change anything on other tabs or on the computer (Atleast not without explicit authorization from the user). Scripting can be disabled in some browsers via settings, though newer browsers like Microsoft’s Edge don’t permit script disabling.
Browser Add-ons
What do browser extensions do?
Add functionality to the browser
They might install a toolbar or change menu options. They can run scripts to interact with the pages you are looking at.
What are browser cookies?
Plain text files created by a website when you visit it
Purpose of browser cookies?
To store session info to personalize the website for users
Cookies can store data like form inputs, site preferences, and can be used for targeted ads or to gather browser info, IP address, and browsing habits, often revealing geographic location
Meaning of PII?
Cookies are a type of PII
Personally Identifiable Information
What are root certificates?
Certificates pre-installed on browsers that are automatically trusted
These represent the commercial CAs that grant certificates to most of the companies that do business on the web
Meaning of PKI?
Public Key Infrastructure
What is PKI?
Framework where Certificate Authorities (CAs) verify server certificates for browsers
This ensures secure communication
How to know if a site you visit is valid & trusted?
Padlock is shown
How to know if a site you visit is HIGHLY trusted?
Padlock is shown & address bar is colored green
How to know if a site you visit is untrusted or invalid?
Site is blocked by a warning message
What do firewalls do?
Restrict access to a computer/network to a defined list of hosts & apps
How do firewalls restrict access?
By filtering packets as they move through the system
firewalls make decisions based on predefined rules about whether to allow or block those packets.
What can packet filters on firewalls be applied to?
- IP addresses
- Port numbers
IP addresses will affect host devices; Ports will affect app protocols (HTTP, FTP, SMTP, etc.)