COMPUTER ( PAPER 1) Flashcards
DEFINE INTERNET
-The internet refers to the global network of computers and other electronic devices connected together through a system of routers and servers
-It is the infrastructure that allows us to send and receive information, including email, instant messaging, and file transfers
-The internet also provides access to other services such as online gaming, video streaming, and cloud computing
DEFINE WWW
-The World Wide Web, or simply the Web, is a collection of websites and web pages that are accessed using the Internet.
-The web consists of interconnected documents and multimedia files that are stored on web servers around the world.
-Web pages are accessed using a web browser, which communicates with the web server to retrieve and display the content
Difference between WWW and the INTERNET?
- INTERNET is a infrastructure and WWW is a service on top of that infrastructure.
- Internet uses
WHAT IS A WEB BROWSER?
A web browser is a piece of software used to access and display information on the internet.
Purpose of a Web Browser
The main purpose of a web browser is to render hypertext markup language (HTML) and display web pages.
Web browsers interpret the code in HTML documents and translate it into a visual display for the user such as videos,images/text and audio.
Features of a Web Browser
- Render HTML
- Storing bookmarks and favorites
- Recording user history
- Allowing use of multiple tabs
- Storing cookies
- Providing navigation tools - forward and backward
- They make use of hyperlinks which allow navigation
- Providing an address bar
- It have a home page
Define URL?
-The URL stand for uniform resource locator, and it is a text-based address that identifies the location of a resource on the internet.
-It is the address of a web page, image, video, or any other resource available on the internet.
Components of a URL
A URL can contain three main components:
~Protocol
~Domain name
~Web page/file name
–protocol://domainhost,domain name,domaintype /path/file name
– https://www.ashifaansari.com/path/ict
DEFINE HTTP
-HTTP stands for hypertext transfer protocol and is used for transferring data between a client and a server on the internet.
-It is a stateless protocol, meaning it does not store any information about previous requests or responses.
-HTTP operates on port 80 by default and sends data in plain text format, making it vulnerable to interception and manipulation.
DEFINE HTTPs
-HTTPS is a secure version of HTTP that uses encryption to protect data transferred between a client and a server.
-It operates on port 443 by default and uses Transport Layer Security (TLS) or Secure Socket Layer (SSL) to encrypt data.
-HTTPS ensures that data transferred between the client and server is secure, making it harder for unauthorized users to intercept or manipulate data.
How are web pages retrieved from webserver?
- When you type in a URL the browser sends the URL to the DNS using HTTP
- The DNS finds the matching IP addresses for the domain name in the URL and sends the IP address to the web browser.
- The web browser sends a request to the web server for web pages.
- The web pages are sent from the web server to the browser.
- The browser renders HTML to display web pages.
- Any security certificates are exchanged.
- SSL/HTTPS is used to secure the data which will encrypt any data that is sent.
Websites can be separated into which 2 parts?
- STRUCTURE
- PRESENTATION
STRUCTURE OF WEBSITE?
HTML is:
A language used to create the structure/layout of a website.
Written in plain text.
Used in the content layer.
Made up of a set of markup codes.
Used to tell the browser how to display the page.
E.g.
Where text is placed
Margins of page
Line break
Padding
PRESENTATION OF WEBSITE?
CSS is:
A language used to create the presentation / formatting of the page.
Written in plain text.
Used in the presentation layer.
Used by web pages to produce a consistent format between different web pages.
E.g.
Font size
Font color
Background color
WHY ARE THE PRESENTATION AND STRUCTURE OF THE WEBSITE KEPT SEPARATELY?
- The presentation of the page can be changed without needing to alter the structure; so regular updates can be made without needing to check the structure.
- The formatting document (written in CSS) can be used again for a different website.
- If further content and web pages are added to the website, the necessary formatting can be easily applied so this can save time when developing a website.
- CSS to standardize formatting so CSS only needs to be created once and be applied to each webpage.
- One person can develop the structure and one can develop the presentation so this can save time when developing and updating a website.
WHAT IS SSL AND HOW DOES IT WORK?
- SSL or secure socket layer is a security protocol developed to provide secure communication over the Internet.
- It uses symmetric and asymmetric encryption to secure data and ensure data integrity.
- It uses digital certificate for authentication.
- This digital certificate which contains _ public key is sent to the browser.
- The browser will validate the certificate and check whether it trust the certificate.
- If it does, it sends a message to the server. The server sends back a digitally signed acknowledgement to start an SSL encrypted session and the transaction will begin.
What is TLS ?
- TLS or transport layer socket is a security protocol used to provide secure communication over the internet.
- It uses a combination of symmetric and asymmetric encryption to secure data and ensure data integrity.
- TLS is an updated version of SSL.
2 layers of TLS?
Handshake Layer
* This is used to establish a secure connection between two endpoints.
Record Layer
* This is responsible for transmitting data securely between the client and the server.
How does TLS works?
- The client/browser requests secure connection to the server.
- The client/browser requests the server to identify itself.
- The server provides a digital certificate.
- The client/browser validates the certificate.
- The client/browser sends a signal back to the server to begin data transmission.
- The encryption method will be agreed & a session key is generated.
What are cookies?
Cookies are small text files that are stored on a user’s device by a website. They are sent between a Web browser to a web server.
Functions of cookies?
- Saving Personal Details
- Tracking User Preferences
- Holding Items in an Online Shopping Basket
- Storing Login Details
- Storing Relevant Purchases
- Displaying Relevant Adverts
- Tracking Visitor Statistics
WHAT ARE 2 TYPES OF COOKIES AND THIER FEATURES?
Session Cookies
* These are temporary and are stored only during a user’s browsing session
* They are used to maintain a user’s state or activity during a single session, such as when filling out a form or navigating through a website.
Persistent Cookies
* These are stored on a user’s device for a longer period, usually for a few weeks to several years
* They are used to remember user preferences and settings, such as language preferences, login details, and shopping cart items
DIFFERENCE BETWEEN SESSION AND PERSISTENT COOKIES?
- Session cookies are stored in memory/RAM ,whereas persistent cookies are stored on the hard drive/secondary storage.
- When the browser is closed a session cookie is lost , whereas a persistent cookie is not lost until deleted by the user/they expire.
Name Cyber Security Threats
- Hacking
- Malware - Virus, Worms, Trojan horse, Spyware, Ransomware
- Brute - force - attack
- Pharming
- Phishing
- Distributed Denial of services attack
- Data interception
- Social engineering