# Data\_source\_proxy\_whitelist clear documentation or at least example

**URL:** <https://community.grafana.com/t/data-source-proxy-whitelist-clear-documentation-or-at-least-example/9067>\
**Category:** Configuration\
**Created:** [July 23, 2018, 2:28pm UTC](https://community.grafana.com/t/data-source-proxy-whitelist-clear-documentation-or-at-least-example/9067 "2018-07-23T14:28:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![snakesms](https://avatars.discourse-cdn.com/v4/letter/s/7cd45c/32.png) [@snakesms](https://community.grafana.com/u/snakesms)\
**Post date:** [July 23, 2018, 2:28pm UTC](https://community.grafana.com/t/data-source-proxy-whitelist-clear-documentation-or-at-least-example/9067/1 "2018-07-23T14:28:46Z")

</div>

Hi Community,

Please kindly share documentation or at least example of how to use such security parameter like “data\_source\_proxy\_whitelist”  
The reason for my question is:  
In docs it says “Define a white list of allowed ips/domains to use in data sources” however if I try to use this config parameter (I know it can be skipped by I really need it) regardless of what IP or host-name I’ve added to the white-list all the time I’m getting the error “Data proxy hostname and ip are not included in white-list” in ALL my dashboards, where I don’t expect Grafana to use it’s own query through the proxy.  
I did try already: - Prometheus server ip (which is my data-source)

- Grafana server’s ip(and host-name too)
- My machine’s ip (end-user’s IP)  
Result remains the same.

What I’m trying to achieve and why I need this config to be turned on:  
I do have Prometheus, where you all knows, there is authorization exist  
I do have few Grafana dashboards with predefined queries and restricted access for particular users.  
I need to let user’s be able to see data in dashboards where they have access to and at the same time prevent them to try to use Grafana’s proxy mechanism and query Prometheus through it

Didn’t find anything related to my use-case in documentation or even in Google, so will highly appreciate any valuable input.  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![snakesms](https://avatars.discourse-cdn.com/v4/letter/s/7cd45c/32.png) [@snakesms](https://community.grafana.com/u/snakesms)\
**Post date:** [August 1, 2018, 10:00am UTC](https://community.grafana.com/t/data-source-proxy-whitelist-clear-documentation-or-at-least-example/9067/2 "2018-08-01T10:00:40Z")

</div>

No one has any thoughts about and never try to use this option in live?

---

<div class="post-metadata">

**Author:** ![spbloom4](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@spbloom4](https://community.grafana.com/u/spbloom4)\
**Post date:** [June 8, 2024, 4:23pm UTC](https://community.grafana.com/t/data-source-proxy-whitelist-clear-documentation-or-at-least-example/9067/3 "2024-06-08T16:23:36Z")

</div>

I have same issue.  
Have you figure out?
