Go Back   Velocity Reviews > Newsgroups > Computer Security
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Computer Security - www: security in unlinked directories

 
Thread Tools Search this Thread
Old 07-08-2003, 03:43 PM   #1
Default www: security in unlinked directories


Hello *,

I've set up an apache server and this server needs to generate secure
dynamic content. In order to protect it from remote access the server
renders the content and stores it in newly created dirctory consisting
of 10 random characters. Only the right users get the complete link to
this directory.
How easy is it to find this dir? It will stay only for aprox 2 hours
before being deleted. Is there a real change to find it?
(26+26+10)^10=839299365868340224 that to much for brute-force, isn't it?
Or are there other ways to find the dir?

any hints very welcome...


thanks
Henning



Henning Meyer
  Reply With Quote
Old 07-08-2003, 07:29 PM   #2
johannes m.r.
 
Posts: n/a
Default Re: www: security in unlinked directories
Of course there is always the possibility of hidden bugs somewhere. If
I remember correctly somewhen around Apache 1.3.19 there was a bug
which revealed the contents of a directory - i.e. what you don't want.
Of course _this_ bug is fixed now.. - but who knows when the next will
be found?
j.


johannes m.r.
  Reply With Quote
Old 07-08-2003, 09:38 PM   #3
Richard Antony Burton
 
Posts: n/a
Default Re: security in unlinked directories

"Henning Meyer" <> wrote in message
news:beelal$3r16j$...

> I've set up an apache server and this server needs to generate secure
> dynamic content. In order to protect it from remote access the server
> renders the content and stores it in newly created dirctory consisting
> of 10 random characters. Only the right users get the complete link to
> this directory.
> How easy is it to find this dir? It will stay only for aprox 2 hours
> before being deleted. Is there a real change to find it?
> (26+26+10)^10=839299365868340224 that to much for brute-force, isn't it?
> Or are there other ways to find the dir?


So long as you configure the server & code the contents of your website
well, there should be no way for them to see the folder.

As for the brute forceability, pretty slim chance. First off think who your
potential hackers are. Are they going to know that the format of your
directory structure to even be able to start a brute force attack? If not
it's pretty safe anyway. Are you expecting someone to leak this information?
If so then it isn't safe anyway, but at least they will only be able to
access it for two hours. If you really suspect someone will try to brute
force it, you could always ban IP addresses that make too many failed
requests.

There really are much better ways to restrict access to information on a
webserver. The only reason I can think you would choose this way over (or as
well as) standard password protection would be to time limit access to
authorised users. But these people have access for two hours? Isn't that
long enough to do whatever it is you seem concerned to secure them against?

I'd be interested to hear what kind of application you would find this
useful for, if it's not too sensitive.

Richard.




Richard Antony Burton
  Reply With Quote
Old 07-13-2003, 09:02 PM   #4
mto
 
Posts: n/a
Default Re: security in unlinked directories

"Henning Meyer" <> wrote in message
news:beelal$3r16j$...
> Hello *,
>
> I've set up an apache server and this server needs to generate secure
> dynamic content. In order to protect it from remote access the server
> renders the content and stores it in newly created dirctory consisting
> of 10 random characters. Only the right users get the complete link to
> this directory.
> How easy is it to find this dir? It will stay only for aprox 2 hours
> before being deleted. Is there a real change to find it?
> (26+26+10)^10=839299365868340224 that to much for brute-force, isn't it?
> Or are there other ways to find the dir?
>
> any hints very welcome...
>
>
> thanks
> Henning


If you can access it from the web a determined - or maybe not so
determined - hacker can too. Password protection be danged.

The single most common way I have seen for folks to access stuff they aren't
supposed to be able to see on Apache servers is that the folks in charge
forget to put a nice blank html page named index.htm inside every single
folder. If you don't do that then someone needs only know the name of the
folder - or make a good guess - to get a complete list of every file in the
folder.

There are some very neat tricks you can use with Apache though. Read up on
htaccess - there are a couple of good tutorials online as well as tons of
info at Apache.




mto
  Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer Security Information and What You Can Do To Keep Your SystemSafe! Ann.Anderson.group.com@gmail.com A+ Certification 0 12-06-2007 01:55 AM
Computer Security aldrich.chappel.com.use@gmail.com A+ Certification 0 11-27-2007 02:11 AM
Computer Security Information (Free Articles and eBooks) aditya.jaiswal.com.use@gmail.com DVD Video 0 10-10-2007 04:53 AM
Re: Missing WinXP Security Center Applet Steven L Umbach A+ Certification 2 06-27-2006 12:56 AM
Re: Mac Security vs. Windows Security Tony Sivori A+ Certification 0 10-28-2003 06:23 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46