[medusa] Adding per-directory security to ftp server (how to?)
Tue, 17 Jul 2001 12:06:43 -0700
> I want to check access at each directory in a filesystem
> which is served over both http and ftp.
> Is there a recommended way to apply this kind of
> authentication to both http and ftp servers?
I guess it depends on where the auth info is stored and how you access it.
Not knowing too much more about it I would extend one of the classes in
filesys.py to support your access check. The ftp server and the http
default_handler both expect a 'filesystem' object. The ftp server currently
retrieves that object from an authorizer, but you could change this,
depending on whether you want to extend normal ftp auth or replace it.