GrabzIt
Tools to Capture and Convert the Web

Capture screenshots of web pages that use Basic Authentication

To capture a web page as a screenshot, which is protected by basic authentication you need to pass the required username and password via the URL. This method of encoding user information to use with the basic authentication protocol is part of the RFC3986 URL standard.

The required URL format is shown below simply replace [username] and [password] with the username and password used in the basic authentication. To avoid issues with the URL both the username and password should be URL encoded.

http://[username]:[password]@example.com/index.html

Once you have created a URL which contains your required basic authentication credentials it can then be used in our API or Screenshot Tool.

Security

Of course whenever usernames and passwords are stored it raises security concerns. To mitigate this we only store the username and password in the URL until the screenshot is taken at which point it is removed from the URL. Usually this means a username and password will be stored for less than thirty seconds.

Another way of increasing security, if your use case allows it, is to create a username and password just for GrabzIt to use. Then you can easily block all further access if desired without affecting other users.

Additionally we also support taking screenshots of webpages that are behind a session based login.

Back to SupportMore screenshot questions
Try all our premium features for free with a 7 day free trial. Then from $5.99 a month, unless cancelled.
  • More Captures
  • More Features
  • More API's
  • Bigger Scrapes
  • Bigger Screenshots
  • Bigger Everything
Start Free Trial