Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Restrict Import of Files
Al_SPT
We currently call a subroutine from our workflows that does a check to restrict the deployment of files that we do not want users sending to our web content servers, for example we do not want exe files deployed via interwoven to the content server.
I could not find any information that instructions on how to restrict the import of files to the teamsite server. Is there a parameter in a configuration file that can be set to restrict certain file types from being imported ? We would also like to restrict the size of a file that could be imported . For example , restricting the import of any file over 10 Meg.
Find more posts tagged with
Comments
Adam Stoller
There is, to my knowledge, no way to configure the Import functionality of TeamSite to restrict uploading of files based on criteria like that.
Instead - I suggest you look at using workflow functionality to prevent such files from being submitted to the TeamSite staging area and thus prevent it from being deployed from staging to your web servers.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
DavidMusser
I agree with Fish on this one. I would put your logic in the workflow itself. This way you can check. I would also be careful what you restrict a user from adding to the site, cause as soon as you say a 10Meg doc someone will have a very good reason that this one has to be posted, and you would have to modify the workflow or the validation scripts etc to create one for this special case.
I do like the .exe's not being added to the site, but again what if it's an executable zip file someone had to put up for download.
If you wanted an alternative to using launchpad you could use a cgi task to select the files you want to import and put your logic there, but again I'd go back to the workflow validation, and make sure you make it configurable etc.
David R Musser
Eye Street Software
540-542-5257
dmusser@eyestreet.com
Win2k, TS 6.5 SP1, OD 6.01
iwovGraduate
Sounds like a good feature request to me -
Configurations to restrict import by file type (extension?), size, etc. per area/branch.