# Build the index index_data = build_password_index(target_file)

Even if directory listing is disabled, the file might still exist and be accessible if the user knows the exact URL.

Consider using a reputable password manager that encrypts and securely stores login credentials.