I was always wondering, if it would be possible, for example, to write an SMB Client in Javascript and so get access to an open SMB server in a LAN from a Website.
(I don't know JavaScript at all)
Maybe there's a new way to do it I haven't heard of, but that was the state of things last time I checked.