Two MoTacon attendees are on the left. The MoTaacon logo is in the center, and to the right a prompt to Get Your Ticket.
Sensitive Data Exposure image
  • Emily O'Connor's profile image
Sensitive Data Exposure is a common web security vulnerability where applications expose sensitive information such as passwords, credit card numbers, health records, or personal information due to poor security practices. Examples: Data sent over HTTP instead of HTTPS. Passwords stored in plain text. Weak or outdated encryption (e.g: using MD5 or SHA-1) instead use: bcrypt, scrypt, or Argon2 & salt. Data leakage via verbose error messages, logs, or browser storage. ❌ Insecure: storing plaintext password user_data = { "username": "aiman", "password": "mysecretpassword" } ✅ Secure: hash + salt the password import bcrypt, hashlib password = "mysecretpassword" salt = bcrypt.gensalt() hashed = bcrypt.hashpw(password, salt) username = "aiman" hashed_username = hashlib.sha256(username.encode()).hexdigest() I have known this vulnerability, taken the solution from internet 
Subscribe to our newsletter