incubator-projects mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey M Vladimirov (JIRA)" <>
Subject [jira] Commented: (FTPSERVER-19) Question about FileObject - should it depends on User?
Date Mon, 03 Oct 2005 08:51:47 GMT
    [ ] 

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:
>      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:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message