GlowHost Web Hosting Forums  

Go Back   GlowHost Web Hosting Forums > Web Hosting Technical Support > cPanel Topics
Register Forum FAQ Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-23-2006
Nearly a Glow Sage
 
Join Date: Jan 2006
Posts: 17
Rep Power: 0
classicsm is on a distinguished road
Default Question About Password Protecting Directory

I want to be sure I'm understanding the password protect function. If I password protect the files with my images--for instance, the directory with the images that make up my eBay template-- the images will still be able to be seen, right? Someone without the password just can't access the files on the server?

What if I have an .avi file in http://www.xyz.com/movies/abc.avi. If I have the movies directory password protected, and I send someone this URL, they would need the password to view the movie?

Thanks for your help! Lisa
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-23-2006
Matt's Avatar
chown -R us.us *YourBase*
 
Join Date: Jan 2005
Location: Moved to Florida!
Posts: 1,729
Rep Power: 10
Matt is a glorious beacon of lightMatt is a glorious beacon of lightMatt is a glorious beacon of lightMatt is a glorious beacon of lightMatt is a glorious beacon of lightMatt is a glorious beacon of light
Default

If you password protect your images folder, and have an HTML page that embeds that image into the page, the user trying to view the page would have to know the username and password to actually see the image.

What will happen is the page will load, then they will get a login prompt and if they enter in the username and password, the images will load on the page. If they cancel the login, the images will show big red "x"s and missing images.

If you don't want someone to see all the available images in your images folder simply put a blank page called index.html or you can use .httaccess rules to prevent directory listings or many other things. Another option is to use the index manager in cPanel which will allow you to turn directory indexes on or off for a particular directory (folder)

All it is essentially doing is writing the .htaccess file for you in my above option.
__________________
:::::
01001100 00110011 00110011 00110111

Last edited by Matt; 02-24-2006 at 12:44 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-24-2006
Nearly a Glow Sage
 
Join Date: Jan 2006
Posts: 17
Rep Power: 0
classicsm is on a distinguished road
Default

Thanks for pointing me in the right direction, Matt. I'll do some reading on the access rules. Have a good one! Lisa
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:15 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO
Copyright 2000-2007 GlowHost.com