We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Deny Users via IP Range?

Nico del Castillo October 7, 2014 by Nico del Castillo

I know that the protect function on a page's frontmatter can deny users based on an IP:

_protect:
  ip_address:
    deny: [ 127.0.0.1 ]

But is there a way to deny a range of IP's? Like from 127.0.0.1 to 127.0.0.200, and then subsequently load a special no_access redirect (like a login) for that range?

>>>>>>> Unanswered <<<<<<<
2 Replies
2 Followers