# Can you block json feedback from being public? (e.g /site/statistics.json /site/basic-info.json)

**URL:** <https://meta.discourse.org/t/can-you-block-json-feedback-from-being-public-e-g-site-statistics-json-site-basic-info-json/73374>\
**Category:** Product Support\
**Created:** [2017 年11 月 3 日 17:30 UTC](https://meta.discourse.org/t/can-you-block-json-feedback-from-being-public-e-g-site-statistics-json-site-basic-info-json/73374 "2017-11-03T17:30:23Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![David\_Foster](https://avatars.discourse-cdn.com/v4/letter/d/fbc32d/32.png) [@David\_Foster](https://meta.discourse.org/u/David_Foster)\
发布日期： [2017 年11 月 3 日 17:30 UTC](https://meta.discourse.org/t/can-you-block-json-feedback-from-being-public-e-g-site-statistics-json-site-basic-info-json/73374/1 "2017-11-03T17:30:24Z")

</div>

Just wondering if there is an option I’m not seeing for this..  
its made public that any user can visit your discourse instance and goto site/basic-info.json, site/statistics.json  
and gather information..  
I know its not terribly sensitive information, but still would like the option to avoid any data being freely observed.  
I see in the rails site\_controller.rb  
skip\_before\_action :redirect\_to\_login\_if\_required, only: [‘basic\_info’, ‘statistics’]

I know I can just comment that out to resolve the issue, but it would be better if there was an option in the admin portal that would do this. Is there a setting I’m not seeing in the admin portal?

---

_[View the full topic](https://meta.discourse.org/t/can-you-block-json-feedback-from-being-public-e-g-site-statistics-json-site-basic-info-json/73374)._
