You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
geoffwhittington edited this page Mar 5, 2015
·
13 revisions
To configure which file storage provider is used, modify the files.provider property. Only one provider can be enabled (unlike authentication providers).
File types are restricted by default. An admin must list all supported types using the files.allowedTypes setting similar to above. You can allow all file types by setting files.restrictTypes to false.
NOTE: File type restriction is NOT a security control. This feature is for convenience only and to help reduce noise. For example, a bad user can upload evil.exe to the server if it is renamed friendly.png and files.allowedTypes contains the mime type image/png.
File storage providers
Local file storage
files:
local:
dir: uploads
SECURITY: Run on-going file and virus detection on your Lets Chat server to identify and quarantine malicious or unwanted uploaded files.