![]() |
|
|
|||||||
| Website Administration Website management support for FTP access, SSH access, control panels, SEO, advertising programs and other help for web site administrators. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
|
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 |
|
|
|
|
|
#2 |
|
Administrator
|
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. |
|
|
|
|
|
#3 |
|
Senior Member
|
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 |
|
|
|
|
|
#4 |
|
Senior Member
|
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 |
|
|
|
|
|
#5 |
|
Senior Member
|
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 |
|
|
|
|
|
#6 |
|
Senior Member
|
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. |
|
|
|
|
|
#7 |
|
Senior Member
|
way kool. thanks so much
__________________
Denise |
|
|
|
|
|
#8 |
|
Administrator
|
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. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|