Scanning BigBlueButton presentation uploads with ClamAV before slides reach a room
ClamAV scanning adds a malware check on each slide deck or document before it is converted and shown in a room, and it is worth enabling wherever instructors or moderators can upload files into live sessions. The check matters most when uploaders are numerous, change often or include guest presenters whose devices and accounts you do not manage. Every uploaded file travels from a browser to your server and then to every participant in the room, so one infected file can reach a whole class. The scan does not judge whether content is appropriate, and it does not decide who should be allowed to upload. Plan the ClamAV service on the same host or a nearby one, and confirm its memory and disk needs against the install guidance for your BigBlueButton release before you size the server.
Presentation uploads are a path where untrusted files enter your server and get processed there, so the upload handler is an attack surface before any room is involved. Office documents and PDFs pass through conversion tools, and parser bugs in those tools are a known risk. The install documentation requires Docker so that LibreOffice conversion runs in a sandbox, which is a separate layer you should verify on every server. To enable the check, set scanUploadedPresentationFiles in the configuration for your installed release, after confirming the file it lives in and its default value with the install documentation. Treat the scan as one layer among several: limit upload rights to roles that need them, keep conversion sandboxed, patch the server and ClamAV, and review moderator rights in long-running rooms.
A scan only catches what its signatures describe, so treat it as a risk reduction that cannot prove a file is safe. Before go-live, run a short check in your own environment: upload a standard antivirus test file as a moderator, confirm the room refuses it, and confirm the presenter sees a clear message and the file never reaches participants. Then find out what happens to uploads when the scanner is down or unreachable, and whether that case blocks the upload or lets it through. Ask your BigBlueButton support provider or check the project documentation for your release to confirm that behavior, and write the answer into your runbook so operations staff know it before an incident.
How an uploaded presentation moves through the scan and conversion steps
The diagram starts when a user uploads a slide deck or document, which reaches bbb-web, the server component that receives the upload. The file then goes through a ClamAV scan. A file that fails the scan is rejected, and the user sees the rejection message, so confirm its exact wording in the version you install. A clean file goes to LibreOffice running in a Docker container, which keeps conversion sandboxed, and the converted pages then appear as slides in the room. The order of scan and conversion is the step to confirm in your installed version before you rely on it for policy.
Upload path from user through ClamAV scan and sandboxed conversion to the room.
Which upload scanning settings fit which risk profile
This table compares the upload handling options an operator sets for presentation uploads: the scan switch, where the ClamAV daemon runs, the size and page limits, and the scope of scanned uploads. Read each row by asking whether your rooms are open to guests or limited to staff, then weigh the latency, false rejection and disk use trade-offs. Confirm key names and defaults in your installed release before you change any of them.
| Setting | Fits when | Trade-off | Confirm first |
|---|---|---|---|
| scanUploadedPresentationFiles enabled | Rooms open to guests, or any room where uploads come from people you have not vetted. | Each presentation waits for a scan, and a false positive blocks a legitimate deck. | Exact key name and default in the installed release. |
| ClamAV as a local daemon on the same host | Servers where you want scans without a network call and can spare memory and CPU. | The daemon shares RAM and CPU with media, conversion and recording on the same host. | Signature update schedule and where the scanner connection is configured. |
| Upload size limit | Rooms where staff upload large decks, so the limit sits just above the largest legitimate file. | A low limit rejects valid files with embedded media; a high limit lengthens scans and uses more temporary disk. | Key name, unit and default for presentation uploads. |
| Page limit for converted documents | Rooms that accept documents from outside your organization, since page count bounds conversion work. | Long documents are rejected, and conversion depends on the sandboxed LibreOffice setup that needs Docker. | Key name, default and the message users see when the limit is hit. |
| Scanning presentations only | Rooms where presentations are the only upload path you expose to users. | Other upload paths stay unscanned, so the scope may not match what your users can send. | Which upload paths the release sends through the scanner. |
| Scanning all uploads | Guest-facing deployments that accept files beyond slides and need one scanning rule. | More files queue for scanning, and legitimate attachments may be rejected more often. | Whether the release covers every upload path before you rely on it. |
| Scanning off, access control only | Staff-only rooms joined through an LMS or SSO, with guest access and uploads restricted. | Files reach the room without a malware check, so the control depends on who can upload. | Who can upload in each room and whether guest policy is set. |
Setup sequence for ClamAV and scanUploadedPresentationFiles
This sequence turns on virus scanning for presentation uploads on a self-hosted BigBlueButton server. Each step ends with a check, so the team can show that the scanner runs, rejects a test file and is recorded in the change log. Run it on a server you control, in a maintenance window agreed with your users.
Confirm server resources before installing ClamAV
The engineer on the BigBlueButton host checks the server against the install documentation for BigBlueButton 4.0, which lists at least 16 GB of RAM with swap, along with CPU, disk and bandwidth needs. Scanning adds work on the same machine, so the check should also review memory headroom under typical meeting load, not only the minimum. Record the memory, swap and disk output in the change log. The step is done when the host meets the documented minimum and swap is confirmed. If it falls short, resize the server before continuing.
Install and start the ClamAV service
The engineer installs the ClamAV package on the BigBlueButton host or on a host the server can reach, using the package manager on Ubuntu 24.04, the platform BigBlueButton 4.0 installs on. The daemon is enabled to start at boot and then started. The check is that the service reports as active in the service status output and that a scan of an ordinary text file returns a clean result. Record the installed ClamAV version and confirm which service account the daemon runs under and which files it can read.
Confirm freshclam signature updates run
The engineer checks that freshclam, the ClamAV update tool, has downloaded the current virus signature databases and that scheduled updates will keep running. The freshclam log should show a successful update, and the daemon should report the signature database version it loaded. A scanner with stale signatures can miss recent threats, so the install is not complete until updates succeed. Confirm the update schedule with your security team and note its frequency in the change record. The step is done when a manual update completes and the next scheduled run is visible in the timer or cron configuration.
Enable scanUploadedPresentationFiles in configuration
The engineer sets scanUploadedPresentationFiles to true in the BigBlueButton configuration file that the project documentation names for upload settings, and adds any ClamAV connection settings your version requires. The change is kept in version control or a configuration record so it can be reviewed and reverted. It is applied with the project configuration tooling, such as apply-config.sh, and the tool must complete without errors. The step is done when the configuration file shows the new value and the tool reports success. Confirm exact key names for your version before editing.
Set upload size and page limits
The engineer sets the maximum upload size and page count for presentations so that oversized or very long files are refused before the scanner spends time and memory on them. Values should follow the sizes your presenters actually use and the capacity of the server, and they are written into configuration as the version documentation describes. Test each limit with one file just under and one just over the value. The step is done when both limits are recorded in the change log and the over-limit file is rejected with a message your team has reviewed. Ask the BigBlueButton project or your support contact for exact key names and default values.
Restart affected services and check logs
The engineer restarts the services that the configuration change touches, as listed in the documentation for your version, and confirms each one returns to a healthy state. The BigBlueButton logs and the ClamAV daemon log are checked for startup errors, failed connections to the scanner and warnings about scan settings. The restart time is noted in the change record so log entries can be matched later. The step is done when the services are active and the logs show the scanner connected without errors. If the scanner cannot be reached, uploads may fail, so the connection must be fixed before testing.
Test clean and flagged uploads end to end
A tester uploads a harmless presentation through a BigBlueButton room as a presenter and confirms that it is accepted and displayed. The tester then uploads the EICAR antivirus test file, a standard harmless string that virus scanners are built to detect, and confirms that the upload is rejected and the user sees the rejection message. The logs should show a matching detection entry for that file. Record both file names, the times, the ClamAV signature version and the account used. The step is done when the clean file is accepted, the test file is rejected and both log entries are saved with the change record. Do not use a live malicious sample for this test.
What users see when a presentation is rejected
The first step is to tell the three rejection causes apart, because each one calls for a different response from the instructor. A file that fails the virus scan is a security event, not a formatting problem. The instructor should not resubmit the same file, should not rename or repackage it to get past the check, and should report the rejection to the operator, who can trace how the file reached the account. A file that exceeds the size limit or the page limit is an ordinary limit, and the fix sits with the instructor: export a smaller file, remove pages that are not needed, or share the remaining material another way, such as a separate file in the course. Before you write guidance for instructors, upload one test file for each cause on the installed version and see where each message appears, in the room, in the upload dialog, or both.
Operators should be able to find every rejection without opening the file. Confirm in the installed version which log files record scanner results and limit rejections, and what each entry contains. The review routine should rely on metadata only: a timestamp, the rejection reason, and the identifiers the log uses for the session or upload. Before you decide what a support ticket may contain, check whether the log writes file names or meeting identifiers, and keep scanner output that quotes infected content out of tickets and chat. For a flagged file, confirm with the project whether the rejected copy is removed from the server automatically, and hand any retained copy to the incident process your security team already uses, with access limited to the people who need it.
Do not copy the wording used on this page into help articles, training material or the instructor interface. The message text depends on the installed version and can change between releases, so take the exact strings from a test upload on that version. To translate or change them, use the project's own localization and customization mechanisms, and record every change in your upgrade checklist so a later upgrade does not silently revert it. Test each language against all three rejection causes. If a message shows a configured limit, confirm that the translated sentence still displays the value correctly, because a translation that drops the number leaves the instructor without a way to fix the file.
Security gaps that a virus scan does not close
A virus scan checks each uploaded file against known malware patterns at the moment it runs. The cards below cover what remains open after that check, and each one maps to a task the operator owns: keeping signatures current, sandboxing conversion, deciding what slides may contain, budgeting CPU on the server, and controlling the upload path itself.
Signatures go stale quickly
ClamAV recognizes malware through signatures in its virus database, so a new threat passes the scan until its signature is published and downloaded. An outdated database gives the same protection gap as a missing scan for recent threats. Schedule freshclam to update the database on a fixed interval, and alert when the database age passes the limit your security team sets. Confirm the update source and any proxy settings before you rely on the schedule.
Clean files can still break rendering
The scan matches known malware, so a slide deck can pass it and still cause trouble when BigBlueButton converts it for display. Conversion runs LibreOffice in a sandboxed Docker container, so that container and its patch level are part of your control set. Keep Docker and LibreOffice patched, and limit accepted file types to the formats your presenters actually use. Before opening uploads to students, test benign sample files of each accepted type through the full conversion path.
Links and embedded content
A standard virus scan checks file contents for malware. It does not review the links in slide text or the content an embedded object loads from outside sites. A clean scan is not a content review. Decide whether presenters may include links and embedded objects, and write down the rule moderators follow when they see one. Upload a sample deck with links to confirm what reaches attendees. Ask your scanner configuration owner exactly which content types the scan inspects.
Scanning competes for CPU
The install documentation lists 8 CPU cores with high single-thread performance as the minimum for a BigBlueButton 4.0 server. If ClamAV runs on the media host, a burst of uploads just before a session starts takes cycles from the media pipeline. Measure CPU during a test class with uploads before you go live. Then decide whether scanning stays on the media host or moves to a separate host, and set size and page limits that keep scanning within the headroom you measured.
Install requirementsHarden the upload path
The scan is one control on the upload path, and it works best alongside the others. Set a maximum file size and page limit so oversized uploads are refused before conversion starts. Give the upload directory and the service account only the least-privilege permissions they need, and keep that directory out of any web-served path. Review rejected uploads and repeated failures in the logs on a fixed schedule. Confirm the exact configuration keys for your version before you change them.
How upload scanning changes on a single server versus a Scalelite cluster
On a single BigBlueButton server, ClamAV runs on the same host as the application, so one configuration covers every presentation upload. The scanner, the scanUploadedPresentationFiles setting and the upload size and page limits are configured on that host, so each change is tested once. The main operational risk is resource sharing. A 4.0 server needs at least 16 GB of RAM with swap and 8 CPU cores with high single-thread performance, and the scanner competes with conversion and media work for those resources during busy periods, so measure that load before go-live.
- Confirm the scanner answers on the host. Check that the ClamAV service is running and that BigBlueButton is set to use it. A scanner that is installed but stopped leaves uploads unchecked, so verify it directly and do not assume it runs.
- Test with known files. Upload a clean slide deck and the standard EICAR test file, which scanners are designed to flag, and record what the presenter sees in each case.
- Budget disk for scan work. Confirm the disk has room for recordings and for temporary scan and conversion files. The install docs size a server at 500 GB of disk with recording and 50 GB without, so check your retention plan against that base.
- Set an owner for rejections. Decide where rejection events are logged, who reviews them, and how long they are kept, so repeated attempts from one account can be investigated.
Before go-live, confirm the limits and scanner settings in the configuration, repeat the test uploads after every upgrade, and store the settings with your change records.
In a pool of BigBlueButton servers behind Scalelite, upload scanning becomes a per-node responsibility. Scalelite places each meeting on the least loaded server and presents the pool as one server, but this page does not treat it as a scanning control, so each BigBlueButton node needs its own scanning configuration and a current ClamAV installation. A node that is up to date beside a stale one gives uneven protection, and the front end will not show the difference. Start by finding out which node receives a given upload.
- Configure every node identically. Apply the same scanning and limit settings to each server from one versioned source, such as a configuration management repository. Drift between nodes does not announce itself, so design against it.
- Keep ClamAV current on every node. Signature updates and package upgrades must reach each node, including nodes added later and nodes returned from maintenance. Confirm how you will see update status per node.
- Map the upload path. Find out whether presentation uploads land on one node or several, and whether any node can accept a file for a meeting it does not host. Upload a test file through the front end and note which node processes it.
- Check the shared volume. Scalelite uses PostgreSQL, Redis and an NFS shared volume for recordings. Confirm whether any scan output, quarantine folder or temporary file touches that shared path, and who owns it.
Before accepting the pool, run the same test files through every node, confirm each reports matching settings and scanner version, and repeat the check whenever a node is added or upgraded.
Questions buyers ask about ClamAV upload scanning for BigBlueButton
How much does ClamAV upload scanning setup cost for BigBlueButton?
No price is published for this work, so the number comes from a quote built on a written scope. Most of the cost is labor for the people who plan, configure and test the scanner, since ClamAV and BigBlueButton run on infrastructure you control. The main drivers are the number of BigBlueButton server nodes that accept uploads, the number of upload paths to cover, the upload policy you set (file types, size limits and page limits), and how much test evidence your security team wants. Design, configuration and testing are one-time work. Recurring costs appear only if you add ongoing support, upgrades or continuous testing as a retainer. Ask the quote to show each of these as a separate line item, with the assumptions behind each one.
How long does ClamAV upload scanning setup and testing usually take?
No duration is published for this work, and the schedule depends on the written scope. The largest variable is the number of servers, because each node that accepts uploads needs its own scanner configuration, policy check and tests. Platform state also matters. BigBlueButton 4.0 installs on Ubuntu 24.04 64-bit, and direct upgrades from 2.6, 2.7 or 3.0 are not supported, so a clean server is the recommended starting point if your hosts are older. Test rounds add time when your security team asks for evidence, such as files that should pass and files that should be rejected. Ask for a schedule with milestones for configuration, testing, fixes, retest and handover, plus a named change window for any production restart. Confirm the platform requirements in the BigBlueButton install docs before you agree on a date.
What does our team need to provide for a scanning engagement?
Your team provides access, decisions and people, and the engagement moves at the pace of those three inputs. Expect to supply:
- Shell and administrative access to each BigBlueButton node in scope, along with a change window for restarts
- Decisions on allowed file types, maximum upload size and page limits, each with the business reason behind it
- Sample presentations from actual classes, including large decks and legitimate scanned PDFs, so false rejections show up during testing
- Details of every front end that sends uploads to the server, such as Greenlight or an LMS integration, and the owner of each one
- A named approver for the upload policy and an owner for the message users see when a file is rejected
Can one internal operator set up ClamAV upload scanning alone?
Often yes, if that person already runs BigBlueButton and Linux servers and has time for testing. A capable operator can usually install ClamAV, enable presentation scanning in BigBlueButton and confirm that a clean file passes. The risk sits in testing and policy decisions more than in the install itself. Before working alone, confirm three things. The operator can recover a node if scanning breaks uploads. A second person reviews the policy and the test results. The operator knows how to read scanner logs and keep signatures updated on a fixed schedule. If any of these is missing, a fixed-scope engagement can cover the gap, and the written scope should show which tasks stay in-house and which move to the partner.
What happens when ClamAV wrongly rejects a legitimate slide deck?
The user sees the rejection message, and your team should investigate before changing anything. Start by collecting the file name, the time of the upload, the session and the scanner output from the logs. Check whether the deck contains embedded media, macros or unusual structures that a signature match could flag, and scan the same file on a second host to confirm the result. Then choose one of three responses. Ask the presenter to re-export the file, add a narrow exception with a documented owner and an expiry date, or tighten the policy for that file type. Any broad change that weakens scanning for every upload should go through change control and a documented risk acceptance, because it affects all users at once.
Does ClamAV scanning replace other upload controls for BigBlueButton?
No. Malware scanning checks files against known signatures, so it is one layer in the upload path and needs the other controls to stay in place. Other layers include limits on file type, size and page count, TLS on the hostname, firewall rules that expose only the ports BigBlueButton needs, protection of the API shared secret, and a review of how each front end passes uploads to the server. A file that no signature matches can pass a scan, so scanning alone does not establish that a file is safe. Test the whole upload path, including the scanner, and treat scan results as one input to your risk decision.
What should a ClamAV upload scanning quote include?
A quote should follow from a written scope that names the nodes, policies, tests and deliverables. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so ask for the following in any quote:
- A list of every node and upload path in scope, with the front ends that call each one
- The upload policy to be implemented, including file types, size limits and page limits, and who approves it
- The test plan, covering files that should pass, files that should be rejected and the message users see
- Deliverables such as configuration records, test evidence and handover notes, and whether retesting is included
- A schedule with milestones, change windows and the client tasks that gate each milestone
- One-time costs separated from recurring items such as update support or a retainer, with exclusions and change-control terms
Compare quotes line by line against the same scope.
Limits to confirm in your environment before you rely on the scan
Each item below is a point where the scan can fail silently or cover less than you expect. Confirm them against the documentation for your exact BigBlueButton release and operating system, then prove each one with a test upload in a staging environment before users depend on the scan.
ClamAV package and version
Confirm which ClamAV package and version your operating system repositories provide, and whether that build runs as a service your BigBlueButton server can reach. Package names, versions and update cadence differ between distributions, and an outdated package can miss recent signatures. Record the exact package version and signature update source in your change record so the scan can be reviewed and patched later. Check the operating system requirements in the install docs for your release first, then run the scanner by hand against a test file.
Install docsSetting names in your release
Confirm that your installed release exposes scanUploadedPresentationFiles and the size and page limit settings under the names your documentation uses. Setting names can differ between branches, and a key that is ignored leaves uploads unscanned while the configuration looks correct. Read the active value on the running server, then upload an oversized document and a document over the page limit to confirm each one is refused. Check the project's releases page for renamed or removed settings before any upgrade.
Release notesOrder of scan and conversion
Confirm whether each file is scanned before LibreOffice conversion runs, and whether the scan also covers the converted output. Conversion parses untrusted office and PDF content, so a scan placed after it leaves that parser exposed to a file ClamAV never checked. Trace one upload through the logs to see which step runs first, and check how a rejected file is handled once conversion has already started. Confirm the order with the release documentation and keep the written answer with your configuration.
File types the scan covers
Confirm the exact list of file types BigBlueButton accepts for presentation upload, and whether each type passes through the scanner. A type outside the accepted list may skip the upload path entirely, so the list is the boundary of what you actually protect. Test each accepted type with a benign sample and the standard EICAR test file in staging. Check that archives, macro-enabled documents and any formats added by a plugin are either covered or blocked, and record the list so a later upgrade can be compared against it.
Rejection logs and retention
Confirm where BigBlueButton and ClamAV write a record when a file is rejected, what that record contains, and how long it stays on disk. A rejection log that names the user, meeting or file may itself be personal data, so its retention belongs in the same review as your recording and chat retention. Set the retention period explicitly in your log rotation rules, without relying on a default. Confirm the logs never capture file contents or the API shared secret.
Custom front ends and LMS uploads
Confirm whether a custom front end, Greenlight or an LMS integration sends presentations through the same upload path that the scan protects. An LMS may upload files through its own plugin or API call, and those requests can bypass the check if they reach BigBlueButton another way. Test uploads from each front end you run, including the one users reach from the LMS, and record which path each one takes. Any path that does not reach the scanner needs its own control, such as blocking it or routing it through the same check.
Trade-offs between strict limits and usable classes
Tight size and page limits protect the server and the scanner, but a limit set too low becomes a daily support problem for instructors who upload a long scanned textbook chapter or an image-heavy slide deck. Treat the limits as a hypothesis to test before you publish them. Collect the files staff and instructors actually used in the last term, including scanned course readers, lecture decks with embedded photos and exported handouts, and record the file size and page count for each. Build a test set from these actual course materials, stored in a controlled location with the owners' permission. Then choose limits so that ordinary material passes and only true outliers are rejected. Decide what happens to those outliers before go-live, and do not wait for the first complaint.
Exceptions are where strict limits usually erode. When an instructor needs a file above the limit, send the request to a named role, such as a platform administrator with a course content owner as approver, and record the file name, course, reason and expiry date in a ticket. Offer the options that keep the global limit unchanged first: split a long scan into smaller PDFs, compress images, or re-export the deck before upload. A one-time exception for one file should never become a new default. The rejection message users see should point them to these steps and to the request process, so teachers do not guess. Keep the exception records for the platform's compliance evidence, since reviewers often ask how oversized files were handled.
Every limit change needs a retest, even when the change looks small. A larger size or page limit changes how much data the upload path and scanner handle in one pass, which can affect timeouts, memory use and disk space during conversion. After any change, rerun the test set from the first paragraph and confirm that ClamAV still scans the accepted files, that malformed or oversized files are still rejected, and that users see the expected message. Check server resource use under a realistic load test if you have one. Confirm the exact limit settings and their units in the documentation for your BigBlueButton version before editing them, because names and behavior can differ between releases. Log each change with the test results and the approver so a later review can reconstruct why the limit was set.
How DeployOpen scopes, tests and supports upload scanning
DeployOpen scopes upload scanning for BigBlueButton presentations as one piece of work: the ClamAV service, the BigBlueButton settings that route slides and documents through it, the size and page limits, and the messages users see when a file is rejected. Each part is agreed in writing, tested on your own servers, and documented for the team that runs it after handover.
How we scope
- A written scope names the ClamAV host, the BigBlueButton servers that send uploads to it, and the change window.
- Fixed-scope engagements list the upload settings, file types, size and page limits, and rejection messages in scope.
- Ongoing support for upload settings and scanner updates can be added as a retainer.
How we build
- We install ClamAV on infrastructure you control and confirm it can reach the BigBlueButton servers before changing any setting.
- We enable scanUploadedPresentationFiles, then set size and page limits that match the documents your users actually share.
- We test accepted and rejected sample files, oversized files and over-limit page counts from a test account.
How we hand over
- Handover includes the written configuration, the ClamAV host and BigBlueButton settings, and the test results.
- Your team receives a runbook covering how to update ClamAV signatures and what to check after a BigBlueButton upgrade.
- Rejection messages are documented, so support staff can explain to users why a slide deck was refused.
How we support
- Retainers cover ClamAV and BigBlueButton updates, configuration reviews and testing of upload changes after each release.
- Upload scanning can be retested after a BigBlueButton upgrade, a ClamAV update, or a limit change.
- Confirm the support hours, response expectations and retest terms in the written quote before work starts.

