I have a small mongoose web server installed on my machine. I have a empty index.html in the root directory.
I want to be able to share link with people i know, by creating a folder that look like this: 0gzzfiz4pf80mn8dw1k3
So my friend would go to www.mysite.com/0gzzfiz4pf80mn8dw1k3 and be able to download the files i have put in this folder.
Is this a secure way to share file?
I understand that someone could listen in but what i don't want is people browsing www.mysite.com and be able to get a listing of those special folder i created.
EDIT:
Ok, so you need to deactivate directory listing and I would create a index.html file in that folder that redirect to the actual file i want to share with them. I am aware of the MITM problem, not really my concern here.
If I do deactivate directory listing, is there any other way other than brute-force to find my 0gzzfiz4pf80mn8dw1k3 folder?