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:
[/etc/fstab]
//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.
SO...
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?
I'm stumped.
thanks
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:
[/etc/fstab]
//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.
SO...
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?
I'm stumped.
thanks