Computer AwarenessHardSSC CGL Tier 2 · IBPS PO Mains · IBPS/SBI

A logged-in user opens an admin page for which his account has no permission, and the server refuses to serve it while acknowledging who he is. Which HTTP status code is most appropriate?

  1. A. 405
  2. B. 403
  3. C. 401
  4. D. 404

Correct answer: B. 403

403 Forbidden means the server understood the request and the user's identity but refuses it. 401 Unauthorized is for missing or invalid authentication, 404 for a missing resource and 405 for a disallowed method.

हिंदी में

एक लॉग-इन उपयोगकर्ता ऐसे प्रशासक पृष्ठ को खोलता है जिसकी अनुमति उसके खाते को नहीं है, और सर्वर उसकी पहचान स्वीकार करते हुए उसे परोसने से मना कर देता है। कौन-सा HTTP स्टेटस कोड सबसे उपयुक्त है?

  1. A. 405
  2. B. 403
  3. C. 401
  4. D. 404

उत्तर: B. 403 Forbidden का अर्थ है कि सर्वर ने अनुरोध और उपयोगकर्ता की पहचान समझ ली है, पर उसे अस्वीकार करता है। 401 Unauthorized प्रमाणीकरण के अभाव या अमान्य होने के लिए, 404 अनुपलब्ध संसाधन के लिए और 405 अस्वीकृत विधि के लिए है।

More MS Office, Internet and Cyber Security questions

Exams that ask this topic