I'd like to serve some specific notes only, and so it would be great if I could make localhost:8080 point to, say /public/ within my vault. Makes it more secure since this way nobody can bruteforce their way into viewing notes in my vault I don't want them to see (I am serving these on the public internet).
I imagine you'd also have to add in logic to prevent users from trying to go to a parent directory though, like: localhost:8080/../sensitive.md because as of now you can do that.
Edit: btw, I don't mind trying to add something like this myself, so some build/manual installation steps would be great
I'd like to serve some specific notes only, and so it would be great if I could make
localhost:8080
point to, say/public/
within my vault. Makes it more secure since this way nobody can bruteforce their way into viewing notes in my vault I don't want them to see (I am serving these on the public internet).I imagine you'd also have to add in logic to prevent users from trying to go to a parent directory though, like:
localhost:8080/../sensitive.md
because as of now you can do that.Edit: btw, I don't mind trying to add something like this myself, so some build/manual installation steps would be great