...

New? Tell us about yourself. Get to know your fellow members.

Postby mm_freak on Tue Nov 15, 2005 2:46 pm

safety wrote:That way if an index page is left off, the directory can't be viewed. For example, if an artist has a site and leaves the index page off of his gallery directory, all photos and other directories, if they don't have index pages, are visible. Some sample photos will undoubtably be visible on the site, but the artist may have other photos for paying customers.

mm_freak, don't you think this could possibly be a security risk?


No, this is a failure in configuration. If you really need to hide directory listings for your server to be secure, then you should probably reconsider your security system. The administrator should setup proper authentication schemes rather than hiding files by just not listing them. If an attacker can't access content he shouldn't be able to access, even though it's viewed in the directory listing, then you can call it a secure server.

Disabling directory listings is not a solution, but rather a workaround. Hiding the contents of a letter by denying its existence is no gain in security. Hiding the contents of a letter by authentication is the better. It has the advantage of you knowing that nobody could access it, even if he tried to.

It's like hiding a letter by putting it under your rug. The police is going to look for what is under your rug second (after checking your trashcan). The safe is a better solution.
I'm x^10 + x^8 + x^5 + x^4 + x^3 + 1, so don't mess with me!
mm_freak
Moderator
Moderator
 
Posts: 635
Joined: Sun Sep 11, 2005 12:29 pm
Location: Baden-Wuerttemberg (Germany)

Postby alex.e.t on Wed Nov 16, 2005 9:21 pm

...
Last edited by alex.e.t on Tue Jul 24, 2007 8:20 am, edited 1 time in total.
alex.e.t
Newbie
Newbie
 
Posts: 8
Joined: Sun Nov 06, 2005 2:15 am

Re: Dir Listing

Postby mm_freak on Wed Nov 16, 2005 11:20 pm

alex.e.t wrote:But this should never ever be used as a security method as it's not security, it's just semi-hidden, like a picture with hidden things in it, they are there you can see them but you just don't but if you concentrate hard enough you will see them.


It's rather like having 10000 keys and trying them all on the same lock. It's a classic bruteforce attack.
I'm x^10 + x^8 + x^5 + x^4 + x^3 + 1, so don't mess with me!
mm_freak
Moderator
Moderator
 
Posts: 635
Joined: Sun Sep 11, 2005 12:29 pm
Location: Baden-Wuerttemberg (Germany)

Re: Thanks

Postby krod on Thu Nov 17, 2005 12:01 am

alex.e.t wrote:unfortunetly i do not have shell access, but the space they provide is ok for $9 aud (2500 mb) but maybe i do need shell access, do you have any advice of where i could get large space that allows this (shell Smile, php, basic scripting ... and like able to host things like eggdrop all combined with web hosting (hope it even exists)

A friend of mine owns beigetower.org, he provides web hosting along with shell access. I think its 1GB of space, unmetered bandwidth, and a few mysql dbs

mm_freak wrote:Disabling directory listings is not a solution, but rather a workaround. Hiding the contents of a letter by denying its existence is no gain in security. Hiding the contents of a letter by authentication is the better. It has the advantage of you knowing that nobody could access it, even if he tried to.

Wouldn't a simple .htacces be the solution if one wanted to 'disable' directory listings?
I went to the woods because I wished to live deliberately, to front only the essential facts of life, and see if I could not learn what it had to teach, and not, when I came to die, discover that I had not lived.-Thoreau
User avatar
krod
Phoenix Veteran
Phoenix Veteran
 
Posts: 616
Joined: Thu Mar 10, 2005 4:03 am
Location: USA/Georgia

...

Postby alex.e.t on Thu Nov 17, 2005 4:01 am

...
Last edited by alex.e.t on Tue Jul 24, 2007 8:21 am, edited 1 time in total.
alex.e.t
Newbie
Newbie
 
Posts: 8
Joined: Sun Nov 06, 2005 2:15 am

Re: Thanks

Postby mm_freak on Sat Nov 19, 2005 6:06 am

krod wrote:
mm_freak wrote:Disabling directory listings is not a solution, but rather a workaround. Hiding the contents of a letter by denying its existence is no gain in security. Hiding the contents of a letter by authentication is the better. It has the advantage of you knowing that nobody could access it, even if he tried to.

Wouldn't a simple .htacces be the solution if one wanted to 'disable' directory listings?


I don't see any security improvement in hiding directory listings. Real security comes from proper authentication. That's the point. But you might disagree.
I'm x^10 + x^8 + x^5 + x^4 + x^3 + 1, so don't mess with me!
mm_freak
Moderator
Moderator
 
Posts: 635
Joined: Sun Sep 11, 2005 12:29 pm
Location: Baden-Wuerttemberg (Germany)

Previous

Return to Introduce Yourself

Who is online

Users browsing this forum: No registered users and 1 guest

cron