rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Anonymous on August 20, 2004, 09:13:50 PM

Title: is there a way to...
Post by: Anonymous on August 20, 2004, 09:13:50 PM
block a certain referer? Say I notice a link being posted on a server somewhere that I don't want to allow for some reason.
Title: is there a way to...
Post by: Mr. Anon on August 21, 2004, 06:15:09 AM
Nope, but you could ask rejetto for a feature-request.
You could manually block IPs however.
Title: is there a way to...
Post by: rejetto on August 25, 2004, 05:09:25 PM
there's no refer control ATM
and it doesn't seem a beautiful idea to me  :?

anyway, i use opera and i can switch off the "refer" field from being transmitted ;)
Title: is there a way to...
Post by: Mr. Anon on August 26, 2004, 07:51:30 AM
Same here with IE... :)
with a separate webfilter.
Title: is there a way to...
Post by: Anonymous on September 09, 2004, 10:09:37 AM
Yes, but with reverse control you could make sure to only allow certain referers. If the referer is empty or "wrong", don't allow a download for instance.
Title: Re: is there a way to...
Post by: Chrisp6825 on October 13, 2008, 06:07:40 AM
Sorry to bring this from the dead, but I would like this feature. It would help me a bit.

Something where it checks to see what the referer is, and based on that, it disallows downloads or connections altogether.
It doesn't sound too hard, since there's an "allowed referer" option. Just reverse it?

Thanks.
Title: Re: is there a way to...
Post by: maverick on October 13, 2008, 07:33:59 AM
That feature has been available for a long time. 

Switch to expert mode.  Menu -> Limits -> Allowed referrer
Title: Re: is there a way to...
Post by: rejetto on October 13, 2008, 09:43:58 AM
If that doesn't fit your needs, please tell what you can't do with it.
Title: Re: is there a way to...
Post by: Chrisp6825 on October 14, 2008, 02:59:40 AM
But doesn't that just allow one referer?
Can you explain exactly how I use it?
Title: Re: is there a way to...
Post by: rejetto on October 14, 2008, 03:05:23 AM
you set it as the string you require in the 'referer' of the request.
you can enter it as a simple string, but you can also
- use wildcards (* ?)
- specify more than one, separating with semicolons
- reverse the logic by putting a "\" ahead of it all

all these syntax rules are explained at
http://www.rejetto.com/wiki/index.php/HFS:_File_masks
Title: Re: is there a way to...
Post by: Chrisp6825 on October 14, 2008, 03:19:26 AM
Oh sweet, ya thats what I was looking for. The "\" to reverse it.
Thanks a ton rejetto!