| Shared Hosting Questions about your shared hosting account. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#2 (permalink) |
|
pineapples are sharp
Super #1
Joined in Dec 2005
5,773 posts
Gave thanks: 147
Thanked 151 times
|
You could password protect the directory that it resides in through Cpanel.... but there are more elaborate methods using Crypt/HMAC, SHA1, MD5, PHP, SOAP/REST and signed requests... that provide advanced methods of file protection/distribution
__________________
poof
|
|
|
|
| This user thanks Brandonnn for this great post! | cajunboy2208 (January 18th, 2007) |
|
|
#3 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jan 2007
18 posts
Gave thanks: 6
Thanked 0 times
|
I have no clue how to crypt or any of that stuff.
Well I guess I will just have to make a lot of folders or something. That would work out. Where is the password protect in the cpanel? |
|
|
|
|
|
#4 (permalink) |
|
Surpass Fan
On a golden path...
Joined in Mar 2006
Hosted on SH100
455 posts
Gave thanks: 73
Thanked 17 times
|
If you want to password protect just one file for a friend to download or something you can just encrypt it and upload it using some free encryption program like AxCrypt. Then tell your friend the exact location of the file and the password by telephone. The odds of someone finding the download with no link to it on the internet is extremely low. And even if they do it is encrypted. Then just delete it after he got it.
If you are going to be allowing access to certain files and changing them and users that allowed to use them then that is not practical and using htaccess files to password protect an entire folder is better. |
|
|
|
| This user thanks Sentinel for this great post! | cajunboy2208 (January 18th, 2007) |
|
|
#5 (permalink) | |
|
Registered User
Fresh Surpasser
Joined in Jan 2007
18 posts
Gave thanks: 6
Thanked 0 times
|
Quote:
Where is the htaccess? Ok I found how to do that... but what does this mean? Protected Resource Name (will display in browser's password mask): Also, if I set up several users with their own passwords, will I be able to see how many times that user has accessed the download? Last edited by cajunboy2208; January 18th, 2007 at 6:19 PM.. |
|
|
|
|
|
|
#6 (permalink) |
|
Surpass Fan
Comfy Contributor
Joined in Jun 2004
Lives in Sweden
Hosted on Muy and Dedicated
219 posts
Gave thanks: 7
Thanked 22 times
|
If you wish to password protect a single file like you do for folders, it's possible to add this in a .htaccess file in the folder were the file is located:
Code:
<Files thefile.php> AuthUserFile "/home/accountname/ .htpasswds/whatever/passwd" AuthGroupFile /dev/null AuthName "Log in to get the file" AuthType Basic require valid-user </Files> Username & Password is saved like: name:PaSsWOrd. The password should be encrypted, never use the real name like PaSsWOrd - instead go here to get it encrypted: http://www.kxs.net/support/htaccess_pw.html Example: Username: name Password: PaSsWOrd will become: name:ZVQGPAFmTwvKU
__________________
:: Have a great day! /Erik at http://www.psychofrog.se and http://www.manufrog.com :: Server: Muy and Dedicated |
|
|
|
| These users thank psfrog for this great post! | cajunboy2208 (January 18th, 2007), H (January 22nd, 2007) |
|
|
#7 (permalink) | |
|
Surpass Fan
Comfy Contributor
Joined in Jun 2004
Lives in Sweden
Hosted on Muy and Dedicated
219 posts
Gave thanks: 7
Thanked 22 times
|
Quote:
__________________
:: Have a great day! /Erik at http://www.psychofrog.se and http://www.manufrog.com :: Server: Muy and Dedicated |
|
|
|
|
| This user thanks psfrog for this great post! | cajunboy2208 (January 19th, 2007) |
|
|
#9 (permalink) | |
|
Marketing Maven
Surpass Staff
Joined in May 2003
Lives in Orlando
24,749 posts
Gave thanks: 946
Thanked 806 times
|
Quote:
![]()
__________________
|
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|