But maybe there has been previous efforts done on this topic?
Besides that I think that this is not possible and will not be done, why should we do it? If you want to be secure use a separate domain. If you offer space to people give them a subdomain of some sorts rather than a directory if you want the offering to be somewhat secure.
-- Anne van Kesteren http://annevankesteren.nl/
