We could have a completion hook:

ClientGet
URI=...
Identifier=...
...
OnCompletion=/bin/bash rm -rf /bin
(or more usefully:)
OnCompletion=/home/me/bin/send-email "it's finished"
End

Would this be a good idea? It could of course be disabled by a config
variable. It is already the case that the node can upload from or
download to anything it has access to... I suppose it would suck on
multi-user systems, as users could clobber the node... but they can
already do this with FCPv2, since they can for example download a file
over the node file. FCPv2's whole security model assumes that anyone who
can send FCP commands is trustworthy... Maybe there's something wrong
with that?
-- 
Matthew J Toseland - toad at amphibian.dyndns.org
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/tech/attachments/20060304/39d27ace/attachment.pgp>

Reply via email to