Computer Help Forum

Go Back   vBulletin and Computer Help Forum > Website Support and Management > Website Administration

Website Administration Website management support for FTP access, SSH access, control panels, SEO, advertising programs and other help for web site administrators.

Reply
 
Thread Tools Display Modes
Old 12-20-2006   #1
chick
Senior Member
 
chick's Avatar
 
Join Date: Sep 2006
Posts: 326
protecting a directory

What chmod do I use to protect a directory but still allow me to post a link to a specific pfd file in that directory (diagrams).... so someone cannot just click http://xxxxx.com/diagrams and see all of of the files there?
__________________
Denise
chick is offline   Reply With Quote
Old 12-20-2006   #2
Greg
Administrator
 
Greg's Avatar
 
Join Date: Feb 2003
Location: Florida
Posts: 5,194
I don't know if that's possible.
__________________
Computers and Accessories Computer Manuals Riderinfo Connect for Bikers
Ad Revenue - Sell link space on your website and profit.
Greg is offline   Reply With Quote
Old 12-20-2006   #3
chick
Senior Member
 
chick's Avatar
 
Join Date: Sep 2006
Posts: 326
It must be possible? http://www.cpurigs.com/forums/images/

your image directory is not showing and neither is mine, yet the images still work

http://corvettemechanic.com/forum/images/

image called & working example

http://www.cpurigs.com/forums/images...ser_online.gif
__________________
Denise
chick is offline   Reply With Quote
Old 12-20-2006   #4
Zero Tolerance
Senior Member
 
Zero Tolerance's Avatar
 
Join Date: Feb 2003
Location: In Your Machine
Posts: 1,754
I would create another directory inside of said directory and chmod to 755 or 777 if you dont care who has access to it.
__________________
good day,
Zero Tolerance
aka "SpeedDemon" & "theMadHacker"

As I was walking up the stairs
I met a man who wasnt there
He wasnt there again today
I wish...I wish he'd go away!

ATV Forums ~ 250R ~ Banshee ~ Utility Class ~ Sport Quads
Free Internet Radio ~ Independent Music & Artists ~ Become an online radio Dj
Zero Tolerance is offline   Reply With Quote
Old 12-20-2006   #5
chick
Senior Member
 
chick's Avatar
 
Join Date: Sep 2006
Posts: 326
Maybe i didn't explain correctly what i want to accpmplish.

I need to prevent anyone from typing http://corvettemechanic.com/diagrams <--- as you can see it opens the directory and you can see all the diagrams.

I need that NOT to happen, and yet still be able to post a link to 1 of the charts inside the diagrams foler and have it work, will it (a link to the actual file) still work if I chmod the diagrams 'directory' to 644 or what ever?

http://corvettemechanic.com/diagrams...nersManual.pdf

In other words... I don't want anyone to be able to fully open that diagrams directory... only be able to view/open a file I post as a link from it.
__________________
Denise
chick is offline   Reply With Quote
Old 12-20-2006   #6
Big Dan
Senior Member
 
Big Dan's Avatar
 
Join Date: Jul 2006
Location: New York
Posts: 259
Send a message via AIM to Big Dan Send a message via MSN to Big Dan Send a message via Yahoo to Big Dan
If you're using a cPanel host: Use "Index Manager" on the bottom of cPanel home right next IP deny manager. Navigate to the directory, click on it's name and select "No Indexes"

You can still link to files but no one will be able to see the directory listing.
__________________
DJ Chat | Big Dan
Big Dan is offline   Reply With Quote
Old 12-20-2006   #7
chick
Senior Member
 
chick's Avatar
 
Join Date: Sep 2006
Posts: 326
way kool. thanks so much
__________________
Denise
chick is offline   Reply With Quote
Old 12-21-2006   #8
Greg
Administrator
 
Greg's Avatar
 
Join Date: Feb 2003
Location: Florida
Posts: 5,194
I put an empty index.html in my folders to avoid that. It's nothing special to me, everyone does it.

If there is no index.html, .htm, or .php, the directory contents may be displayed on some servers.
__________________
Computers and Accessories Computer Manuals Riderinfo Connect for Bikers
Ad Revenue - Sell link space on your website and profit.
Greg is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:41 AM.



vBulletin 3.8.7 Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright vB and Computer Help Forum

EZ software products copyright Greg Lynch 2006-2013