---
title: "Password protection"
canonical_url: https://support.digitalphotogallery.com/articles/article/5c82192e-ac1c-11e2-a89f-f23c91703874
short_url: https://dpg.support/adwa
category: "Websites > Security"
locale: en
updated_at: 2017-01-09T06:15:38Z
source: Digital Photo Gallery Support
---

# Password protection

[▶ Video](https://cache.dpg.media/hyqelgcvfopo/videos/b1f8d332-d631-11e6-b7df-8e12dd763e7d/e7e81ff2-d631-11e6-b7df-8e12dd763e7d.mp4)

If you would like to apply simple username and password to a certain area of your website then you can enable that via the security section of your website management.

![](https://cache.media.digitalphotogallery.com/hyqelgcvfopo/images/5995fcc8-d632-11e6-b818-8e12dd763e7d/446_support.jpg?generated=20170109061049)

The first step is to visit your site and note down the address of the page that you would like to enable password protection for.

[▶ Video](https://cache.dpg.media/hyqelgcvfopo/videos/a286203a-d631-11e6-bda8-8e12dd763e7d/afa0a574-d631-11e6-bda8-8e12dd763e7d.mp4)

Then head to security in you website configuration and create a new **Restricted URL**.

For the URL you should enter just the path of the page, so from the example above you would enter /gallery/food/ then choose the authentication method as **Basic Username / Password** and enter the details you would like to proect the page with.
