[pmwiki-users] How can I make an uploaded file expire?

Neil Herber (nospam) nospam at eton.ca
Fri Jan 23 00:21:51 CST 2009


I want to have an uploaded file available for a limited amount of time. 
I would like it to be deleted (or unavailable for download) after a 
certain date.

If I protected the group where the download lived and had an 
authorization group (@limited) controlling access to the pages, could I 
make the "@limited" authorization group *automatically* disappear after 
a certain date?

Alternatively, how can I delete a set of pages automatically on a given 
date?

One crude method I thought of was to set a very long $AutoRestoreKeep 
value and have the wikirev.d/ "known version" of the page(s) be blank. 
Or I suppose it could say "This page has expired..."

Any more elegant solution would be welcome!

-- 
Neil Herber



More information about the pmwiki-users mailing list