[Xitami] hiding URL paths

Chestnut chestnut at willapabay.org
Sun Aug 28 01:20:21 CEST 2005


Has anyone suggested, simply using the private directory and user passwords
thru xitami itself???
Patrick
----- Original Message ----- 
From: "RPO" <rolinger1 at hotmail.com>
To: "Xitami Users General Discussion" <xitami at lists.xitami.org>
Sent: Friday, August 26, 2005 6:27 PM
Subject: Re: [Xitami] hiding URL paths


> Yeah, I get that:
>
> Virtual        Real
> /foo/            C:\blahdir\
> /foo/            C:\xitami\blahdir\
> /foo/            D:\something\blahdir
>
> But what I am looking for is a way to put photos in a directory that are
> unaccessable from a direct URL path.  I am trying to prevent users who are
> not logged in from getting to photos they don't have access to see.  If I
> move them to an aliased directory, then users can simply type in the alias
> path and still get to them.  If I move them non-aliased path or a non
> webroot path, then the only way I know to serve the photos is to have Perl
> serve up raw image data.  But that can take up alot of server CPU.  If the
> files are in a non-aliases or non webroot path, then a simple <img
> src=/photos/foo.jpg> won't work, the /photos/foo.jpg must be in a valid
HTTP
> path for the image tag to work.
>
> ----- Original Message ----- 
> From: "Magnus Wedberg" <mw at 9000.org>
> To: "Xitami Users General Discussion" <xitami at lists.xitami.org>
> Sent: Friday, August 26, 2005 4:52 PM
> Subject: Re: [Xitami] hiding URL paths
>
>
> > > But I supposed the web surferer could still type in
> > > http://www.blah.com/photos/user1/album1/foo.jpg and stil get to the
> > > photo.
> >
> > you don't /have/ to set the alias path to a subdir of the root path.
> > i.e., having root at c:\web\ and the alias /photo/ at f:\photo\ is
> > perfectly valid.
> >
> >
> >
> > -- 
> > Magnus Wedberg
> > http://www.magnuswedberg.com/
> > mw AT 9000.org
> > Warning! Objects in viewfinder may be closer than they appear.
> >
> >
> >
> >
> > --
> > Xitami Users Mailing List -- For Xitami support
> > To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
> >
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 8/26/2005
>



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 8/26/2005



More information about the Xitami mailing list