Clear Nextcloud’s File Locking Warning with Redis
Enable reliable Nextcloud file locking, choose the right Redis or Valkey backend, and verify the warning clears without risking concurrent file changes.
To limit printing and downloads in ONLYOFFICE, apply the restriction where access is granted: enable the sharing restriction in Workspace, turn on the link protection in DocSpace, or set document.permissions.print and document.permissions.download to false in a Docs API editor configuration. A Read Only role by itself is not enough in every setup; the exact control depends on whether you use Workspace, DocSpace, or an application integrated with ONLYOFFICE Docs.
These settings limit actions available through the supported sharing or editor interface. They do not prevent every possible copy: a recipient may photograph the screen or use tools outside the application. For sensitive documents, combine the restriction with narrowly assigned access and an appropriate review of who can open the file.
ONLYOFFICE has several products and integration patterns, and their controls are not interchangeable. In Workspace, advanced sharing settings apply to users with Read Only and Comment rights. In DocSpace, a restriction can be attached to a particular shared link or configured for a room link and people invited through that link. In a Docs integration, the host application supplies permissions in the editor configuration.
Before changing anything, open the file’s sharing panel and note who needs access, how they reach the file, and whether they are internal users, link recipients, or room members. This inventory helps you choose the relevant control and later test the same access path.

The official ONLYOFFICE Workspace sharing guide describes this option for both internal and public sharing. The same guide explains that Read Only and Comment permissions can normally include print and download actions, which is why assigning Read Only alone does not settle this question. If you need to restrict Full Access users from changing sharing settings, that is a separate advanced option; it is not a substitute for the print, download, and copy restriction.

ONLYOFFICE documents this as a link setting that disables copying file content, downloading, and printing for users who open the file via that link. The DocSpace file-sharing guide also describes who can access a link and how to change its role. If your users access the same file through a room or another direct permission, test those routes separately rather than assuming the file-link setting covers them.
For public or custom rooms, room administrators can restrict copying content, downloading files, and printing for people who use a shared room link. The room settings also let administrators set restrictions for people invited through a link independently of the general room-link settings.

These controls are documented for room sharing in the ONLYOFFICE DocSpace room-management guide. The available role names and controls can vary with room type and product version, so use the labels shown in your current interface and consult your administrator if a setting is absent.
If your application embeds ONLYOFFICE Docs, the application that opens the editor must pass the permission values in the document configuration. For example:
const config = {
document: {
permissions: {
print: false,
download: false,
},
},
};Set print and download to false for the relevant editor session, then initialize the editor with that configuration. The ONLYOFFICE Docs API sharing FAQ explains that these values remove the editor’s print and download options. The Docs API does not define your application’s complete authorization or file-storage policy: the integrator controls sharing and delivery. If your backend exposes the source file through a separate URL or endpoint, protect that route too. Hiding an editor command alone does not secure a separately accessible original file.

A successful check confirms that the relevant ONLYOFFICE interface is enforcing the setting for the tested access path. It does not prove that every copy method is impossible. If you cannot find the setting, your product edition, version, role, or integration may differ from the documented interface; check the current product documentation or ask the portal administrator before promising a restriction.
Enable reliable Nextcloud file locking, choose the right Redis or Valkey backend, and verify the warning clears without risking concurrent file changes.
Fix common Nextcloud scan findings with current updates, HTTPS and HSTS, precise reverse-proxy trust, and checks against the public server.
Back up Nextcloud’s files and MariaDB together, schedule encrypted Restic snapshots with cron, and verify recovery without risking the live server.
Configure Nextcloud SSE for the storage that needs it, protect encryption keys, and measure transfer and CPU impact before encrypting existing files.
Connect Nextcloud’s file search to Elasticsearch, index document contents, and choose a setup that fits your server and security needs.
Configure Nextcloud to remove deleted files after a defined retention period, schedule background jobs reliably, and avoid commands that purge every user’s trash.
Run Nextcloud’s OCC repair safely, preview the database changes, and check why the warning might remain.
Allow larger Nextcloud browser uploads by aligning PHP, Nginx or Apache, temporary storage, and timeout settings—and verify which limit is blocking the file.
Set the PHP memory limit Nextcloud actually uses, restart the right service, and confirm the 512 MB setting in Admin Overview.
Mount a compatible object-storage bucket in Nextcloud using its S3 backend, with the right endpoint, credentials, access scope, and verification steps.