9. A non-transitory computer-readable storage medium storing sets of instructions which, when executed by a computer, cause the computer to: define a template source for crawling a target data repository; identifying the target data repository in the template source without including in the template source security credentials required to crawl the target data repository; allow a first user to subscribe to the template source; receive first user credentials for the first user; creating a user-subscribed source based at least on the template source and the first user credentials; generate an access control list that controls access to the user-subscribed source; receive a crawl request from a second user of one or more users to crawl the target data repository; and based on user credentials of the second user and the access control list that controls access to the user-subscribed source, determine to allow the second user to initiate a crawl using the user-subscribed source; and crawl the target data repository, using the first user credentials, to index only documents which are accessible with the first user credentials.
9. A non-transitory computer-readable storage medium storing sets of instructions which, when executed by a computer, cause the computer to: define a template source for crawling a target data repository; identifying the target data repository in the template source without including in the template source security credentials required to crawl the target data repository; allow a first user to subscribe to the template source; receive first user credentials for the first user; creating a user-subscribed source based at least on the template source and the first user credentials; generate an access control list that controls access to the user-subscribed source; receive a crawl request from a second user of one or more users to crawl the target data repository; and based on user credentials of the second user and the access control list that controls access to the user-subscribed source, determine to allow the second user to initiate a crawl using the user-subscribed source; and crawl the target data repository, using the first user credentials, to index only documents which are accessible with the first user credentials. 15. The non-transitory computer-readable storage medium of claim 9 , wherein the first user credentials and the second user credentials have certain access rights in common but not all access rights in common.