# Authenticate to a service

## Enable basic authentication for web services

By default, basic authentication is disabled for all protected backend web services in `Sitefinity/Services` and `RestApi/Sitefinity`, except for `Sitefinity/CMIS/RestAtom/` and `Sitefinity/Services/SiteSync/SiteSyncService.svc`.

To turn on basic authentication for all web services, perform the following:

1. Open `AuthenticationConfig.config` file, located in your project's `~\App_Data\Sitefinity\Configuration` folder.
2. Insert the following section:
   ```XML
   <authenticationConfig xmlns:config="urn:telerik:sitefinity:configuration" xmlns:type="urn:telerik:sitefinity:configuration:type" config:version="10.0.6400.0">
       <relyingPartySettings enableBasicAuthenticationForBackendServices="True" />
   </authenticationConfig>
   ```
3. Save and close the file.
