incubator-projects mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey M Vladimirov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FTPSERVER-19) Question about FileObject - should it depends on User?
Date Mon, 03 Oct 2005 08:51:47 GMT
    [ http://issues.apache.org/jira/browse/FTPSERVER-19?page=comments#action_12331144 ] 

Sergey M Vladimirov commented on FTPSERVER-19:
----------------------------------------------

I think FileView should contain User and root directory field, 'cose method like canDelete
or canRead will be moved to it and such method must use User and File to security checks.

And no chance that system will be used only for native file systems - it is ALREADY implemented
for database files system :)

About caching:
 - File can contain both full-names - for User-view and for system. For caching full-system-name
will be used, and full-user-view for user represantation.

> Question about FileObject - should it depends on User?
> ------------------------------------------------------
>
>          Key: FTPSERVER-19
>          URL: http://issues.apache.org/jira/browse/FTPSERVER-19
>      Project: FtpServer
>         Type: Wish
>     Reporter: Sergey M Vladimirov

>
> Does FileObject need to depend from User, or different users can share same FileObject?
> Second variant is good choice for caching and reusing file objects - we can put all files
to cache (where key is they full name), and user-depended code will be only in FileSystemView.
> Now first variant is implemented.
> If no marks or suggestions until Tuesday evening (MSK), I will do it - it the simpliest
way to implement files security chinking in my system (Arp.Site).
> (Please, report me, if you found a bug in my English :) Patches are welcome )

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: projects-unsubscribe@incubator.apache.org
For additional commands, e-mail: projects-help@incubator.apache.org


Mime
View raw message