Grid Computing is an enhanced form of distributed computing where the resources are shared among the heterogeneous resources. The primary goal Grid Computing is to reduce the overall elapsed processing time while leveraging existing hardware. A Grid Computing system is a geographically distributed system with different domains, sharing resources. Security plays very important role in any Internet system, specifically in Grid Computing system. Since all resources are shared in a Grid computing system, trust relationship is very crucial. Selecting appropriate resources within such a distributed environment is a tedious task. This paper proposes an approach for resource selection based on reputation.