.htaccess newbie question
seems like a apps & OS question- but might be a web dev? not sure...
Ok, so this might take some explaining...
I have two machines. XP is the workstation, Suse 8 is my server (web, mail, samba)-
I have a share directory in my XP machine which has all of my music. I've made a link to this share on my website. The share is mounted via samba:
//XPbox/music /home/username/public_html/music smbfs username=[username],password=[password]
When I click the link from my website, I get a display of the directory tree with all the subfolders and files. The tree is navigable and I can copy the files without any problem. THe reason I've done this is so I can have access to these mp3 files while I'm at work, or share them with friends.
I'd like to put password protection on this link and my studying the matter has convinced me that .htaccess is the way to go. I'm having some difficulty understanding exactly where I should place the .htaccess file. I am reading that I need to put the file into the directory I want to protect, but do I put the file into the directory on the xp box OR do I put the file into the mount folder on the server?
I've tried both but neither one worked. Is it not working because of the smb linked folder?
New Security Features Planned for Firefox 4
Another Laptop Theft Exposes 21K Patients' Data
Oracle Hits to Road to Pitch Data Center Plans
Microsoft Preps Array of Windows Patches
Microsoft Nears IE9 Beta With Final Preview
Simplified Analytics Improve CRM, BI Tools
Android Passes RIM as Top Mobile OS in 2Q
VMware Updates Hyperic System Management
File Monitoring Key to Enterprise Security
LinkedIn Snaps Up SaaS Player mSpoke