Web Servers on Unix and Linux - Constrain user's access to UserDir

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > June 2007 > Constrain user's access to UserDir





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Constrain user's access to UserDir
runderwo@mail.win.org

2007-06-06, 7:17 pm

I would like to allow users to symlink within their own files, but to
prevent users from linking to each other's publicly readable files,
because search engine traffic from cross-linked files is annoying.
This could be easily done if I could somehow constrain a symbolic link
as well as its target to be within UserDir. I don't see an obvious
way to do this with Apache 2.2.

My user directories are on a network filesystem with ACLs, so
SymLinksIfOwnerMatch doesn't really work in this case.

Actually, another way to address the problem would be to trigger a
redirect if the symlink target is outside the UserDir of the
originating symlink. I know Apache 2 filters can be quite powerful,
is there any way I could put them to use here?

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com