Question
I see how you can set file attachement max size globally... but can you do it by page? So if you have one group that you want to limit to small document size attachments, you can set that limit on there TWiki pages... but for another group set the limit much higher for file sharing of much larger scripts?
Environment
--
JeffreyLovretich - 30 Aug 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
You can set this in any page:
* Set ATTACHFILESIZELIMIT = 50
This will redefine the max file attachment size for that page, provided that ATTACHFILESIZELIMIT is not set in a FINALPREFERENCES setting at a higher level (web-level or site-level.) Note that if you remove it from the FINALPREFERENCES you basically allow anyone to define their own file attachment limit (if they read the docs.)
You can hide the ATTACHFILESIZELIMIT in html comments:
<!--
* Set ATTACHFILESIZELIMIT = 50
-->
or you can set this in the page preferences (see "more topic actions" screen.)
It is safer to set ATTACHFILESIZELIMIT on a web-level (
WebPreferences), and prevent the lower level to redefine it (add to FINALPREFERENCES in WebPreferences.
--
PeterThoeny - 30 Aug 2007
Thank you Mr. Thoeny!
--
JeffreyLovretich - 31 Aug 2007
Call me Peter
--
PeterThoeny - 01 Sep 2007