Combined with the grid development, this article analyzed the current widespread adoption of authentication mechanisms and researched GSI program and KX.509 program in different grid environment. With the proxy idea of KX.509, using and implementing a Web-login module to build the grid authentication model in the Globus environment. The module provides the transparent user certificate generation, use and management for campus grid users. Web-login module generates digital proxy certificates automatically for users in the registration and certification process, so that users do not have their own digital certificate.