• View but not download files via web

    From nelgin@1:103/705 to All on Sun Aug 10 04:12:01 2025
    Hi all,

    I'm sure someone has solved this before.

    I want no-logged in users to be able to view file areas and file information but not download files over HTTP or HTTPS.

    Surely, someone has done this before and hopefully they will share their special sauce :) Thanks.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to nelgin on Sun Aug 10 11:41:40 2025
    Re: View but not download files via web
    By: nelgin to All on Sun Aug 10 2025 04:12 am

    I want no-logged in users to be able to view file areas and file information but not download files over HTTP or HTTPS.

    I'm pretty sure this can be done with ARS. You'd have to add an ARS string for each file library though. For each file library you have, you could go to the Download Requirements and use this string:

    PROT!HTTP PROT!HTTPS

    That should disallow downloading for both HTTP and HTTPS. I use that for Access Requirements for one of mine, but I imagine it should work for download requirements as well.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to nelgin on Sun Aug 10 14:32:40 2025
    Re: View but not download files via web
    By: nelgin to All on Sun Aug 10 2025 04:12 am

    Hi all,

    I'm sure someone has solved this before.

    I want no-logged in users to be able to view file areas and file information but not download files over HTTP or HTTPS.

    Surely, someone has done this before and hopefully they will share their special sauce :) Thanks.

    Download Requirements = PROT NOT HTTP and NOT HTTPS

    but... why?
    --
    digital man (rob)

    Sling Blade quote #18:
    Karl Childers: Some folks call it Hell, I call it Hades.
    Norco, CA WX: 90.7øF, 37.0% humidity, 10 mph SSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.29-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From nelgin@1:103/705 to Digital Man on Mon Aug 11 00:50:52 2025
    Re: View but not download files via web
    By: Digital Man to nelgin on Sun Aug 10 2025 14:32:40

    Download Requirements = PROT NOT HTTP and NOT HTTPS

    That doesn't work.

    for my AdventureNet file library (named AV) I have

    Download Requirements PROT NOT HTTP AND NOT HTTPS


    The file is still offered up via the browser.

    but... why?

    bbs@bbs:/sbbs/data/logs$ grep call=download http-2025-08-*.log |wc -l
    41031


    Over 14,000 downloads in 11 days is somewhat dubious. Whether they complete, I have no idea.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to nelgin on Mon Aug 11 11:24:50 2025
    Re: View but not download files via web
    By: nelgin to Digital Man on Mon Aug 11 2025 12:50 am

    Re: View but not download files via web
    By: Digital Man to nelgin on Sun Aug 10 2025 14:32:40

    Download Requirements = PROT NOT HTTP and NOT HTTPS

    That doesn't work.

    for my AdventureNet file library (named AV) I have

    Download Requirements PROT NOT HTTP AND NOT HTTPS


    The file is still offered up via the browser.

    So when I do this, the files are still listed in webv4, but aren't actually clickable/downloadable.

    but... why?

    bbs@bbs:/sbbs/data/logs$ grep call=download http-2025-08-*.log |wc -l
    41031


    Over 14,000 downloads in 11 days is somewhat dubious. Whether they complete, I have no idea.

    Limiting downloads to non-Guest users would probably take care of that.
    --
    digital man (rob)

    Steven Wright quote #27:
    Experience is something you don't get until just after you need it.
    Norco, CA WX: 84.8øF, 46.0% humidity, 4 mph WNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.29-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From nelgin@1:103/705 to Digital Man on Mon Aug 11 14:14:02 2025
    Re: View but not download files via web
    By: Digital Man to nelgin on Mon Aug 11 2025 11:24:50

    So when I do this, the files are still listed in webv4, but aren't actually clickable/downloadable.

    Yup, sorted. My web server is being so hammered that it didn't get a chance to recycle.

    Limiting downloads to non-Guest users would probably take care of that.

    I'd still like guests to be able to download via ftp, the bbs and gopher.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

Novedades:

Servidor de Quake 3 Arena Online! - Conectate a ferchobbs.ddns.net, puerto 27960 y vence con tu equipo!