Understanding Directory Services: Active Directory and LDAP
📖 Scenario: You are learning about directory services used in organizations to manage users and resources securely. Two common directory services are Active Directory and LDAP. This project will help you understand their basic structure and how they store information.
🎯 Goal: Build a simple representation of a directory service using a dictionary to store user information, then filter users based on a condition, and finally add a configuration setting to simulate access control.
📋 What You'll Learn
Create a dictionary named
directory with user entries and their rolesAdd a variable named
access_level to set a minimum role for accessUse a dictionary comprehension to create a filtered dictionary
allowed_users with users meeting the access levelAdd a final key
service_status to the directory dictionary indicating if the service is active💡 Why This Matters
🌍 Real World
Directory services like Active Directory and LDAP are used in companies to manage who can access computers, files, and applications securely.
💼 Career
Understanding directory services is important for cybersecurity professionals to control user permissions and protect organizational resources.
Progress0 / 4 steps