Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Folder directories privacy
Old 12-18-2008, 07:41 PM Folder directories privacy
Registered User

Posts: 78
Name: Joseph
Location: Texas
Trades: 0
I set directories full of images to not be visible to the public but is there a way that I can see the directory?

Cause I have image hosting on my site and i dont want to see all the images uploaded so i made it so they cant see the images directory that the images are uploaded to. But if i want to see the images i cant either. So is there a way to make the directory only visible to me?
josephcohen is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-18-2008, 11:35 PM Re: Folder directories privacy
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
What kind of image hosting do you have? And how did you make it so that users can't see the directory?

- Steve
stevej is offline
Reply With Quote
View Public Profile
 
Old 12-19-2008, 01:02 AM Re: Folder directories privacy
Skilled Talker

Posts: 77
Trades: 0
There may be some .htaccess trick to achieve this, but that's outside of what I know personally. However, you could get a script that would list the directory's contents, and you could just name the file something that you only know about. Search for "list directory files script" or something like that in a search engine.

Here's something that I use:

Code:
#!/usr/bin/perl -w

use CGI::Carp qw(fatalsToBrowser);

print "content-type: text/html\n\n";

@files = <*>; 
foreach $file (@files) {

print "<a href='$file'>". "$file" . "</a><br>\n";

}
to print out a list of the file names in an image directory. You can alter the print command to display thumbnails if you would like -- but to use this you have to be able to run CGI scripts outside of the CGI bin.

I'm not sure if this is something that will work for you, but if it does -- let me know if you need any minor adjustments or help on how to implement it.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
whooligan is offline
Reply With Quote
View Public Profile
 
Old 12-20-2008, 05:03 PM Re: Folder directories privacy
Novice Talker

Posts: 12
Trades: 0
Set a password for them using cpanel.
Armin is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Folder directories privacy
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.54871 seconds with 12 queries