Go Back   Forum Care Forums > Development Reference Area > Webmaster Topics

Reply
 
LinkBack Thread Tools Display Modes
disable upstream file directory browsing
Old
  (#1)
Guest
Guest
 
Posts: n/a
Default disable upstream file directory browsing - 06-02-2007, 08:53 PM

We have several clients that access a specific folder that is based on
their login. The problem is that all of these folders are inside of
one large 'customer' folder. We want to make it so that once they
select the link to take them to their specific folder, they cannot go
back upstream to the main 'customer' folder. I was told that
mod_rewrite can accomplish this, but I cannot find any examples that
show what I'm looking for. Are there other options out there for me?

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: disable upstream file directory browsing
Old
  (#2)
Dan
Guest
 
Posts: n/a
Default Re: disable upstream file directory browsing - 06-02-2007, 08:53 PM

On May 22, 2:36 pm, ddi...@lanscapes.com wrote:
> We have several clients that access a specific folder that is based on
> their login. The problem is that all of these folders are inside of
> one large 'customer' folder. We want to make it so that once they
> select the link to take them to their specific folder, they cannot go
> back upstream to the main 'customer' folder. I was told that
> mod_rewrite can accomplish this, but I cannot find any examples that
> show what I'm looking for. Are there other options out there for me?


That's not possible. Anything you might contrive using referrers,
cookies, or the like, can easily be disabled by the user if they're
using a sensibly configurable browser. Anyway, why should there be a
difference in ability to access a certain URL depending on whether or
not they've been to a subdirectory of it before? You're out to
protect certain content from your active users, but not random
outsiders?

--
Dan

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: disable upstream file directory browsing
Old
  (#3)
Guest
Guest
 
Posts: n/a
Default Re: disable upstream file directory browsing - 06-02-2007, 08:53 PM

mod_rewrite can accomplish this by hiding the name of the main
folder.
the url can be http://mysite.com/~jonsfolder
and mod_rewrite can server the files from apacheroot/stuff/customer/
jonsfolder *without* changing what's in the browser address bar.

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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





Contact Us - Forum Care Forums - Archive - Top