Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   Keeping folders private (http://www.greenguysboard.com/board/showthread.php?t=52014)

boobookitty 2009-03-21 02:04 AM

Keeping folders private
 
Ok so this is probably coding 101 but I've never learned what to do to keep a folder private.
Let's say I have a listing:
http://www.mylittlekitty.com/
and I have a folder that is named pussypics on it.
so the folder will be named
http://www.mylittlekitty.com/pussypics/
and all the pics will be named pussy1.jpg, pussy2.jpg, etc
how do I post a pic on the web of
http://www.mylittlekitty.com/pussypics/pussy1.jpg without everyone being able to back up and see what is in the http://www.mylittlekitty.com/pussypics/ folder?
Please and TIA |bananna|

Beaver Bob 2009-03-21 02:28 AM

add this line to your htaccess

Code:

Options -Indexes

boobookitty 2009-03-21 03:54 AM

Quote:

Originally Posted by Beaver Bob (Post 445270)
add this line to your htaccess

Code:

Options -Indexes

TYVM
Worked like a charm |bananna|

nate 2009-03-31 11:17 PM

Quote:

Worked like a charm
That's a good start, but firefox will let you walk every image on a page just by banging the forward button, and if they land on pussy1.jpg from somewhere else they can still walk all the sequential files with a firefox toolbar called "browse images". You can't really do anything about the first, but you can thwart the browse image toolbar by naming files like this -> 01-pussy-20.jpg 02-pussy-19.jpg 03-pussy-18.jpg etc.

It takes about 5 minutes to do a directory with an app called "lucas rename". There are lots of batch renamers out there, but lucas is the only one I've found that isnt too stupid to know that 1.jpg goes before 10.jpg.


All times are GMT -4. The time now is 10:25 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc