websockify-other icon indicating copy to clipboard operation
websockify-other copied to clipboard

prevent dir listing for more restricted deployment environment

Open tsingakbar opened this issue 2 years ago • 1 comments
trafficstars

background

http.FileServer used by golang implemtation will list directory content when the request path is a directory. we deploy novnc for internal usage, but the deploy enviroment is equiped with lots of security restrictions, and dir-listing is not allowed for that. The PR will 403 Forbidden directory listing http request.

tsingakbar avatar Dec 01 '22 09:12 tsingakbar

I'm afraid some user will want to be able to list files, so this would have to be an optional feature.

CendioOssman avatar Dec 12 '22 15:12 CendioOssman