# /products.json File

**URL:** <https://community.shopify.dev/t/products-json-file/39186>\
**Category:** Online Store and Theme Development\
**Tags:** liquid\
**Created:** [October 29, 2026, 12:13pm UTC](https://community.shopify.dev/t/products-json-file/39186 "2026-10-29T12:13:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ian\_Townsend](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/ian_townsend/32/17648_2.png) [@Ian\_Townsend](https://community.shopify.dev/u/Ian_Townsend)\
**Post date:** [October 29, 2026, 12:13pm UTC](https://community.shopify.dev/t/products-json-file/39186/1 "2026-10-29T12:13:04Z")

</div>

### Short description of issue

All products are available, despite password/log-in protection

### Link to Shopify Store

[https://avenue-clothing-theme.myshopify.com/products.json](https://avenue-clothing-theme.myshopify.com/products.json)

### Reproduction steps

N/A

### Additional info

Does anyone have any experience blocking the /products.json file from either direct access or providing all product information on a non-Plus site? This is not meant to simply block bots, rather anyone from accessing directly.

This file is available, even if a store is password protected. Seems even the ‘lock’ apps are not able to protect this data.

There should be a simple, default way to protect this data.

### What type of topic is this

Bug report  
Feature request

---

<div class="post-metadata">

**Author:** ![Simo\_Aissaoui](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/simo_aissaoui/32/22195_2.png) [@Simo\_Aissaoui](https://community.shopify.dev/u/Simo_Aissaoui)\
**Post date:** [October 29, 2026, 1:20pm UTC](https://community.shopify.dev/t/products-json-file/39186/2 "2026-10-29T13:20:53Z")

</div>

use cloudflare to block the /products.json endpoint on the main domain. the problem, though, is that you can’t do the same on the myshopify domain.

---

<div class="post-metadata">

**Author:** ![Gray-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/gray-shopify/32/119_2.png) [@Gray-Shopify](https://community.shopify.dev/u/Gray-Shopify)\
**Post date:** [November 9, 2026, 9:07pm UTC](https://community.shopify.dev/t/products-json-file/39186/3 "2026-11-09T21:07:40Z")

</div>

Hey Ian! A private shop should return a 401 for all JSON endpoints so long as you’re using the password protection through Online Store → Preferences. I just confirmed this on a personal store. If you’re experiencing this let me know. I checked `https://avenue-clothing-theme.myshopify.com/` and it’s not currently password protected.

---

<div class="post-metadata">

**Author:** ![Ian\_Townsend](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/ian_townsend/32/17648_2.png) [@Ian\_Townsend](https://community.shopify.dev/u/Ian_Townsend)\
**Post date:** [November 9, 2026, 9:24pm UTC](https://community.shopify.dev/t/products-json-file/39186/4 "2026-11-09T21:24:43Z")

</div>

Thanks for looking @Gray-Shopify . I also continued to test, and realized I was able to access password protected files on the browser I was using because I was logged into my Partner account.

That said, that is only half the issue. Has Shopify ever considered the ability to block /products.json even if a store is publicly available? Many times users do not want this info crawled, and may be hiding product data to those not logged in

---

<div class="post-metadata">

**Author:** ![Gray-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/gray-shopify/32/119_2.png) [@Gray-Shopify](https://community.shopify.dev/u/Gray-Shopify)\
**Post date:** [November 10, 2026, 4:18pm UTC](https://community.shopify.dev/t/products-json-file/39186/5 "2026-11-10T16:18:42Z")

</div>

I’m not aware of any immediate plans to support hiding these endpoints but I’ll see if we can forward that request along.
