|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jul 2006
11 posts
Gave thanks: 0
Thanked 0 times
|
I am running a flash page on my account..for my photography business...and I would like to be able to upload client slide shows directly to my server for them to download, but I would like to make these files PW protected so not just anyone can get them
here is my page...if thats of any importance... http://www.deannahallphotography.com thanx in advance! |
|
|
|
|
|
#2 (permalink) |
|
Registered User
Excelling Contributor
Joined in Oct 2004
Hosted on pass61/63
623 posts
Gave thanks: 8
Thanked 2 times
|
nice site...
not sure if you can password protect individual files, maybe you can with a script or something but not sure about that.. but i do know you can use cPanel (Password Protect Directories) to password protect directories. this way you can put the slideshows in different directories which have their own passwords... www.dublee.com/mnrspmc you can see it at work there. it's a password protected directory did you really think i was going to give you the password?! Last edited by dubLeE; July 11th, 2006 at 6:59 PM.. |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jul 2006
11 posts
Gave thanks: 0
Thanked 0 times
|
perfect..thats exaclty what I wanted...im ok with making each client a folder...
next question...LaughLaughLaugh! i want them to be able to download an exe file that contains their slideshow...if I just stick it in the folder...it shows the file index first...then if I click the file...then it pops up the save as box....can I get it so they cant see the directory..and just the save as box opens? does this make any sense?? |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Excelling Contributor
Joined in Oct 2004
Hosted on pass61/63
623 posts
Gave thanks: 8
Thanked 2 times
|
so you want the "Save As" dialog box to show as soon as they login instead of the index page, right?
if that's the case then i am pretty sure you might be able to: 1) Setup some sort of redirect so that it automatically points them to the .exe 2).htaccess might help as well. you can configure it so that .exe opens first, and .html/.htm extensions. you might want to wait for this one because i am not entirely sure if this works... until then i'll go test since i'm not doing anything anyways |
|
|
|
|
|
#6 (permalink) |
|
pineapples are sharp
Super #1
Joined in Dec 2005
5,773 posts
Gave thanks: 147
Thanked 151 times
|
yes there is also an option in CPanel that lets you dissallow directories... what you could do is just drop a blank index.htm file in the directory that you want to keep private and it'll work.
|
|
|
|
|
|
#7 (permalink) |
|
Registered User
Excelling Contributor
Joined in Oct 2004
Hosted on pass61/63
623 posts
Gave thanks: 8
Thanked 2 times
|
i just tried out the .htaccess part
when you password protect the directory, the directory automatically gets a .htaccess which looks like the following or something similiar: Code:
AuthType Basic AuthName "ptest" AuthUserFile "/home/omnifusi/.htpasswds/ptest/passwd" require valid-user Code:
Options All -Indexes DirectoryIndex index.exe index.php index.htm index.html Code:
AuthType Basic AuthName "ptest" AuthUserFile "/home/omnifusi/.htpasswds/ptest/passwd" require valid-user Options All -Indexes DirectoryIndex index.exe index.php index.htm index.html the index.exe is the .exe you want to open right away, you can name whatever you want just make sure you put it in correctly in the .htaccess if you want to test it www.omnifusionhosting.net/ptest user: ptest pass: ptest the .exe will start right away ( the .exe is actual wget.exe so if you download it nothing will happen) hope that helps Last edited by dubLeE; July 11th, 2006 at 7:20 PM.. |
|
|
|