i found followed minidlna with password support
https://github.com/NathanaelA/minidlna
also discussed on http://fluentreports.com/blog/?p=58
i installed all required build tools and lib's (dev) and build / install then minidlna.
and it worked.
so with that you would be able to protect folders with a password (it's more a PIN)
cheers