# Can Swiftype index password protected sites?

**URL:** <https://community.swiftype.com/t/can-swiftype-index-password-protected-sites/58>\
**Category:** Setup & Indexing\
**Created:** [December 21, 2015, 10:01pm UTC](https://community.swiftype.com/t/can-swiftype-index-password-protected-sites/58 "2015-12-21T22:01:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/swiftype/original/1X/fd652d1735c60057fa71c371375511028f9a1832.png) [@system](https://community.swiftype.com/u/system)\
**Post date:** [December 21, 2015, 10:01pm UTC](https://community.swiftype.com/t/can-swiftype-index-password-protected-sites/58/1 "2015-12-21T22:01:01Z")

</div>

> **We have a staging site that is protected by HTTP Basic Authentication. Is there any way to get Swiftype to index a password protected site?**

Unfortunately, Swiftype’s crawler does not automatically support indexing content protected by HTTP authentication at this time.

It’s possible to work around this limitation, by configuring your site to allow access to our crawler agent ( **“Swiftbot”** ).

This is typically achieved by configuring your server’s `.htaccess` file to allow access to **Swiftbot** , or more securely, your account specific user agent string.

We can even provide you with your account specific User Agent ID (upon request), or the range of IPs our crawler will originate from if that form of whitelisting is preferred.

Also, another option to consider is using the [Swiftype API](https://swiftype.com/documentation/overview) to send us your content directly instead of utilizing the Swiftype crawler.
