Hello everyone,
we are currently facing a structural challenge in QGIS and would like to find out
-
whether others are experiencing a similar issue, and
-
whether there are people with the technical know-how to help implement a solution (e.g. a plugin).
Problem description
At the moment, QGIS does not provide a way to lock specific parts of the Layer Properties - in particular the Attribute Form - so that:
-
contents cannot be viewed
-
and cannot be modified
-
ideally protected by a password
This becomes especially problematic when QGIS projects are shared with clients or project partners, either for review only or for limited editing.
In practice, the following issues occur frequently:
-
Layer Properties (e.g. Attribute Form, Relations, Symbology, Labels etc.) are accidentally modified
-
as a result, QField projects or forms stop working correctly
-
sensitive information (e.g. internal IDs, logic, helper fields) becomes visible to everyone, although it is not intended for all users
Goal
Specific parts of layers and projects should be protected so that:
-
the project structure remains stable
-
sensitive information is not visible
-
QGIS projects can be safely shared without loss of functionality
Proposed solution
Our idea is a QGIS plugin or a core QGIS update that allows certain parts of a project to be password-protected, for example:
-
Attribute Forms
-
Relations
-
Default Values
-
Symbology
-
possibly additional properties
The locking mechanism should be optional and configurable per layer.
Implementation ideas
Option 1 – Protect Layer Properties
Right-click on a layer → Layer Properties → select a specific section (e.g. Attribute Form)
→ password prompt before the Attribute Form is displayed
(see screenshot “Layer Properties – Attributes Form”)
Option 2 – Project Properties / Data Sources
In Project Properties → Data Sources, there is already a “Private” column for layers.
Idea:
-
extend this concept to specific property sections
-
e.g. “Attribute Form = private”
-
additionally, the Project Properties themselves would need to be password-protected
(see screenshot “Project Properties – Data Sources”)
Transferability / Added value
Although our immediate use case focuses on the Attribute Form, such a plugin or update would be much more broadly applicable:
-
protection of other project views
-
safeguarding complex QGIS/QField setups
-
relevant for planning offices, public administrations, and GIS service providers
If technically feasible, we would be willing to cover development costs for a plugin.
Previously used workarounds
So far, our approach has been to provide clients or project partners with a copy of the QGIS project in which sensitive information was removed from the Attribute Forms. However, this comes with significant drawbacks: once these elements are removed, the project can no longer be properly edited, as essential components such as default values and form logic stop working. In addition, this approach prevents access to and editing of the associated QField project.
Using the QField Desktop application comes closer to our goal, but it also has limitations, as certain features (e.g. map tips) do not function correctly. Moreover, our long-term objective is to hand over the final project files to clients or partners, while retaining access only for maintenance or troubleshooting - something these workarounds do not adequately support.
Questions to the community
-
Are you aware of any existing approaches, plugins, or core discussions addressing this topic?
-
Is this type of access restriction realistically achievable via a QGIS Update?
-
Are there QGIS plugin developers interested in discussing or collaborating on such a solution?
We appreciate any feedback - both from users facing similar challenges and from developers who can provide technical insight or possible solutions.
Thank you very much and best regards,
COFT-Team,
Philipp



