The Internet, the Web and email
Networks and their types, the Internet against the Web, IP addresses and domain names, URLs and protocols, browsers and searching, email and its parts, and the essentials of online safety.
Module contents
Networks
A computer network is two or more computers connected so that they can exchange data and share resources — files, printers, an Internet connection.
Types by area covered
| Type | Covers | Example |
|---|---|---|
| PAN — Personal Area Network | A few metres, round one person | A phone paired with earphones by Bluetooth |
| LAN — Local Area Network | One building or campus | A college computer laboratory |
| MAN — Metropolitan Area Network | A city | A cable television network, a city-wide campus link |
| WAN — Wide Area Network | A country or the world | The Internet itself |
A LAN is fast, cheap and privately owned; a WAN is slower per link, costly, and usually built from leased connections.
Topologies
The physical or logical arrangement of the connections.
- Bus — all machines share one backbone cable. Cheap and simple, but a break in the backbone stops everything, and performance falls as traffic rises.
- Star — every machine connects to a central hub or switch. The usual arrangement today: one failed cable affects only its own machine, though the failure of the hub stops all.
- Ring — each machine connects to two neighbours, forming a loop. Data travels round in one direction.
- Mesh — every machine connected to every other. Extremely reliable and extremely expensive; used for network backbones.
- Tree / hybrid — a hierarchy of stars, which is how a large campus network is actually built.
Hardware
NIC (network interface card), hub (repeats every signal to every port), switch (sends each frame only to its destination port, and so is far more efficient than a hub), router (joins different networks and chooses paths between them), modem (converts between digital data and the signal a telephone or cable line carries), gateway, repeater, access point for Wi-Fi.
Transmission media: twisted pair, coaxial cable, optical fibre (fastest, immune to electrical interference), and wireless — Wi-Fi, Bluetooth, microwave, satellite.
The Internet and the Web
These two are not the same, and the distinction is examined.
- The Internet is a global network of networks, connected by the TCP/IP protocol suite. It is infrastructure — the roads.
- The World Wide Web is one service running on the Internet: a collection of linked documents reached by HTTP. It is one kind of traffic on those roads.
Email, file transfer, video calling and online games also run on the Internet without being part of the Web. The Web was invented in by Tim Berners-Lee at CERN, decades after the Internet's ancestor ARPANET ().
Internet services
WWW, email, search engines, file transfer (FTP), video conferencing, VoIP (voice over IP — internet telephony), instant messaging, social networking, e-commerce, cloud storage, e-learning, online banking, e-governance.
Connecting
An ISP — Internet Service Provider — sells the connection. Types: dial-up (obsolete), broadband (DSL, cable), optical fibre, mobile data (3G/4G/5G), Wi-Fi, satellite. Bandwidth is the data rate, quoted in Mbps.
Addresses and names
IP address
Every device on the Internet has a numeric IP address.
- IPv4 — four numbers – separated by dots, for example . Being bits, it allows about billion addresses, which have run out.
- IPv6 — bits, written in hexadecimal groups, providing an effectively unlimited supply.
Domain name and DNS
Numbers are hard to remember, so a domain name such as uoc.ac.in stands for an address. DNS — the Domain Name System — is the distributed directory that translates a name into its IP address. Without DNS the Internet would still work; nobody could use it.
Top-level domains: .com commercial, .org organisation, .net network, .edu education, .gov government, .mil military, .int international. Country codes: .in India, .uk, .us. India combines them: .ac.in academic, .co.in commercial, .gov.in, .nic.in.
URL
A URL — Uniform Resource Locator — is the full address of a resource.
Protocols
A protocol is an agreed set of rules for exchanging data.
| Protocol | Purpose |
|---|---|
| TCP/IP | The foundation: addressing and reliable delivery |
| HTTP | Transfers web pages |
| HTTPS | HTTP encrypted with SSL/TLS — the padlock in the address bar |
| FTP | Transfers files |
| SMTP | Sends email |
| POP3 | Downloads email to one device, usually removing it from the server |
| IMAP | Synchronises email, leaving it on the server so several devices agree |
| DNS | Resolves names to addresses |
The three mail protocols are a standard question. SMTP sends. POP3 downloads. IMAP synchronises. IMAP is what allows the same inbox to look identical on a phone and a laptop; POP3, downloading to one machine, cannot.
HTTPS matters. Without it, everything typed — passwords, card numbers — travels readable across every network in between. Never enter credentials on a page whose address does not begin https://.
Browsers and searching
A web browser is the program that requests pages and displays them: Chrome, Firefox, Edge, Safari, Opera.
Features: tabs, bookmarks/favourites, history, downloads, address bar, back and forward, refresh, zoom, private/incognito mode (which stops local history being kept but does not make browsing anonymous to the ISP or the site), extensions, and developer tools.
A search engine indexes the Web and answers queries: Google, Bing, DuckDuckGo. A web crawler follows links and collects pages into the index; a query is matched against the index rather than against the live Web.
Searching effectively
| Technique | Effect |
|---|---|
"exact phrase" | Only pages containing those words in that order |
site:uoc.ac.in bca | Search within one site |
filetype:pdf matrices | Only PDF files |
matrices -matrix | Exclude a word |
define:algorithm | Definitions |
2020..2024 | A numeric or date range |
OR | Either term |
Evaluating what is found is the part students skip. Ask: who published this, and why? Is it dated? Is it a primary source or a summary of one? A university, government or established publisher's site is more dependable than an anonymous page, and a syllabus question is best answered from the university's own document.
Electronic mail is the exchange of messages over a network. Providers: Gmail, Outlook, Yahoo Mail, and organisational servers.
An address
The @ separates the two, and is read "at". Addresses contain no spaces.
Parts of a message
| Field | Purpose |
|---|---|
| To | The main recipients |
| Cc | Carbon copy — others who should see it; every recipient sees these addresses |
| Bcc | Blind carbon copy — recipients hidden from one another |
| Subject | A short statement of what the message is about |
| Body | The message itself |
| Attachment | A file sent with the message |
| Signature | A block appended automatically |
Bcc is a privacy tool. Writing to sixty students with all sixty addresses in To discloses every address to every recipient. The same message with the addresses in Bcc does not. This is the standard examinable point about Bcc.
Folders and actions
Inbox, Sent, Drafts, Spam/Junk, Trash, Archive; and Reply, Reply All, Forward, flag/star, label, filter, search.
Reply All goes to everyone who received the original, including those in Cc — the source of a great deal of unnecessary mail, and occasionally of real embarrassment. Check the recipient list before sending.
Advantages and limitations
Advantages: almost instant, effectively free, reaches any distance, sends files, keeps a written record, one message to many recipients, and can be read whenever convenient.
Limitations: needs a connection; the recipient may not read it promptly; spam; a common route for viruses in attachments; unsuitable for genuinely urgent matters; and easy to send hastily or to the wrong person — and impossible to recall once sent.
Safety online
The threats.
- Virus — malicious code that attaches itself to a file and spreads when that file is run.
- Worm — spreads by itself across a network, without needing a host file.
- Trojan — appears to be a useful program while doing something else.
- Ransomware — encrypts the victim's files and demands payment.
- Spyware / keylogger — records activity or keystrokes secretly.
- Phishing — a fraudulent message imitating a bank or service to trick the reader into surrendering a password, card number or OTP.
- Hacking, spam, identity theft, cyberbullying.
The precautions.
- Keep antivirus software and the operating system updated; most successful attacks exploit a fault for which a patch already exists.
- Use strong, different passwords for different services, and a password manager to hold them.
- Switch on two-factor authentication wherever it is offered.
- Never open an attachment or click a link in an unexpected message, however plausible its sender appears.
- Look for HTTPS before typing any credential.
- Never disclose an OTP, PIN or password to anyone. No genuine bank, and no genuine support desk, will ever ask for one.
- Avoid entering credentials over public Wi-Fi; use a VPN if you must.
- Back up important data, which is the only reliable defence against ransomware.
- Log out of shared computers, and be careful what is posted publicly.
Recognising phishing. Look for a sender's address that is close to but not the real domain; urgency and threat ("your account will be closed today"); a generic greeting; spelling and grammar errors; a link whose true destination, revealed by hovering over it, differs from its text; and any request for a credential. When in doubt, reach the organisation through its own published address rather than through anything in the message.
Worked examples
2 solvedEvery step is shown, in the order you would write it in an answer book.
Reading a URL
Question
Identify every part of https://www.uoc.ac.in/academics/bca/syllabus.pdf and say what each tells you.
The protocol — https://
The rules by which the page will be fetched. HTTPS is HTTP with SSL/TLS encryption, so the traffic cannot be read in transit.
Its presence is a security fact, not a formality: on plain
http://anything typed into the page travels readable across every network on the route.The subdomain — www
A name for a particular host within the domain. Conventionally
wwwfor a web server, but any label may be used —mail.,exam.,library.— and each may point to a different machine.The domain name — uoc.ac.in
The registered name of the organisation, read right to left in order of generality:
.in— the country code top-level domain, India.ac— the second-level domain for academic institutions in Indiauoc— the organisation itself
So the address is an Indian academic institution before a single character of the page has loaded. That is a genuine reason to trust a syllabus found here over one on an anonymous
.com.DNS translates this name into the server's numeric IP address; the network itself routes only by number.
The path — /academics/bca/
The directory structure on the server leading to the file, exactly like a folder path on a disk. Paths are often case sensitive on the server, unlike Windows file names.
The file — syllabus.pdf
The resource requested, and its extension says what will arrive: a PDF, which the browser will display or download rather than render as a page.
Putting it together
A URL may also carry a query string after a
?(parameters sent to the server) and a fragment after a#(a position within the page).
Answer
Protocol https://; host www; domain uoc.ac.in (.in India, .ac academic, uoc the institution); path /academics/bca/; resource syllabus.pdf.
NoteRead a domain right to left. It is the quickest way to judge who is really publishing a page — and the trick phishing links rely on you not doing.
Spotting a phishing message
Question
An email reads: "Dear Customer, Your account will be blocked in 24 hours. Click here to verify: http://sbi-verify-login.com/secure. Reply with your OTP to confirm." Identify every warning sign.
A generic greeting
"Dear Customer" — a bank that holds your account holds your name and uses it. Bulk fraud cannot, because the same message is being sent to thousands of addresses harvested indiscriminately.
Manufactured urgency and threat
"blocked in 24 hours" exists to stop you thinking. A deadline discourages the one action that would defeat the fraud — pausing to check with the bank through its own channel. Genuine notices give reasonable notice and do not threaten.
The domain is wrong
Read
sbi-verify-login.comright to left: the registered domain issbi-verify-login.com, which belongs to whoever bought it. The letters "sbi" are merely part of a name anyone can register.India's State Bank is at
onlinesbi.sbi. Words before the final domain prove nothing —sbi.attacker.comis a site belonging entirely toattacker.com.No HTTPS
The link begins
http://, nothttps://. No bank operates a login page without encryption. Anything typed would cross the network readable.Note the converse is not reassurance: a padlock proves the connection is encrypted, not that the site is honest. Fraudulent sites obtain certificates easily.
It asks for an OTP — decisive on its own
This single feature settles it. A One Time Password is the second factor protecting the account; its whole purpose is that only the account holder ever sees it.
No bank, and no genuine support desk, ever asks for an OTP, PIN or password, by email, message or telephone. Any request for one is fraud, with no exception worth entertaining.
"Click here" concealing the destination
Link text can say anything at all while pointing elsewhere. Hovering over a link shows its true destination in the status bar, and the two differing is a reliable sign of fraud.
What to do
- Do not click, and do not reply.
- If there is any doubt whether the account really needs attention, reach the bank independently — type its address yourself, use its official app, or telephone the number printed on the card. Never use contact details supplied by the suspicious message.
- Report it to the provider as phishing and delete it.
- If a credential has already been entered, change that password at once from a different device, and inform the bank immediately.
Answer
Generic greeting; manufactured urgency; a look-alike domain that is not the bank's; plain HTTP; a "click here" link hiding its destination; and — decisively — a request for an OTP, which no genuine organisation ever makes.
NoteThe OTP request alone is proof. Everything else is corroboration.
Practice problems
6 with solutionsWork each one on paper first. The full solution — not just the answer — is one click away.
Differentiate between the Internet and the World Wide Web.
Show solutionHide solution
| Internet | World Wide Web | |
|---|---|---|
| What it is | A global network of networks — physical infrastructure | A service that runs on the Internet: linked documents |
| Consists of | Cables, fibre, routers, satellites, connected computers | Web pages, websites and the hyperlinks between them |
| Protocol | TCP/IP | HTTP / HTTPS |
| Reached with | Any Internet application | A web browser |
| Began | ARPANET, | , Tim Berners-Lee at CERN |
| Relationship | The Web is one service on it | It is one of many services |
The essential point. The Internet is the roads; the Web is one kind of traffic on them. Email, file transfer (FTP), video calling, VoIP, online games and software updates all use the Internet without being part of the Web.
This is why "the Internet is down" and "this website is down" are different complaints, and why the Web could be replaced tomorrow while the Internet continued unchanged.
A useful test: opening Gmail in a browser uses the Web to reach email; collecting the same mail with an application over POP3 or IMAP uses the Internet but not the Web at all.
What is a URL? Identify the parts of https://www.example.org/notes/unit1.html
Show solutionHide solution
A URL — Uniform Resource Locator — is the complete address of a resource on the Internet, stating both how to fetch it and where it is.
The parts.
-
Protocol —
https://. The rules for the transfer. HTTPS is HTTP secured with SSL/TLS, so the traffic is encrypted. Others:http://,ftp://,mailto:. -
Host (subdomain) —
www. Names a particular server within the domain. Conventional but not compulsory;mail.orlibrary.may name other servers. -
Domain name —
example.org. The registered name, read right to left:.orgis the top-level domain (organisation) andexamplethe organisation. DNS translates this into the server's numeric IP address. -
Path —
/notes/. The directory on the server, like a folder path. Often case sensitive. -
File —
unit1.html. The resource requested, its extension indicating the type.
A URL may also carry a query string after ? (parameters, such as ?page=2) and a fragment after # (a position within the page).
https://, host www, domain example.org (.org being the top-level domain), path /notes/, file unit1.html.Explain LAN, MAN and WAN with one example and one distinguishing feature each.
Show solutionHide solution
1. LAN — Local Area Network. Connects computers within a single building or campus, typically up to a few kilometres. Owned and administered privately by the organisation that uses it, so it needs no permission from any authority.
Example: a college computer laboratory, or an office floor.
Distinguishing feature: highest data rate and lowest error rate, because the distances are short and the cabling is under the owner's control. Speeds of 100 Mbps to 10 Gbps are ordinary.
2. MAN — Metropolitan Area Network. Spans a city or a large town, up to a few tens of kilometres, usually by joining several LANs. Often built and run by a service provider or a municipal body, using leased lines or fibre laid along public routes.
Example: a cable television network across a city; a university linking its several campuses within one city; a city-wide corporation network.
Distinguishing feature: intermediate in every respect — larger than a LAN, faster and cheaper per kilometre than a WAN — and it typically requires public rights of way, so it cannot be purely private.
3. WAN — Wide Area Network. Spans a country, a continent or the world, with no distance limit. Built from links leased from telecommunication carriers, and usually owned by no single organisation.
Example: the Internet — the largest WAN in existence; also a bank's network joining branches across India.
Distinguishing feature: greatest coverage but lowest speed per link and highest error rate and cost, because signals travel very long distances over infrastructure the user does not control.
The pattern. As the area grows, coverage rises while speed, reliability and degree of private control all fall — the trade-off that makes all three necessary rather than one being simply better.
Also worth naming: PAN, a Personal Area Network of a few metres, such as a phone paired with earphones over Bluetooth.
| LAN | MAN | WAN | |
|---|---|---|---|
| Area | Building, campus | City | Country, world |
| Speed | Highest | Medium | Lowest per link |
| Cost of setup | Low | Medium | High |
| Ownership | Private | Provider or public body | Multiple, usually leased |
| Error rate | Lowest | Medium | Highest |
Explain the parts of an email message, and the difference between To, Cc and Bcc. When should Bcc be used?
Show solutionHide solution
Parts of a message.
| Field | Purpose |
|---|---|
| To | The main recipient or recipients — those the message is addressed to |
| Cc | Carbon copy — others who should see it for information |
| Bcc | Blind carbon copy — recipients hidden from all the others |
| Subject | A short line stating what the message concerns |
| Body | The message itself |
| Attachment | A file sent along with the message |
| Signature | A block of sender details appended automatically |
An address has the form username@domain, the @ separating the user's name from the domain of the mail server, and containing no spaces.
To, Cc and Bcc compared.
| To | Cc | Bcc | |
|---|---|---|---|
| Who it is for | Those expected to act or reply | Those who need to know | Those who need to know, privately |
| Visible to other recipients? | Yes | Yes | No |
| Sees the other Bcc addresses? | — | — | No — each Bcc recipient sees only their own |
| Reply All includes them? | Yes | Yes | No |
When Bcc should be used.
1. Writing to a large group of people who do not know one another. This is the important case. Sending a notice to sixty students with all sixty addresses in To discloses every student's address to every recipient — a breach of their privacy, and a gift to anyone collecting addresses for spam. The same notice with the addresses in Bcc reaches everyone while disclosing nothing.
2. Copying someone discreetly — keeping a supervisor informed without making that visible to the main recipient.
3. Preventing a Reply All storm. Because Bcc recipients are not on the visible list, no one can reply to the whole group. On a mailing of hundreds this alone saves a great deal of unnecessary mail.
4. Keeping a copy for a record, by Bcc'ing an archive address.
A caution. Bcc should not be used to conceal a recipient from someone who has a legitimate right to know they are involved — that is a misuse of a privacy feature rather than an application of it. And the ordinary care applies to Reply All itself: it goes to everyone in To and Cc, so the recipient list is worth reading before sending.
Distinguish between SMTP, POP3 and IMAP, and explain why IMAP is preferred when mail is read on several devices.
Show solutionHide solution
All three are email protocols, but they do different jobs. SMTP is for sending; POP3 and IMAP are alternatives for receiving.
SMTP — Simple Mail Transfer Protocol. Carries an outgoing message from the sender's program to the sender's mail server, and onward from server to server until it reaches the recipient's mail server. It is a push protocol and is used for sending only — it cannot retrieve mail.
POP3 — Post Office Protocol version 3. Downloads messages from the server to one device, and by default deletes them from the server afterwards. The mail then exists only on that machine.
IMAP — Internet Message Access Protocol. Synchronises with the server. Messages remain on the server, and the client displays them along with their folder structure and read/unread status. Actions taken on the device are carried out on the server.
| POP3 | IMAP | |
|---|---|---|
| Mail stored on | The device | The server |
| Left on the server? | No, by default | Yes |
| Multiple devices | Poorly supported | Fully supported |
| Folders synchronised? | No | Yes |
| Read/unread status shared? | No | Yes |
| Works offline | Yes, fully | Only for what has been cached |
| Server storage used | Little | More |
Why IMAP is preferred for several devices.
Suppose the same account is used on a phone and a laptop.
With POP3, whichever device connects first downloads the messages and removes them from the server. Open the laptop later and the inbox is empty — the mail is on the phone. Read a message on the phone and the laptop has no way of knowing. Reply from the laptop and the sent copy exists only there. Folders created on one device do not exist on the other. The single account behaves as two unrelated mailboxes, each holding part of the mail.
With IMAP, the server holds the definitive mailbox and every device is a view of it. Reading a message on the phone marks it read on the laptop; filing it into a folder files it everywhere; deleting it deletes it once. Every device shows the same inbox, because there is only one inbox.
Two further advantages of IMAP: the mail survives the loss or failure of any device, since the server holds it; and only headers need be fetched until a message is opened, so a large mailbox is usable over a slow connection.
When POP3 is still reasonable: a single device, a wish to keep everything locally rather than on a provider's server, or very limited server storage.
What is phishing? Describe how to recognise it and the precautions to be taken online.
Show solutionHide solution
Phishing is a fraud in which a message impersonating a trusted organisation — a bank, a service provider, an employer, a university — persuades the reader to disclose a credential such as a password, PIN, card number or OTP, or to install malicious software.
The word plays on "fishing": bait is put out to a very large number of people in the expectation that a few will take it. It is an attack on the person, not on the computer, which is why it defeats technical defences: no software fault is exploited when the victim types their own password into a convincing form.
Variants: spear phishing (aimed at one named individual using real details about them), vishing (by telephone), smishing (by SMS), and pharming (corrupting DNS so a correctly typed address reaches a fake site).
How to recognise it.
-
A generic greeting — "Dear Customer", "Dear User". An organisation holding your account holds your name.
-
Urgency and threat — "within 24 hours", "your account will be suspended", "immediate action required". The purpose is to prevent you pausing to check, which is the one action that defeats the fraud.
-
A domain that is close but wrong. Read the address right to left: in
sbi-verify-login.comthe registered domain issbi-verify-login.com, which anyone may buy. Words appearing earlier prove nothing —sbi.attacker.combelongs entirely toattacker.com. Watch also for misspellings and swapped characters:paypa1,arnazon. -
A link whose destination differs from its text. Hovering over it reveals the true target in the status bar.
-
Missing HTTPS on a page asking for credentials. Note the converse is not reassurance — a padlock proves only that the connection is encrypted, and fraudulent sites obtain certificates easily.
-
Poor spelling and grammar, or an unusual tone for the supposed sender.
-
Any request for a password, PIN or OTP — decisive on its own. No genuine bank or support desk ever asks for one. This single feature identifies fraud with no exception worth entertaining.
-
An unexpected attachment, particularly
.exe,.zipor a document urging you to enable macros.
Precautions.
- Never disclose an OTP, PIN or password to anyone, by any channel.
- Verify independently. If a message might be genuine, reach the organisation through its own published address, its official app, or the number printed on your card — never through details supplied by the suspicious message.
- Type addresses, or use your own bookmarks, for banking and other sensitive sites rather than following links.
- Two-factor authentication everywhere it is offered, so a stolen password alone is insufficient.
- Strong, different passwords per service, held in a password manager. Reuse means one breach compromises every account.
- Keep the operating system, browser and antivirus updated — most successful attacks exploit a fault already patched.
- Do not open unexpected attachments or links, even from a known sender, whose account may itself be compromised.
- Avoid entering credentials over public Wi-Fi; use a VPN if unavoidable.
- Back up important data — the only reliable defence against ransomware, since it removes the attacker's leverage.
- Log out of shared computers, and clear the session.
- Report and delete suspected phishing; providers use the reports to protect other users.
If a credential has already been given: change that password immediately from a different device, change it anywhere else it was reused, inform the bank or provider at once, and watch the account for unauthorised activity.
The principle. Phishing works on urgency and trust rather than on any technical weakness. The habit that defeats nearly all of it is simply to slow down: no legitimate organisation is harmed by your taking two minutes to verify a request through a channel you chose yourself.