This document presents a novel two-factor authentication (2FA) access control system for web-based cloud computing services, requiring both a user secret key and a lightweight security device. The proposed system enhances security by preventing unauthorized access while maintaining user privacy, as the cloud server only knows that a user satisfies certain attributes without revealing their identity. Performance assessments confirm the viability of this 2FA system, suggesting a robust solution for improving security in cloud computing environments.