XWiki File Manager for documents and folders

The XWiki File Manager Application turns a wiki into a folder-based document library with drag and drop upload and previews. This page explains when that fits, how it compares with page attachments and file sync platforms, and what to plan before rollout.

On this page

XWiki File Manager for documents and folders: when a wiki needs a library

Many teams keep procedures, templates and shared files spread across page attachments, personal drives and email threads, so nobody is sure which copy is current. The File Manager Application addresses this by letting users manage files and folders inside the wiki, with drag and drop upload and previews shown in the wiki itself, as the XWiki Store describes it. It is worth considering when the material is mostly documents rather than pages, when people look for files by folder rather than by the page that mentions them, and when you want the library to sit under the same permissions as the rest of the knowledge base. The application is a separately installed extension rather than part of the core wiki. The XWiki Store lists it as a Pro application, so confirm with XWiki SAS which offering and license terms apply to your instance before you plan around it.

Before you install anything, confirm the current status of the code. The File Manager Application source is published in the xwiki-contrib organization on GitHub, which lets your engineers check the release history, open issues and the XWiki versions it declares support for. Compare that against the XWiki version you plan to run, because an extension that works on one stable or LTS line may not be maintained for another. Ask whether the extension is supported under your subscription, who fixes defects, and how upgrades of the extension are tested against your target XWiki release. These questions matter more for a document library than for a page application, because the library becomes a place where files are stored long term and where a broken upgrade can leave people unable to find procedures they must follow.

The decision comes down to where each kind of content should live. Attachments on pages keep a file next to the text that explains it, which suits a single specification or form. A separate file sync platform suits personal work and client-side sync to laptops. A folder-based library inside the wiki suits shared controlled documents that need the wiki's page permissions, history and search. Map your current files into these three groups, then test the File Manager with a representative set of folders, permissions and preview types before committing. Confirm how versions, deletion and folder-level rights behave, since these settings decide whether the library can serve as the record your auditors or process owners will read.

How the File Manager compares with attachments and a file sync platform

Attachments are files uploaded to a specific wiki page and stored with that page's data. They suit a spec, a signed form or a diagram that belongs to one topic and should be read with that topic. Users find them by opening the page, so they work well when the page is the natural entry point and poorly when someone needs to browse a collection of files.

  • Location: each file sits on the page it was uploaded to, so moving or deleting the page affects its attachments.
  • Discovery: users find files through the page content, the page's attachment list or search, not through a folder tree.
  • Access: rights come from the page and its space, so anyone who can view the page can download its attachments.
  • Versions: confirm in your own test instance whether attachment history is kept on your XWiki version and how old versions are restored.
  • Large or shared files: many large attachments spread across pages can make backups and search slower, so set an upload size policy early.

Before relying on attachments for controlled documents, test how history, restore and deletion behave with a sample file in a staging instance.

Which teams should use the File Manager and which should not

The File Manager suits teams whose files exist to support wiki knowledge, such as procedures, templates and reference documents. Use the criteria below to decide whether a wiki library covers the need or whether a separate file platform is the better home for the material.

Files that belong with the knowledge

If the documents explain a process, a product or a policy that already lives in wiki pages, keeping them in the same space helps readers find the context and the file together. The File Manager Application is built for that pattern: folders, drag and drop upload and previews inside the wiki. Check whether most files are referenced from pages, and whether readers will expect to browse them from the wiki navigation rather than from a separate drive.

XWiki Store

Desktop sync requirements

The File Manager works through the browser. If people must keep local copies in sync, edit files in desktop applications and have changes pushed back automatically, a browser library will not meet that need. Confirm with the team which workflows depend on desktop sync before you decide, because adding sync later usually means a second system to run.

Expected file volume and types

A library of a few thousand reference documents is a different job from a store of large design files, video or scanned archives. Estimate the number of files, typical file sizes and how much preview is needed. Large or binary-heavy stores also affect backup time and storage planning on the server, so ask the team to list the top file types and their sizes before the build starts.

Edit rights versus read rights

Decide who uploads, who edits and who only reads, and map those roles to XWiki groups and page rights before you load content. Folders and files should inherit the same access model as the wiki spaces they sit in, so review restricted spaces separately. Test a read-only account against every folder that holds sensitive material.

External and mobile access

Partners, contractors and staff working from phones often need access to documents without a full wiki account or a VPN. Confirm whether external access is needed, how accounts are issued and whether the wiki is reachable on the networks those users work from. These requirements change the hosting and identity design more than the File Manager itself.

An existing sync platform

If the organization already runs a file sync and sharing platform for staff, such as Nextcloud, duplicating that service in the wiki can split documents across two places. Decide which platform owns working files and which owns knowledge content, and link between them where it helps. Where no platform exists and sync is needed, evaluate that separately rather than stretching the wiki library to fill the gap.

Nextcloud requirements

Configuration options for a file library in XWiki

This table compares the main choices you make when setting up a document library with the File Manager Application: how folders are named, where the library lives, how permissions are assigned, which edition you install, and whether previews are used. Read each row against your own document volume and access rules. The main takeaway is that folder structure and permission inheritance are hard to change cheaply later, so settle them before loading content.

OptionWhat to chooseTrade-offWhen it fits
Folder structure and namingShallow folders by department or project, with a naming convention for filesShallow trees are easy to browse but can grow crowded; deep trees mirror org charts but slow searchingShallow for small teams, deeper when many groups own distinct document sets
Naming conventionDate, document type and version in file names, enforced by a written ruleStrict names improve findability but depend on people following the ruleWhen documents are cited by name in audits or procedures
Library location: dedicated spaceOne wiki space holds the whole library and its foldersClear boundary and simple permissions; cross-space links need more careWhen the library is a distinct service with its own owners
Library location: pages within a shared spaceFolders sit on pages inside an existing knowledge spaceKeeps documents next to related articles; permissions are shared with the wiki contentWhen documents mainly support existing wiki articles
Permission model per folderRead-only for most users, edit rights limited to named owner groupsFewer groups is simpler to review; per-folder exceptions are harder to auditWhen documents have distinct owners or confidentiality levels
Standard versus Pro installationStandard for core wiki features; Pro if File Manager is requiredFile Manager is listed in XWiki Pro, so Pro licensing and support terms apply; confirm current edition terms with XWiki SASWhen drag and drop folder management is a core requirement
Preview use by file typeEnable previews only for formats your team reviews in the browserPreviews help reviewers but add processing and must be checked against the file types you storeWhen reviewers need to see files without downloading them
Supported file types and size limitsConfirm in the File Manager extension documentation before designLimits set the upload workflow; assumptions made without checking cause reworkAlways, before finalizing the library design

How the File Manager stores and displays files in the wiki

The File Manager Application adds a document library layer on top of the wiki. According to the XWiki Store, it manages files and folders, lets users move them with drag and drop, and previews them inside the wiki, so people browse a folder tree and open a file without leaving XWiki. The key point for planning is that the extension changes how users see and organize files, not where the bytes live. Before rollout, confirm with the vendor and in a test instance how the File Manager records folders and file metadata in the XWiki database, and whether file content is stored in the database or in the attachment storage of the instance. Those answers determine your backup scope, because a backup that covers only the database may miss file content, and a backup that covers only the file store may miss folder structure and permissions.

Files uploaded through the File Manager sit on top of XWiki's standard attachment model, so the operational questions are the same ones you would ask about attachments on pages. Each file belongs to a wiki page or document, inherits rights from its location, and is affected by the same storage configuration, size limits and any antivirus scanning you add. Ask the implementer to show, in writing, where a preview is generated, whether previews are cached and where that cache lives, and which file types can be previewed in your supported browsers. Also confirm how the extension handles versioning and deletion, since folder moves and renames can change the references that other pages depend on. The extension source is published on GitHub, so your engineers can read the storage code directly rather than relying only on marketing descriptions.

The official XWiki Docker images run on Tomcat with a MySQL, PostgreSQL or MariaDB database, so the container itself is usually stateless and everything that must survive a restart sits in volumes or external services you mount. Plan explicit persistent volumes for the XWiki data directory, the permanent directory and any file store, and place the database on a service with its own backup schedule. A common mistake is to mount only the database and assume uploaded files follow it, or to let the container write files to its writable layer, where they disappear when the container is recreated. Test this with a restart, a container replacement and a restore into a clean host before go-live. Storage backend choices, including whether you need shared or object storage for several instances, are points to confirm with XWiki SAS and your platform team against your own environment.

How users, the File Manager and storage connect

The diagram starts with users in a browser who reach XWiki running in Tomcat, where the File Manager Application handles folders, uploads and previews. Each request passes the wiki permission check before the File Manager reads or writes metadata in the database and file content on the storage volume. An external sync platform sits outside this path and is not connected to the wiki, so check whether any file copies flow between the two systems and who owns them. Confirm where your instance keeps attachments and backups before go-live.

Users reach the File Manager through XWiki, which checks permissions before using the database and storage.

Setting up the File Manager Application on your XWiki instance

This sequence takes the File Manager Application from version check to production rollout, so the document library is tested for folders, uploads, previews and permissions before any team depends on it. Each step ends with a check you can record as evidence.

  1. Confirm the XWiki line and extension version

    Decide whether your instance will run the stable line or an LTS line, then check the File Manager Application release notes in the XWiki Store and its source repository for the XWiki version it supports. Record the XWiki version, the extension version and the database variant you plan to use. You are done when the three values are written down together and the extension's stated compatibility covers the XWiki version you chose. If compatibility is unclear, ask the extension maintainers before going further.

  2. Install the stack in a test instance

    Deploy XWiki from the official Docker image that matches the chosen line and database variant, using the same tags you recorded in the previous step. Install the File Manager Application in this test instance only, through the extension manager, and keep the default configuration until testing is complete. The step is done when the wiki starts, the administrator can log in, and the extension appears as installed in the administration pages.

  3. Define the folder structure and permission model

    Write down the top-level folders, the subfolders your teams need and who should read, upload, edit and delete in each one. Map these rights to XWiki groups rather than individual accounts, and decide whether any folder should be restricted to a small set of named users. Store this model in a wiki page so reviewers can compare it with the configured rights later. The step is complete when every folder has an owner group and a written rights matrix that an administrator has signed off.

  4. Load a sample document set

    Create the folder structure in the test instance and upload a representative sample set that includes common file types, long file names, nested folders and a few large files. Include some files that you expect to be restricted and some that should be visible to everyone. Confirm that the folders and files appear in the File Manager tree after upload. The check passes when the sample set matches your written folder model and no upload errors appear in the logs.

  5. Test upload, preview and drag and drop

    As an administrator, test drag and drop upload, folder moves, renaming and deletion, then open previews for each file type in the sample set. Note which formats preview inline, which fall back to download and which fail, and compare this with the file types your organization stores. Record any browser-specific behavior. The step is complete when you have a table of supported and unsupported formats and each test result is logged.

  6. Test permission boundaries with non-admin accounts

    Create test accounts that belong to each group in your rights matrix and sign in with each one. Try to view, upload, move, rename and delete files in folders the account should not reach, and check that direct links to restricted files also fail. Confirm that the same boundaries hold for previews and for files attached to pages inside the library. The step passes only when every attempt matches the rights matrix, and any mismatch is fixed and retested before continuing.

  7. Back up and rehearse a restore

    Take a backup of the database and the XWiki data directory from the test instance, then restore it to a second, empty environment and confirm that folders, files, previews and permissions all come back. Follow the backup procedure your team will use in production, and record the commands and the restore result. The step is done when the restored copy passes the same permission and preview checks as the original.

  8. Roll out to production with a supervised cutover

    Install the same XWiki and extension versions in production, apply the tested rights matrix and load the real document set in controlled batches. Run the permission and preview checks again on production with the named test accounts, then announce the library to users with the folder owners listed. The rollout is complete when the production checks pass, a backup has been taken after the load and the owners confirm their folders are correct.

Security and operational considerations for shared files

Shared files in a wiki inherit the security model of the wiki itself, so the File Manager needs the same care as pages. The cards below cover the decisions that most often go wrong when a document library goes live: who can see what, what gets scanned, what gets backed up, and what gets recorded.

Inherited wiki permissions

Files and folders sit inside wiki spaces, so rights set on a space or page usually flow down to the documents within it. Check whether a folder's visible structure matches the rights on the pages and attachments behind it, because a folder named for a restricted project can still reveal its existence to readers who have no access to its contents. Test with a non-admin account from each group, and confirm how View, Edit and delete rights apply to uploaded files before onboarding users.

Malware scanning of uploads

Any uploaded file can carry malware, and a document library invites more uploads than a wiki page does. Plan an antivirus check for every upload path, including drag and drop, and decide whether infected files are blocked, quarantined or only reported. Coverage of files added through the API or imports should be confirmed separately, since not every route may pass through the same check. The ClamAV integration is covered in its own topic.

Backup coverage of file storage

Document files are stored in the wiki's attachment storage and its database, so a database-only backup can restore page text while losing the files themselves. Confirm that your backup job captures both the database and the attachment store, and that both are taken at a consistent point. Restore a test copy into a separate environment and open a folder with several files to verify the result, not only the backup job's success status.

Upgrades alongside XWiki

The File Manager is an extension, so each XWiki upgrade needs a matching extension version and a compatibility check before the upgrade starts. Review the extension's release notes, test the upgrade on a staging copy with production-like data, and keep the previous XWiki and extension versions available for rollback. Ask the extension source which XWiki versions each release supports, and plan the extension update as part of the same change window.

Logging uploads and downloads

Document libraries often need to answer who uploaded, replaced or downloaded a file and when. Standard page history may not capture every file event, so confirm which actions are recorded by XWiki, which appear only in the web server or Tomcat access logs, and how long each log is kept. Decide where logs are forwarded and who can read them, since access logs can contain user identifiers and file names.

Personal data in documents

Uploaded files often contain personal data such as HR records, contracts or customer details, which brings them into the scope of your privacy duties. Decide which document types may be stored, who reviews them, and how a data subject request or deletion request will locate and remove a file across folders, page attachments and backups. Document this in your records of processing, and confirm retention periods with your data protection lead before go-live.

Questions buyers ask about the XWiki File Manager

Is the XWiki File Manager free to use?

No, the File Manager Application is sold as a Pro extension in the XWiki Store, so it is not part of the free XWiki Standard distribution. XWiki Standard is the free open source version, while XWiki Pro combines XWiki with business applications, including File Manager, and comes with XWiki SAS support. Confirm the current licensing terms for the File Manager with the XWiki Store listing before you budget, because the extension and the Pro subscription are separate purchase decisions. The source code is also published on GitHub, which helps your engineers review it, but reviewing code does not change the license terms.

What drives the cost of a XWiki File Manager deployment?

The main cost drivers are the Pro subscription tier, the setup work and the infrastructure that holds your files. XWiki SAS sets Pro and support tiers by user count: Starter covers up to 25 users and is XWiki Cloud only, Basic covers up to 1,000 users, Business covers up to 10,000 users and Enterprise is unlimited, according to the XWiki pricing page. XWiki SAS states that cloud and on-premises pricing is the same. Consulting is listed at 1200 EUR per day, which requires a Business or Enterprise support plan, per the same pricing page. Storage growth, backup retention and the time your admins spend on folder design also recur, so ask any quote to separate one-time setup from ongoing costs.

How long does it take to set up the File Manager?

Duration depends on the number of folders, the permission model and how many existing files need migrating, so no fixed timeline applies across organizations. Setup usually covers installing the extension on your XWiki instance, designing the folder structure, mapping groups to read and write rights, and testing previews and drag and drop uploads with real users. Large migrations of files from shared drives or older systems often take the longest because of cleanup and naming decisions. Ask for a written scope with milestones so you can see which steps depend on your decisions rather than on the build itself.

What must our team provide before a File Manager project starts?

Your team needs to provide an administrator who can install extensions and manage XWiki groups, a named owner for the folder design, and test accounts that cover each permission level. The folder owner decides the top-level structure, naming conventions, retention expectations and who approves changes to shared folders. Test accounts should include a reader, a contributor, a space administrator and a user outside the target groups, so access rules can be checked before rollout. Also provide a sample set of real documents, including large files and unusual formats, so previews can be tested against the content you actually store.

Can our internal IT staff install and run the File Manager without outside help?

Yes, a capable internal team can install and operate the extension, provided it has XWiki administration skills, a test environment and time for permission testing. The harder parts are usually the folder design, the access model and keeping the instance upgraded, because XWiki releases and extension versions must stay compatible. XWiki SAS offers installation and configuration help, training and on-premises professional support, so you can buy only the pieces your team lacks. Decide early who owns upgrades, backups and incident response, since those duties continue after the first deployment.

How does the XWiki File Manager compare with Nextcloud for file sync?

The File Manager keeps documents inside the wiki with folders, previews and wiki permissions, while Nextcloud is a separate platform built for file sync across desktops and mobile devices. Nextcloud Server is licensed under AGPL-3.0, and Nextcloud Enterprise is sold per user per year with a 100-user minimum, with list prices starting at 71.29 euros per user per year for 100 or more users, according to Nextcloud's pricing page. Choose the File Manager when documents should sit next to wiki content and be governed by wiki rights. Choose Nextcloud when sync clients and offline access across many devices are the main requirement, and confirm sync behavior with a test before deciding.

Is the File Manager a replacement for attachments on wiki pages?

Not entirely, because page attachments are tied to one page while the File Manager organizes files into folders that can be browsed and previewed on their own. Attachments work well for a document that belongs to one procedure or article, while a library of shared policies, templates and reference files benefits from a folder tree. Plan a rule for which files go where, and test how the File Manager handles large attachment stores and the scanning or review steps your security team requires. Confirm with your vendor how versions and metadata behave before moving files at scale.

How DeployOpen scopes and delivers a document library on XWiki

DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure. For a document library on XWiki, that means agreeing the folder structure, permissions and file handling in writing first, then building and testing the File Manager setup in your cloud accounts, data centers or air-gapped network.

How we scope

  • Inventory the existing document stores, folder hierarchies and file types the library must hold before any build starts.
  • Define which spaces, folders and groups can read, upload, edit and delete files, mapped to your directory groups.
  • Confirm with the XWiki Store which File Manager Application version and licence tier your scope requires, and record it in the written scope.
  • Agree in writing whether the work is fixed-scope, with deliverables and timelines set out before work begins.

How we build

  • Deploy XWiki in your infrastructure and install the File Manager Application with the folder structure you agreed.
  • Configure upload limits, preview behavior and attachment storage settings, and confirm them against your file policy.
  • Test drag and drop upload, folder moves, previews and permission boundaries with sample accounts from each group.
  • Document any custom configuration so your team can review it during change control.

How we hand over

  • Deliver a written configuration record covering folders, permissions, extension versions and backup scope.
  • Provide a runbook describing how to add folders, onboard users and restore files from backup.
  • Walk your administrators through the File Manager settings and the upgrade steps that apply to the installed version.
  • Record the test results so your security and compliance teams can review the evidence.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after handover.
  • Plan extension upgrades alongside XWiki upgrades, testing the File Manager Application against each new version first.
  • Retest permission and upload behavior after significant configuration or directory changes.
  • Agree support hours, response expectations and upgrade windows in the written retainer scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.