# Block users that log in behind a proxy

**URL:** <https://community.auth0.com/t/block-users-that-log-in-behind-a-proxy/8482>\
**Category:** Get Help\
**Tags:** log-in, proxy, blocking\
**Created:** [October 13, 2017, 6:19pm UTC](https://community.auth0.com/t/block-users-that-log-in-behind-a-proxy/8482 "2017-10-13T18:19:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![david.garcia](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@david.garcia](https://community.auth0.com/u/david.garcia)\
**Post date:** [October 13, 2017, 6:19pm UTC](https://community.auth0.com/t/block-users-that-log-in-behind-a-proxy/8482/1 "2017-10-13T18:19:26Z")

</div>

Is there any way to block users if they try to log in from a proxy?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [October 13, 2017, 7:13pm UTC](https://community.auth0.com/t/block-users-that-log-in-behind-a-proxy/8482/2 "2017-10-13T19:13:26Z")

</div>

You can implement a [custom rule](https://auth0.com/docs/rules/current) that can fail an ongoing authentication transaction based on your own logic so technically the answer would be yes, although the decision about a given user being behind a proxy would have to be done in your custom logic.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:56am UTC](https://community.auth0.com/t/block-users-that-log-in-behind-a-proxy/8482/3 "2018-03-02T05:56:58Z")

</div>


