With the command below, a local webserver is started from the home directory.
From the webserver, only the downloads folder is accessible
➜ ~ python3 -m http.server 443 -d Downloads/
Serving HTTP on 0.0.0.0 port 80 (http://0.0.0.0:80/) ...
127.0.0.1 - - [15/Sep/2023 07:57:32] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [15/Sep/2023 07:57:32] code 404, message File not found
127.0.0.1 - - [15/Sep/2023 07:57:32] "GET /favicon.ico HTTP/1.1" 404 -
127.0.0.1 - - [15/Sep/2023 07:57:48] "GET /Downloads/ HTTP/1.1" 200 -
127.0.0.1 - - [15/Sep/2023 07:57:54] "GET /Downloads/ArubaInstant_Gemini_8.10.0.8_87765 HTTP/1.1" 200 -