Comment by ๐Ÿฆ‚ zzo38

=> Re: "I am looking for a guide on how to serve files on gemini to..." | In: s/Gemini

Another alternative way would be to make a secret file name, so that you can only access the file if you know the file name. This avoids needing CGI, although you will have to disable directory listing.

=> ๐Ÿฆ‚ zzo38

2024-10-28 ยท 3 months ago

4 Later Comments โ†“

=> ๐Ÿš€ stack ยท Oct 28 at 00:25:

If you have access to CGI, check for the users certificate, that guarantees user identity better than passwords. Otherwise a 'secret file' is your only option...

=> ๐Ÿš€ clseibold ยท Oct 28 at 01:07:

I'm surprised nobody mentioned @skyjake 's great Gemini App Developers Guide! :D

=> โ€” Gemini App Developer's Guide

=> ๐Ÿš€ mbays ยท Oct 28 at 08:51:

The gemini server software Molly Brown has inbuilt support for this. To quote the README:

CertificateZones: In this section of the config file, keys are path regexs and values are lists of hex-encoded SHA256 fingerprints of client certificates. Any requests whose path matches one of the regexs will only be served as normal if the request is made with a client certificate whose fingerprint is in the corresponding list.

=> ๐Ÿš€ fripster ยท Oct 29 at 08:16:

poor man's solution: zip the file(s) and encrypt. send password only to user

Original Post

=> ๐ŸŒ’ s/Gemini

I am looking for a guide on how to serve files on gemini to specific users / behind a password. Any links to some guide where it is explained in detail?

=> ๐Ÿ’ฌ LucasMW ยท 8 comments ยท 2024-10-27 ยท 3 months ago

Proxy Information
Original URL
gemini://bbs.geminispace.org/u/zzo38/21273
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
87.47291 milliseconds
Gemini-to-HTML Time
0.928893 milliseconds

This content has been proxied by September (3851b).