#The PREVENT UPLOAD Part:#This script also be rewrite.#You can specify if a sfv is allowed to be uploaded when only certain dir are presents.#You can specify if a sfv is prevent, what dir can be mkdir.#SFV deny uploadsfv.restrict.upload=truesfv.restrict.upload.exempt=^sample$ ^cover?$ ^sub?$#SFV deny MKD (if exists)sfv.restrict.mkd=truesfv.restrict.mkd.exempt=^sample$ ^cover?$ ^sub?$ ^subs$ ^proof$ ^PROOF$ ^COVERS$ ^covers$ ^covers$#The PROTECT AFFILS part:#This script a easy protection for all your affils. The script check your perms.conf#When found a line : pre /PRE/GROUP/* =GROUP =siteop for example#For this line, dirname like XXXX-GROUP can only be created by GROUP users and siteop users for all sections.#So, if you have group affils that not pre in the entire site, you must protect your groups with regexp.#Its a first realisation, maybe more customisable later.#restrict affil files other than affilsmkdir.restrict.affils=true