Security
This pages focuses on providing information on making a secure ACS installation via Helm Charts.
Secrets inside values
When using Helm charts to deploy applications, it is necessary to include sensitive information, such as passwords and API keys, in the chart’s values file. This is because the values file is used to generate the chart’s configuration templates, which are then used to deploy the application.
While it may be tempting to include the secrets directly in the values file, this is not considered a secure practice and should only be done for test environments.
For production deployments, there are different solutions that can work for every Helm chart. Most of them permit encrypting secrets values and decrypting them on-the-fly only when they are needed. Some of the most commonly used solutions are:
Reference the autogenerated README.md in each chart to understand which secrets can be provided using existing Kubernetes Secrets:
- alfresco-repository
- activemq
- alfresco-search-enterprise
- alfresco-search
- alfresco-transform-service
- alfresco-share
- alfresco-sync-service
Restrict internal Repository endpoints
The Repository service port (normally 8080) must only be reachable from trusted application networks. Do not expose it through a public load balancer, Kubernetes NodePort, firewall rule, or another ingress that bypasses the public edge policy. Use a ClusterIP Service and apply NetworkPolicy, security group, and firewall rules appropriate to the environment.
The public edge must block these internal Repository routes on all four Web Script aliases (service, s, wcservice, and wcs):
| Internal route | Purpose |
|---|---|
/alfresco/{alias}/remoteadm | Surf configuration used for internal Share-to-Repository communication. |
/alfresco/{alias}/api/solr | Search tracking APIs used by Search Services and indexing components. |
/alfresco/{alias}/prometheus | Metrics endpoint for trusted monitoring systems. |
Also block remoteadm and Solr tracking routes reached through Share’s /proxy/alfresco forms. Share must call Repository directly over the private application network so this public restriction does not interrupt Surf configuration loading.
The remoteadm GET Web Script accepts get, has, list, listall, listpattern, and lastmodified. Its descriptor declares anonymous access, and list results can contain user names in Surf component filenames. Block the whole remoteadm namespace rather than individual operations.
Edge matching must account for URI normalization differences. In particular, Tomcat removes matrix parameters such as ;x before servlet dispatch, so a request such as /alfresco/s/remoteadm;x/listall/... must not bypass the edge rule. Apply the restriction before any broad Repository route and return a fixed local 4xx response without contacting Repository.
Do not block all anonymous URLs. Login bootstrap, public links, and supported clients can legitimately require anonymous resources. Core REST APIs, CMIS, AOS, mobile clients, Share, and installed extensions must continue through the normal authentication layer. The route list above is a verified minimum, not a complete inventory for every ACS version or extension.
For the deprecated ingress-nginx controller, see the internal route example. Other ingress controllers and gateways must implement equivalent matching and normalization behavior using their supported policy mechanism.
Validate the deployed edge from an untrusted network and from a Share pod:
- every protected alias and Share proxy form returns the deliberate public 4xx;
- blocked responses contain no Repository response data;
- direct access to Repository port
8080is unavailable publicly; - normal Repository and Share routes still work; and
- loading Share still produces successful private
remoteadmrequests to Repository.
The policy is based on the Repository remoteadm descriptor, BaseRemoteStore, ADMRemoteStore, and the Web Script mappings in Repository web.xml.