Web Concepts and Network Security

The basics of how the web works, and common threats to be aware of.

Web Concepts and Network Security

Web Concepts उन basic concepts और technologies को समझाते हैं जिनकी सहायता से World Wide Web काम करता है। दूसरी ओर, Network Security network, devices और data को unauthorized access, attacks, misuse और other threats से protect करने के लिए अपनाए गए methods और practices का समूह है।

Easy Concept: Web यह बताता है कि Internet पर websites और web services कैसे काम करती हैं, जबकि Network Security यह सुनिश्चित करने में सहायता करती है कि communication और data सुरक्षित रहें।

World Wide Web (WWW)

World Wide Web (WWW) Internet पर उपलब्ध interconnected web pages और resources की एक system है। Users web browsers की सहायता से इन resources को access करते हैं।

Web resources को access करने के लिए सामान्यतः URLs, web browsers, web servers और HTTP/HTTPS जैसे protocols का उपयोग किया जाता है।

Internet और World Wide Web में अंतर

Internet World Wide Web
Networks का global network है। Internet पर चलने वाली interconnected web resources की system है।
इसके माध्यम से कई प्रकार की services उपलब्ध होती हैं। मुख्यतः websites और web resources से संबंधित है।
Web के अलावा email, file transfer आदि services भी support करता है। Web browsers और web servers के माध्यम से access किया जाता है।

Web Browser

Web Browser एक software application है जिसका उपयोग websites और web resources को access और display करने के लिए किया जाता है। Browser web server को request भेजता है और server से प्राप्त resources को user के सामने render करता है।

Browser के प्रमुख functions हैं:

  • Web pages को access करना।
  • HTML और अन्य web resources को render करना।
  • HTTP/HTTPS requests भेजना।
  • Images, videos और अन्य web content display करना।
  • Web applications के साथ interaction करना।

Web Server

Web Server एक computer system या software है जो web resources को store, process और clients को serve करता है। जब browser किसी webpage के लिए request करता है, web server उस request को process करके appropriate response भेज सकता है।

Web Browser
     │
     │ HTTP / HTTPS Request
     ▼
Web Server
     │
     │ Response
     ▼
Web Browser

Website और Webpage

Webpage web पर उपलब्ध एक individual document या resource होता है। कई related webpages को एक साथ organize करके Website बनाया जा सकता है।

Webpage Website
एक individual web document/resource. Related webpages और resources का collection.
Website का एक हिस्सा हो सकता है। Multiple webpages contain कर सकती है।

URL

URL (Uniform Resource Locator) किसी resource का web address होता है। इसका उपयोग browser को यह बताने के लिए किया जाता है कि किसी resource को कहाँ और किस protocol के माध्यम से access किया जा सकता है।

एक URL में सामान्यतः protocol, domain name और path जैसे components हो सकते हैं।

https://www.example.com/courses/cpp.html
│      │               │
│      │               └── Path
│      └────────────────── Domain
└───────────────────────── Protocol

Components of a URL

Component Example Purpose
Scheme / Protocol https Communication protocol indicate करता है।
Domain example.com Website/server को identify करता है।
Path /courses/cpp.html Specific resource को identify करता है।

Domain Name

Domain Name website या Internet service की human-readable पहचान है। Domain names को याद रखना IP addresses की तुलना में आसान होता है। DNS domain name को corresponding IP address में resolve करने में सहायता करता है।

Web Hosting

Web Hosting वह service है जिसके माध्यम से website की files और resources को Internet-connected server पर store किया जाता है ताकि users उन्हें access कर सकें।

जब user website का domain खोलता है, browser appropriate server से resources request करता है और web server response प्रदान करता है।

Static and Dynamic Websites

Static Website में webpages का content सामान्यतः predefined files से serve होता है।

Dynamic Website में content user request, database या server-side processing के आधार पर dynamically generate हो सकता है।

Static Website Dynamic Website
Content generally predefined होता है। Content dynamically generate हो सकता है।
Simple websites के लिए suitable. Interactive applications के लिए suitable.
Database की आवश्यकता हमेशा नहीं होती। Database का उपयोग commonly किया जाता है।

Cookies

Cookies छोटे data records हैं जिन्हें websites browser के माध्यम से user's device पर store कर सकती हैं। इनका उपयोग preferences, session information और अन्य website-related information को maintain करने के लिए किया जा सकता है।

Example: किसी website पर language preference या login session को maintain करने में cookies का उपयोग किया जा सकता है।

Web Security

Web Security का उद्देश्य websites, web applications, users और web communication को unauthorized access और malicious activities से protect करना है।

Web security के important aspects में authentication, authorization, encryption, secure communication और safe user practices शामिल हैं।

Network Security

Network Security network infrastructure, devices, communication channels और data को unauthorized access, modification, disruption और अन्य security threats से protect करने के लिए अपनाए गए measures का समूह है।

Objectives of Network Security

Network security के तीन fundamental objectives को CIA Triad कहा जाता है:

  • Confidentiality
  • Integrity
  • Availability

1. Confidentiality

Confidentiality का अर्थ है कि data केवल authorized persons या systems द्वारा access किया जा सके। Encryption और access control confidentiality maintain करने में सहायता करते हैं।

2. Integrity

Integrity का अर्थ है कि data unauthorized तरीके से modify या corrupt न हो। Data integrity ensure करने के लिए hashing, digital signatures और access controls जैसी techniques का उपयोग किया जा सकता है।

3. Availability

Availability का अर्थ है कि authorized users को आवश्यकता के समय systems और data उपलब्ध रहें। Redundancy, backups और appropriate network protection availability improve करने में सहायता करते हैं।

             Network Security
                    │
          ┌─────────┼─────────┐
          │         │         │
   Confidentiality Integrity Availability
       │              │           │
    Secrecy       Accuracy      Access

Common Network Security Threats

Network को विभिन्न प्रकार के security threats का सामना करना पड़ सकता है। Common threats निम्न हैं:

  • Malware
  • Virus
  • Worm
  • Trojan Horse
  • Ransomware
  • Phishing
  • Denial-of-Service (DoS)
  • Distributed Denial-of-Service (DDoS)
  • Password attacks
  • Unauthorized access
  • Man-in-the-Middle (MitM) attacks

1. Malware

Malware malicious software का general term है। इसका उद्देश्य system को नुकसान पहुँचाना, data चोरी करना, unauthorized access प्राप्त करना या अन्य harmful activities perform करना हो सकता है।

2. Virus

Virus एक malicious program या code है जो सामान्यतः किसी file या program से attach होकर फैल सकता है। जब infected file execute होती है, virus system में unwanted activities perform कर सकता है।

3. Worm

Worm ऐसा malicious program है जो network या systems के माध्यम से स्वयं propagate कर सकता है। इसे फैलने के लिए आवश्यक रूप से किसी दूसरी program file से attach होने की जरूरत नहीं होती।

4. Trojan Horse

Trojan Horse ऐसा malicious software है जो स्वयं को legitimate या useful program के रूप में present कर सकता है। User के द्वारा इसे run करने पर यह malicious activity perform कर सकता है।

5. Ransomware

Ransomware एक प्रकार का malware है जो files या systems को inaccessible कर सकता है और access restore करने के बदले payment की demand कर सकता है।

Safety Tip: Unknown files, suspicious attachments और untrusted software को download या execute करने से बचें।

6. Phishing

Phishing एक social engineering technique है जिसमें attacker fake email, message, website या अन्य communication के माध्यम से user से sensitive information प्राप्त करने का प्रयास करता है।

Phishing में अक्सर login credentials, financial information या अन्य personal data प्राप्त करने का प्रयास किया जाता है।

7. Denial-of-Service (DoS)

Denial-of-Service (DoS) attack का उद्देश्य किसी server या network service को इतनी requests या traffic से overwhelm करना होता है कि legitimate users के लिए service unavailable या significantly degraded हो जाए।

8. Distributed Denial-of-Service (DDoS)

DDoS में attack traffic कई compromised systems या sources से generate किया जा सकता है। इससे target service को available रखना अधिक difficult हो सकता है।

DoS DDoS
Traffic एक source/system से आ सकता है। Traffic multiple distributed sources से आ सकता है।
Single-source attack. Distributed attack.

9. Password Attacks

Password attacks में attacker weak, reused या compromised passwords का फायदा उठाकर unauthorized account access प्राप्त करने का प्रयास कर सकता है। Strong passwords और multi-factor authentication ऐसे risks को reduce करने में सहायता करते हैं।

10. Man-in-the-Middle Attack

Man-in-the-Middle (MitM) attack में attacker communication करने वाले दो parties के बीच communication को intercept करने या manipulate करने का प्रयास कर सकता है। Secure protocols और encrypted connections ऐसे attacks के risk को reduce करने में सहायता करते हैं।

Authentication and Authorization

Authentication यह verify करता है कि user या device वास्तव में कौन है।

Authorization यह determine करता है कि authenticated user को कौन-से resources या actions की अनुमति है।

Authentication Authorization
"आप कौन हैं?" "आपको क्या करने की अनुमति है?"
Identity verify करता है। Permissions determine करता है।
Example: Password/OTP से login. Example: User को केवल read access देना।

Encryption

Encryption readable data को ऐसे encoded form में convert करने की process है जिसे unauthorized person आसानी से समझ नहीं सकता। Authorized recipient appropriate key या mechanism की सहायता से data को decrypt कर सकता है।

Plain Text
    │
    │ Encryption
    ▼
Encrypted Data
    │
    │ Decryption
    ▼
Plain Text

Types of Encryption

Encryption को broadly दो categories में समझा जा सकता है:

  • Symmetric Encryption
  • Asymmetric Encryption

Symmetric Encryption

Symmetric Encryption में encryption और decryption के लिए same secret key का उपयोग किया जाता है।

Sender
  │
  │ Same Secret Key
  ▼
Encryption
  │
Encrypted Data
  │
Decryption
  │
  ▼
Receiver

Asymmetric Encryption

Asymmetric Encryption में key pair का उपयोग किया जाता है: Public Key और Private Key। दोनों keys mathematically related होती हैं और अलग-अलग cryptographic purposes में उपयोग की जाती हैं।

Firewall

Firewall एक security system है जो predefined security rules के आधार पर incoming और outgoing network traffic को monitor और control करता है। Firewall hardware, software या दोनों के रूप में implement किया जा सकता है।

Internet
   │
   ▼
Firewall
   │
   ▼
Internal Network

Antivirus Software

Antivirus Software malicious software को detect, block और remove करने में सहायता करता है। Modern security software कई प्रकार के malware और suspicious activities के विरुद्ध protection provide कर सकता है।

Backup

Backup important data की additional copy है जिसे data loss या system failure की स्थिति में recovery के लिए उपयोग किया जा सकता है। Ransomware, hardware failure और accidental deletion जैसे incidents में backups बहुत useful हो सकते हैं।

Secure Communication

Network पर sensitive information transmit करते समय secure communication बहुत important है। HTTPS web communication को TLS के माध्यम से protect करता है। Secure protocols data confidentiality और integrity को improve करने में सहायता करते हैं।

Digital Certificate

Digital Certificate किसी website या entity की digital identity verify करने में सहायता करता है। HTTPS connections में certificates का उपयोग server authentication और secure TLS communication establish करने के लिए किया जाता है।

Cyber Security Best Practices

  • Strong और unique passwords का उपयोग करें।
  • जहाँ संभव हो Multi-Factor Authentication (MFA) enable करें।
  • Operating system और software को updated रखें।
  • Unknown links पर click करने से बचें।
  • Suspicious email attachments को open न करें।
  • Important data का regular backup रखें।
  • Public Wi-Fi पर sensitive activities करते समय सावधानी बरतें।
  • Websites पर sensitive information enter करने से पहले HTTPS और सही domain verify करें।
  • Antivirus और security tools को updated रखें।
  • Passwords किसी दूसरे व्यक्ति के साथ share न करें।

Secure vs Insecure Practices

Insecure Practice Secure Practice
Same password हर account में use करना Unique passwords use करना
Unknown links पर click करना Link और sender verify करना
Software updates ignore करना Software regularly update करना
Important data का backup न रखना Regular backups रखना
Suspicious attachments open करना Attachments verify करके ही open करना
Untrusted websites पर sensitive data देना Trusted और secure websites का उपयोग करना

Web Concepts and Network Security – Quick Comparison

Concept Main Purpose
Web Browser Web resources access और display करना
Web Server Web resources serve करना
URL Web resource का address
DNS Domain name को IP address में resolve करना
HTTP Web communication
HTTPS Secure web communication
Firewall Network traffic filtering और control
Antivirus Malware detection और protection
Encryption Data को protected form में convert करना
Authentication Identity verification
Authorization Access permissions control करना
Backup Data recovery में सहायता

Important Points

  • WWW Internet पर interconnected web resources की system है।
  • Internet और WWW एक ही चीज नहीं हैं।
  • Web Browser websites और web resources को access करता है।
  • Web Server clients को web resources serve करता है।
  • URL किसी web resource का address होता है।
  • Domain name human-readable website identifier है।
  • DNS domain names को IP addresses में resolve करने में सहायता करता है।
  • Static website में content generally predefined होता है।
  • Dynamic website में content dynamically generate हो सकता है।
  • Cookies browser में website-related information store कर सकती हैं।
  • Network Security का उद्देश्य network और data को threats से protect करना है।
  • CIA Triad में Confidentiality, Integrity और Availability शामिल हैं।
  • Malware malicious software का general term है।
  • Phishing user को deceive करके sensitive information प्राप्त करने का प्रयास करता है।
  • DoS service availability को disrupt करने का प्रयास करता है।
  • DDoS में multiple distributed sources से attack traffic आ सकता है।
  • Authentication identity verify करता है।
  • Authorization permissions determine करता है।
  • Encryption data को protected form में convert करती है।
  • Firewall network traffic को security rules के आधार पर filter/control करता है।
  • Antivirus malware detection और protection में सहायता करता है।
  • Backup data recovery के लिए important है।

Board Focus

Exam में विशेष रूप से याद रखें:
WWW → World Wide Web
Browser → Web resources access/display करता है
Web Server → Web resources serve करता है
URL → Web resource का address
DNS → Domain Name → IP Address
HTTP → Web communication
HTTPS → Secure web communication
CIA → Confidentiality + Integrity + Availability
Virus → Malicious code/program जो files/programs से जुड़कर फैल सकता है
Worm → Self-propagating malware
Trojan → Legitimate software का रूप लेने वाला malware
Ransomware → Data/system access को block करके ransom demand कर सकता है
Phishing → Fake communication से information चोरी करने का प्रयास
DoS → Service availability disrupt करना
DDoS → Distributed sources से DoS attack
Authentication → Identity verification
Authorization → Permission control
Encryption → Data को protected/encoded form में बदलना
Firewall → Network traffic filtering/control
Antivirus → Malware protection

Board Important Questions

Very Short Answer Questions

Q1. WWW का full form क्या है?

Answer: World Wide Web.

Q2. Web Browser क्या है?

Answer: Web Browser एक software application है जिसका उपयोग websites और web resources को access और display करने के लिए किया जाता है।

Q3. Web Server क्या है?

Answer: Web Server वह system/software है जो web resources को clients को serve करता है।

Q4. URL का full form क्या है?

Answer: Uniform Resource Locator.

Q5. DNS का मुख्य कार्य क्या है?

Answer: Domain names को corresponding IP addresses में resolve करना।

Q6. Network Security क्या है?

Answer: Network, devices और data को unauthorized access और security threats से protect करने के measures को Network Security कहते हैं।

Q7. CIA Triad में कौन-कौन से principles होते हैं?

Answer: Confidentiality, Integrity और Availability.

Q8. Phishing क्या है?

Answer: Fake communication या website के माध्यम से user से sensitive information प्राप्त करने का प्रयास Phishing कहलाता है।

Q9. Firewall क्या है?

Answer: Firewall security rules के आधार पर network traffic को monitor और control करने वाला security system है।

Q10. Encryption क्या है?

Answer: Readable data को protected encoded form में convert करने की process Encryption कहलाती है।

Short Answer Questions

Q11. Internet और WWW में अंतर बताइए।

Answer: Internet global network infrastructure है जो विभिन्न प्रकार की services support करता है, जबकि WWW Internet पर उपलब्ध interconnected web pages और resources की system है।

Q12. Authentication और Authorization में अंतर बताइए।

Authentication Authorization
User की identity verify करता है। User की permissions determine करता है।
“आप कौन हैं?” “आपको क्या करने की अनुमति है?”

Q13. Virus और Worm में अंतर बताइए।

Answer: Virus सामान्यतः किसी file या program से attach होकर फैल सकता है, जबकि worm network या systems के माध्यम से स्वयं propagate कर सकता है।

Q14. DoS और DDoS में अंतर बताइए।

Answer: DoS attack में attack traffic एक source से आ सकता है, जबकि DDoS attack में multiple distributed sources से traffic generate किया जा सकता है।

Q15. CIA Triad समझाइए।

Answer: CIA Triad network security के तीन fundamental objectives को दर्शाता है—Confidentiality का अर्थ unauthorized access से data की secrecy, Integrity का अर्थ data की correctness और protection from unauthorized modification, तथा Availability का अर्थ authorized users के लिए systems और data की availability है।

Q16. Firewall का क्या उपयोग है?

Answer: Firewall predefined security rules के आधार पर incoming और outgoing network traffic को monitor और control करता है तथा unauthorized network access को रोकने में सहायता करता है।

Long Answer Questions

Q17. Web Browser और Web Server को diagram सहित समझाइए।

Answer: Web Browser एक client application है जो web resources को access करता है। Web Server web resources को store/process करके clients को response देता है। Browser HTTP या HTTPS request भेजता है और server appropriate response वापस भेजता है।

Browser
   │
   │ HTTP / HTTPS Request
   ▼
Web Server
   │
   │ Response
   ▼
Browser

Q18. Network Security के विभिन्न threats को समझाइए।

Answer: Common network security threats में malware, virus, worm, Trojan horse, ransomware, phishing, DoS, DDoS, password attacks और Man-in-the-Middle attacks शामिल हैं। ये threats data चोरी, unauthorized access, system damage या service disruption का कारण बन सकते हैं। Strong authentication, encryption, firewalls, antivirus software, updates और regular backups जैसे measures security improve करने में सहायता करते हैं।

Q19. Network Security के प्रमुख objectives समझाइए।

Answer: Network Security के प्रमुख objectives Confidentiality, Integrity और Availability हैं। Confidentiality data को unauthorized access से protect करती है। Integrity यह सुनिश्चित करने में सहायता करती है कि data unauthorized तरीके से modify न हो। Availability यह सुनिश्चित करती है कि authorized users को आवश्यकता के समय network services और data उपलब्ध रहें।

Q20. Authentication, Authorization और Encryption को उदाहरण सहित समझाइए।

Answer: Authentication user की identity verify करता है, जैसे password या OTP से login करना। Authorization authenticated user की permissions निर्धारित करता है, जैसे किसी user को केवल files पढ़ने की अनुमति देना। Encryption readable data को protected encoded form में convert करता है ताकि unauthorized users उसे आसानी से समझ न सकें।

Practice Questions

  1. WWW क्या है?
  2. Internet और WWW में अंतर बताइए।
  3. Web Browser क्या है?
  4. Web Server क्या है?
  5. Webpage और Website में अंतर बताइए।
  6. URL क्या है?
  7. URL के components लिखिए।
  8. Domain Name क्या है?
  9. DNS का क्या उपयोग है?
  10. Static और Dynamic Website में अंतर बताइए।
  11. Cookies क्या हैं?
  12. Network Security क्या है?
  13. Network Security के objectives लिखिए।
  14. CIA Triad क्या है?
  15. Confidentiality क्या है?
  16. Integrity क्या है?
  17. Availability क्या है?
  18. Malware क्या है?
  19. Virus और Worm में अंतर बताइए।
  20. Trojan Horse क्या है?
  21. Ransomware क्या है?
  22. Phishing क्या है?
  23. DoS और DDoS में अंतर बताइए।
  24. Man-in-the-Middle attack क्या है?
  25. Authentication और Authorization में अंतर बताइए।
  26. Encryption क्या है?
  27. Symmetric और Asymmetric Encryption में अंतर बताइए।
  28. Firewall क्या है?
  29. Antivirus Software का क्या उपयोग है?
  30. Network Security के लिए best practices लिखिए।

Quick Revision

  • WWW: Interconnected web resources की system.
  • Browser: Web resources access और display करता है।
  • Web Server: Web resources serve करता है।
  • URL: Web resource का address.
  • DNS: Domain name को IP address में resolve करता है।
  • HTTP: Web communication.
  • HTTPS: Secure web communication.
  • CIA: Confidentiality + Integrity + Availability.
  • Malware: Malicious software.
  • Virus: File/program से attach होकर फैल सकता है।
  • Worm: Self-propagating malware.
  • Trojan: Legitimate software का रूप लेने वाला malware.
  • Ransomware: Data/system access को block करके ransom demand कर सकता है।
  • Phishing: Fake communication द्वारा information चोरी करने का प्रयास।
  • DoS: Service availability disrupt करना।
  • DDoS: Distributed sources से DoS attack.
  • Authentication: Identity verification.
  • Authorization: Permission control.
  • Encryption: Data को protected form में convert करना।
  • Firewall: Network traffic filtering/control.
  • Antivirus: Malware protection.
One-Line Revision: Web Concepts Internet पर web resources और services के working को समझाते हैं, जबकि Network Security इन resources, networks, devices और data को unauthorized access तथा cyber threats से सुरक्षित रखने पर focus करती है।
Lesson 37 of 37
On This Page