Posted January 18Jan 18 Challenge:Create a Password Policy Enforcer that checks whether a given password meets enterprise security standards. The program should validate passwords based on complexity requirements and provide feedback to users.Basic Requirements:Validate that a password meets the following enterprise security rules:✅ At least 12 characters long✅ Contains at least one uppercase letter✅ Contains at least one lowercase letter✅ Contains at least one number✅ Contains at least one special character (!@#$%^&*()_+-=[]{}|;:'",.<>?/)Provide feedback to the user if the password fails any checks.Allow users to generate a strong password if their input is weak.Bonus Features:✅ Add configurable rules (e.g., allow admins to set custom password policies).✅ Implement a password strength meter (e.g., "Weak", "Moderate", "Strong").✅ Support real-time validation where users see what's missing as they type.✅ Store previous passwords in a file and prevent password reuse.✅ Extend it to integrate with Active Directory or LDAP for enterprise environments.Example Output:Enter your password: P@ssword1 Weak password! Missing at least 12 characters. Enter your password: StrongP@ssw0rd123! Strong password! Meets all security requirements.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.