Cloud Computing, as an emerging, virtual, large-scale distributed computing model, has gained increasing attention these years. Meanwhile it also faces many secure challenges, one of which is authentication. In this paper, the authors firstly analyze a user authentication framework for cloud computing proposed by the researcher and point out the security attacks existing in the protocol. Then, they propose an improved user authentication scheme. Their improved protocol ensures user legitimacy before entering into the cloud.