Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > CPanel - Control Panel

Notices

CPanel - Control Panel All Cpanel questions and issues.

Reply
 
LinkBack Thread Tools
  #1  
Old 03-12-2007, 04:57 PM
Staff Sergeant
 
Join Date: Feb 2007
Posts: 41
Question Protecting Files

Another Question,

I have a password protected subdomain with audio files in it, but everytime I open a file online I have to put in my username and password. This could get pretty anoying to anyone who wanted to view to a few files. Is it possable to have them protected but only have the username and password thing pop up if your going straight to the file from a different site? (just like the .html pages)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 03-12-2007, 07:39 PM
First Lieutenant
 
Join Date: Apr 2006
Posts: 186
Default Re: Protecting Files

it somehow anoying everytime been asked for password.

Instead of protecting everyfile you can put all in one folder may be you can log in once to access the whole folder.

All the best.
__________________
jahnSELE
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 03-12-2007, 09:01 PM
Staff Sergeant
 
Join Date: Feb 2007
Posts: 41
Default Re: Protecting Files

Quote:
Originally Posted by jahnsele
it somehow anoying everytime been asked for password.

Instead of protecting everyfile you can put all in one folder may be you can log in once to access the whole folder.

All the best.
There is a folder under my public.html in CPannel for my subdomain. I have just password protected that folder.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 03-12-2007, 09:11 PM
LadyEye's Avatar
General & Forum Moderator
 
Join Date: Jun 2006
Location: Canada
Posts: 9,909
Send a message via MSN to LadyEye
Default Re: Protecting Files

Quote:
Originally Posted by xlrsound
There is a folder under my public.html in CPannel for my subdomain. I have just password protected that folder.

This is fine providing you intended for your entire subdomain to be protected. Meaning everyone who accessed it would need a password, if this is not the case, put the files you want to protect into a subfolder of this sub-domain and password protect them that way ... as it is now you have your entire sub-domain protected ... not sure if that is what you want or not ....

Keep in mind if you move files around you will have to republish to those pages again ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 03-12-2007, 09:30 PM
Staff Sergeant
 
Join Date: Feb 2007
Posts: 41
Default Re: Protecting Files

Quote:
Originally Posted by LadyEye
This is fine providing you intended for your entire subdomain to be protected. Meaning everyone who accessed it would need a password, if this is not the case, put the files you want to protect into a subfolder of this sub-domain and password protect them that way ... as it is now you have your entire sub-domain protected ... not sure if that is what you want or not ....

Keep in mind if you move files around you will have to republish to those pages again ...
Can I put the audio files somewhere where they aren't password protected? or will some computer geek be able to access them than.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 03-12-2007, 09:38 PM
LadyEye's Avatar
General & Forum Moderator
 
Join Date: Jun 2006
Location: Canada
Posts: 9,909
Send a message via MSN to LadyEye
Default Re: Protecting Files

Quote:
Originally Posted by xlrsound
Can I put the audio files somewhere where they aren't password protected? or will some computer geek be able to access them than.

lol ... if you place all your audio files into the password protected directory, they will all be protected, even from those cg's ... if you don't place them in a password protected directory they are then public accessible, as in your public_html directory, everything is for the public ...

If you do not want your entire subdomain password protected ... make a new password protected directory within your subdomain, to hold your audio files only ... have a page leading from your subdomain that they will go to to enter into the password protected area ... know what I mean ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 03-12-2007, 09:59 PM
Staff Sergeant
 
Join Date: Feb 2007
Posts: 41
Default Re: Protecting Files

Quote:
Originally Posted by LadyEye
lol ... if you place all your audio files into the password protected directory, they will all be protected, even from those cg's ... if you don't place them in a password protected directory they are then public accessible, as in your public_html directory, everything is for the public ...

If you do not want your entire subdomain password protected ... make a new password protected directory within your subdomain, to hold your audio files only ... have a page leading from your subdomain that they will go to to enter into the password protected area ... know what I mean ...
So is there no way to have files protected, but like the .html pages you wouldn't have to type in a password unless your coming from a different site?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 03-12-2007, 10:05 PM
LadyEye's Avatar
General & Forum Moderator
 
Join Date: Jun 2006
Location: Canada
Posts: 9,909
Send a message via MSN to LadyEye
Default Re: Protecting Files

Quote:
Originally Posted by xlrsound
So is there no way to have files protected, but like the .html pages you wouldn't have to type in a password unless your coming from a different site?
No unfortunately, there is no system in place to be able to stop or allow access to these pages dependent on where you are coming from that I know of ... there are a few people on here like Navel, Race and David who do scripting, I don't know if this is something that could be done or not??
You could contact them through their sites and ask if this is possible if they didn't respond here ...

Are you selling your music? If you are not, it's a good thing to have your music around, it may promote you ... just a thought ....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 03-12-2007, 10:12 PM
Colonel
 
Join Date: Aug 2006
Location: Midwest USA
Posts: 985
Default Re: Protecting Files

Hi .. As far as I know there is no way to protect your music files.. You really can't have it both ways.. open listenership or protected... But by invitation to certain people to a specific protected file where they can listen... may work... Other than that it is open to the public... Doug
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old 03-12-2007, 10:13 PM
Staff Sergeant
 
Join Date: Feb 2007
Posts: 41
Default Re: Protecting Files

OK,

If I have files under public.html but have no links to them does someone have access to them?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old 03-12-2007, 10:17 PM
LadyEye's Avatar
General & Forum Moderator
 
Join Date: Jun 2006
Location: Canada
Posts: 9,909
Send a message via MSN to LadyEye
Default Re: Protecting Files

Quote:
Originally Posted by xlrsound
OK,

If I have files under public.html but have no links to them does someone have access to them?
yes they do, even though there are no links, access can be found, perhaps someone posts a link to that page on a blog, or maybe you have an image, and someone does an image search and your page comes up, or even the title of your page could fall into a search for any given category ... who knows, the scenearios are endless.

That is the meaning behind that directory ...

public_html - directory means accessible by the public

protected directory - means protected from the public ....

Isn't it awful when you can't have the best of both worlds, lol ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old 03-12-2007, 10:33 PM
Staff Sergeant
 
Join Date: Feb 2007
Posts: 41
Talking I have a plan!

I have a plan!

THANK YOU!!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13  
Old 03-13-2007, 12:05 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,288
Default Re: Protecting Files

Or, create a password protected page, with links to download the files through a php script, and store the files in a database. This way they will be inaccessible.

If you sell music, then you could have an automated Instant Download Cart, which would allow download as soon as the customer has paid through PayPal.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #14  
Old 03-15-2007, 06:41 PM
Staff Sergeant
 
Join Date: Feb 2007
Posts: 41
Default Re: Protecting Files

Quote:
Originally Posted by navaldesign
Or, create a password protected page, with links to download the files through a php script, and store the files in a database. This way they will be inaccessible.

If you sell music, then you could have an automated Instant Download Cart, which would allow download as soon as the customer has paid through PayPal.
No i'm not doing music, but thanks anyway.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #15  
Old 03-15-2007, 06:46 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,288
Default Re: Protecting Files

If you want 100% protection for your files (whatever they are) but you don't want them in a password protected directory, the only way to protect them is to store them in a database instead of saving (uploading) them on your site. Of course, you will need a script be able yourself to download them.

It would hep if you specified what kind of files these are
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #16  
Old 03-16-2007, 10:01 PM
Corporal
 
Join Date: Dec 2006
Location: Spain
Posts: 12
Default Re: Protecting Files

Ey naval, when you tell Store them in a database, you are talking about save the link path of the file (something like: "http://wowmusic.com/music/adfjaf784jksgyua4/asjewsyfkl4/kjafnaosuifeh.mp3") or directly store the file inside of mysql?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #17  
Old 03-16-2007, 10:42 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,288
Default Re: Protecting Files

Quote:
Originally Posted by Ogeid
Ey naval, when you tell Store them in a database, you are talking about save the link path of the file (something like: "http://wowmusic.com/music/adfjaf784jksgyua4/asjewsyfkl4/kjafnaosuifeh.mp3") or directly store the file inside of mysql?
I meant storing the files straight into the database. However, storing the path is also efficient, as long as the files are not PDF. PDF files get indexed, mp3s don't. So, if the files are PDF the MySQL storage is the best, if they are mp3s, storing the path of the file and using a download script to retreive the path and allow the download, is better. I.e. , our Instant download manager uses this second method.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #18  
Old 03-26-2007, 03:13 PM
Colonel
 
Join Date: Aug 2006
Location: Midwest USA
Posts: 985
Default Re: Protecting Files

Hi Naval... Your Instant Download Manager/Cart works great; for downloads.
Could I utilize that same data base to Preview the mp3 on my site? So when visitor clicks a link to hear a preview the database delivers it to the player??
Thanks Doug
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!