rejetto forum

Author Topic: Feature request: folder access by IP address  (Read 4729 times)

Offline morituruz

  • Occasional poster
  • *
  • Posts: 3
    • View Profile
Re: Feature request: folder access by IP address
« on: December 11, 2017, 10:25:19 AM »
So year later i discovered that i received a pretty good reply :D
Thank you very much!

Actually i need to deny download of *.html files so now I have that code in hfs.events:
Code: [Select]
[request]
{.if
| {.and
| {.not
| {.or
| {.match | 127.0.0.1 | %ip% .}
| {.match | 10.0.*.* | %ip% .}
.}
.}
| {.match | */some_url_path/* | %url% .}
.}
|
{:{.disconnection reason| IP: %ip%.}:}
.}

Surprisingly wiki page http://www.rejetto.com/wiki/?title=HFS:_Event_scripts does not exist anymore.
« Last Edit: December 11, 2017, 01:56:05 PM by morituruz »

Follow members gave a thank to your post:


Thank-o-Matic 3.0 By Adk Team