EZ Notes Logo

EZNotes

⚖️ Difference Between Authentication and Authorization
🇬🇧 English

Authentication and authorization are two fundamental concepts in computer security, but they serve different purposes. Authentication is the process of verifying the identity of a user or system, confirming that they are who they claim to be. Authorization determines what resources or actions an authenticated user is allowed to access or perform. Authentication comes first, followed by authorization. For example, logging in with a password is authentication, while being granted access to specific files or features is authorization. Both are essential for securing systems and ensuring that users have the appropriate permissions.

🇵🇰 اردو

تصدیق (Authentication) اور اجازت (Authorization) کمپیوٹر سیکیورٹی میں دو بنیادی تصورات ہیں، لیکن ان کے مختلف مقاصد ہیں۔ تصدیق صارف یا سسٹم کی شناخت کی تصدیق کرنے کا عمل ہے، اس بات کی تصدیق کرنا کہ وہ وہی ہیں جو ہونے کا دعویٰ کرتے ہیں۔ اجازت اس بات کا تعین کرتی ہے کہ ایک تصدیق شدہ صارف کو کن وسائل یا کارروائیوں تک رسائی کی اجازت ہے۔ تصدیق پہلے آتی ہے، اس کے بعد اجازت آتی ہے۔ مثال کے طور پر، پاس ورڈ کے ساتھ لاگ ان کرنا تصدیق ہے، جبکہ مخصوص فائلوں یا فیچرز تک رسائی حاصل کرنا اجازت ہے۔ دونوں نظاموں کو محفوظ بنانے اور اس بات کو یقینی بنانے کے لیے ضروری ہیں کہ صارفین کو مناسب اجازتیں حاصل ہوں۔

Feature Authentication Authorization
Definition Verifies the identity of a user Determines what resources a user can access
Purpose Proves who you are Defines what you can do
Order Always happens first Happens after authentication
Methods Password, biometric, 2FA, MFA Permissions, roles, policies
Example Logging in with username and password Accessing specific files or features
Data Used User credentials (password, fingerprint) User roles and permissions
خصوصیت تصدیق (Authentication) اجازت (Authorization)
تعریف صارف کی شناخت کی تصدیق کرتا ہے اس بات کا تعین کرتا ہے کہ صارف کن وسائل تک رسائی حاصل کر سکتا ہے
مقصد ثابت کرتا ہے کہ آپ کون ہیں واضح کرتا ہے کہ آپ کیا کر سکتے ہیں
ترتیب ہمیشہ پہلے ہوتی ہے تصدیق کے بعد ہوتی ہے
طریقے پاس ورڈ، بایومیٹرک، 2FA، MFA اجازتیں، کردار، پالیسیاں
مثال صارف نام اور پاس ورڈ کے ساتھ لاگ ان کرنا مخصوص فائلوں یا فیچرز تک رسائی
استعمال شدہ ڈیٹا صارف کی اسناد (پاس ورڈ، فنگر پرنٹ) صارف کے کردار اور اجازتیں

📌 Key Points / اہم نکات

  • Authentication = Identity Verification / تصدیق = شناخت کی توثیق
  • Authorization = Access Control / اجازت = رسائی کا کنٹرول
  • Authentication comes first / تصدیق پہلے آتی ہے
  • Authorization follows / اجازت بعد میں آتی ہے
  • Password, Biometric, 2FA, MFA / پاس ورڈ، بایومیٹرک، 2FA، MFA
  • Permissions, Roles, Policies / اجازتیں، کردار، پالیسیاں