For directory password protection, you can use .htaccess. To avoid seeing structure as well as source codes from different users, you can setup Virtual Hosts to assign different directories for different users and each 1 can only log into his portion. For setup VH, check my tutor guide here
[
guides.jlbn.net]
Have fun,
FREE One A DayFREE PhotoFREE GamesFREE WebsitesFREE Portable GPSFREE WAMP Guides