Mailing List Archive

protecting a CDROM drive
hi im using apache 2 on win32 and have created a alias for my CDROM drive that maps to its root, is there any way of password protecting this rather than using htaccess because this would mean me havin to burn the htaccess and passwd files to the cdrom too



thanks

andy
RE: protecting a CDROM drive [ In reply to ]
On Sun, 17 Feb 2002, Admin wrote:

> I would try...creating a directory, with a page inside ...that has a
> link to the
> cd rom drive...then just use htaccess within that directory...so the
> public
> must first be able to access that directory...before accessing the link
> to
> the cdrom...simple huh?
>
> From: Andrew Edmundson [mailto:andrew@edmundson.com]
>
> hi im using apache 2 on win32 and have created a alias for my CDROM
> drive that maps to its root, is there any way of password protecting
> this rather than using htaccess because this would mean me havin to burn
> the htaccess and passwd files to the cdrom too
>

Hmmm, bad idea IMHO. Very easy to break through that.

There are two easy ways to provide proper protection. Instead of placing
the auth directives in an .htaccess file, simply place them in the main
httpd.conf inside either a <Directory> section or a <Location> section.
Use <Directory> with the physical path, or <Location> with the web path.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: protecting a CDROM drive [ In reply to ]
I would try...creating a directory, with a page inside ...that has a link to
the
cd rom drive...then just use htaccess within that directory...so the public
must first be able to access that directory...before accessing the link to
the cdrom...simple huh?

-----Original Message-----
From: Andrew Edmundson [mailto:andrew@edmundson.com]
Sent: Sunday, February 17, 2002 10:38 AM
To: users@httpd.apache.org
Subject: protecting a CDROM drive


hi im using apache 2 on win32 and have created a alias for my CDROM drive
that maps to its root, is there any way of password protecting this rather
than using htaccess because this would mean me havin to burn the htaccess
and passwd files to the cdrom too



thanks

andy
Re: protecting a CDROM drive [ In reply to ]
cheers, im unsure about the link because im using win32, can win32 have symbolic links like in unix, if so how would i do this, thanks alot for the help

Andy
----- Original Message -----
From: Admin
To: users@httpd.apache.org
Sent: Sunday, February 17, 2002 3:42 PM
Subject: RE: protecting a CDROM drive


I would try...creating a directory, with a page inside ...that has a link to the
cd rom drive...then just use htaccess within that directory...so the public
must first be able to access that directory...before accessing the link to
the cdrom...simple huh?

-----Original Message-----
From: Andrew Edmundson [mailto:andrew@edmundson.com]
Sent: Sunday, February 17, 2002 10:38 AM
To: users@httpd.apache.org
Subject: protecting a CDROM drive


hi im using apache 2 on win32 and have created a alias for my CDROM drive that maps to its root, is there any way of password protecting this rather than using htaccess because this would mean me havin to burn the htaccess and passwd files to the cdrom too



thanks

andy
RE: protecting a CDROM drive [ In reply to ]
yes...this is a much better idea...thanks JOSH

-----Original Message-----
From: Joshua Slive [mailto:joshua@slive.ca]
Sent: Sunday, February 17, 2002 10:35 AM
To: users@httpd.apache.org
Subject: RE: protecting a CDROM drive




On Sun, 17 Feb 2002, Admin wrote:

> I would try...creating a directory, with a page inside ...that has a
> link to the
> cd rom drive...then just use htaccess within that directory...so the
> public
> must first be able to access that directory...before accessing the link
> to
> the cdrom...simple huh?
>
> From: Andrew Edmundson [mailto:andrew@edmundson.com]
>
> hi im using apache 2 on win32 and have created a alias for my CDROM
> drive that maps to its root, is there any way of password protecting
> this rather than using htaccess because this would mean me havin to burn
> the htaccess and passwd files to the cdrom too
>

Hmmm, bad idea IMHO. Very easy to break through that.

There are two easy ways to provide proper protection. Instead of placing
the auth directives in an .htaccess file, simply place them in the main
httpd.conf inside either a <Directory> section or a <Location> section.
Use <Directory> with the physical path, or <Location> with the web path.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: protecting a CDROM drive [ In reply to ]
nice one josh, just gave it a try works a treat :-)
cheers

andy

----- Original Message -----
From: "Joshua Slive" <joshua@slive.ca>
To: <users@httpd.apache.org>
Sent: Sunday, February 17, 2002 3:35 PM
Subject: RE: protecting a CDROM drive


>
>
> On Sun, 17 Feb 2002, Admin wrote:
>
> > I would try...creating a directory, with a page inside ...that has a
> > link to the
> > cd rom drive...then just use htaccess within that directory...so the
> > public
> > must first be able to access that directory...before accessing the link
> > to
> > the cdrom...simple huh?
> >
> > From: Andrew Edmundson [mailto:andrew@edmundson.com]
> >
> > hi im using apache 2 on win32 and have created a alias for my CDROM
> > drive that maps to its root, is there any way of password protecting
> > this rather than using htaccess because this would mean me havin to burn
> > the htaccess and passwd files to the cdrom too
> >
>
> Hmmm, bad idea IMHO. Very easy to break through that.
>
> There are two easy ways to provide proper protection. Instead of placing
> the auth directives in an .htaccess file, simply place them in the main
> httpd.conf inside either a <Directory> section or a <Location> section.
> Use <Directory> with the physical path, or <Location> with the web path.
>
> Joshua.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org