Stopping access to lower subdirs

thomas@c... thomas@c...
Thu, 26 Oct 2000 12:00:26 -0000


--- In medusa@egroups.com, thomas@c... wrote:
> 
> I've written a custom authorizer. How can I set a start root-dir so 
> the users doesn't get access to dirs outside or below this ( using 
> cd .. etc.) ?
> 
> If I've allready set the ftp_channel read-only to false can the 
users 
> overwrite files all across the filesystem ?? Which id is used to 
> write files using the ftp-server?
> 
> Any clues ??

Me again:
Nevermind. The source gave me some hints. Subclassing the ftp_channel-
class and overriding the specific methods work like a charm.

Thomas