Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Security Basics: Re: Insecure handling of Apache restrictions?

Re: Insecure handling of Apache restrictions?

From: Stewart <bdlists_at_snerk.org>
Date: Wed, 16 Oct 2002 13:59:23 -0400

Benoît Gauthier wrote:

> When the virtual site is accessed via http://user.blabla.ca, documents
> in the "secure" directory are correctly controlled by the
> statements. Fine.
>
> However, if the same page (and directory) is accessed via
> http://blabla.ca/~user, then NO authentification is done! NONE!

You could add a statement to your DocumentRoot section like so;

RedirectPermanent "/~user" "http://user.blablah.com/"

Which would force browsers to access the page via the 'proper' means,
rather than via the back door. Besides; if a user has their own
sub-domain, why would they want a tilde site anyways?
Received on Oct 17 2002

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos