One of the more powerful features in Nextcloud is the auto-tagging feature combined with files retention control. This enables admins to control the life cycle of data. For example, you could delete files replacing email attachments using the latest version of the Nextcloud Secure Sharing Outlook Add-in after a set period. In this blog we will show how to do exactly this!
Why?
Many organizations have legal reasons to not keep data around too long. They would delete emails after 3 months, for example. But if you use the Nextcloud Outlook Add-in, attachments would still be available through the links in the email. Nextcloud has the ability to delete those automatically with our Retention app.
It could also be a measure to keep storage costs under control. If your company exchanges large files with customers, deleting all files over 1gb of size after a week or two might make a lot of sense.
The Outlook Add-in
The activity view shows you when a recipient downloaded or uploaded files
Emails become smaller, saving storage on the mail server and inboxes of senders and recipients
The IT department is in control over the data, with security policies enforced by File Access Control in effect
Files and folders exchanged can be of any size and amount
The Add-in lets users upload attachments to Nextcloud. It will automatically insert a link to the attachments in the email. Users can also create a public upload folder for the recipient and the Add-in can be configured to automatically upload attachments before they are sent when they exceed a specified size. An upcoming feature is the ‘activity tracker’ which is being tested now. It shows when files were uploaded in a folder that was shared or when files were downloaded. This feature is expected in a big release later this summer.
Controlling file access and limiting life time
Once data is on Nextcloud instead of in hard-to-track emails, the usual IT capabilities provided by Nextcloud can deliver security, legal and practical control. Not only are File Access Control rules enforced, the Outlook Add-in can be recognized and special policies can be configured. In this example, we show how to tag files from the Outlook Add-in as “Outlook” and set up a policy to delete them after 30 days, but only if they are larger than 100 mb.
First, we have to check if the automated tagging app and the retention app are enabled. If they are, we can proceed to the settings screen and move there to the Workflow tab.
Now, we create a tag named ‘old email attachments’, making it invisible to users.
Then we assign this tag when the Request user agent matches. In Nextcloud 14 or newer, you can simply select the Outlook add-in from the drop-down menu. In older versions, you have to use a regular expression. The outlook client has the following user agent: Mozilla/5.0 (Microsoft Windows NT 10.0.16299.0) Nextcloud-Outlook v2.3.0.1
Of course, the version number changes. In the end, what we care about is the Nextcloud-Outlook part, so we define this regular expression: ((Mozilla\/).*( \().*(\))( Nextcloud-Outlook v).*)
This will select all files uploaded with the outlook client. We also add that file size has to be over 100 MB.
Finally we set the File retention for files with this tag on 30 days!
That is all that is required. Nextcloud will assign our defined tag to files over 100mb when they are uploaded with the Outlook Add-in, and the retention app will remove these files 30 days after their creation.
Here is a screenshot when using Nextcloud 14.0.3, just picking the Outlook add-in from the drop-down and deleting files after 7 days – no need for a regular expression in our latest version!
Hopefully this blog gives some inspiration to people looking to control the lifecycle of data on their Nextcloud server!
Nextcloud has been recognized with the World Summit Award Germany that selects and promotes local digital innovation improving society, aiming to contribute to the United Nations' agenda of sustainable development goals.
Nextcloud Hub 9 lets you stay connected. Discover new federation features, workflow automation, big design overhaul and much much more in your favourite open-source collaboration platform!
DIE ZEIT, a prominent German outlet, interviewed Nextcloud’s founder Frank Karlitschek for an article on Microsoft’s anti-competitive behaviour on the European office software market. Read for a recap of the article and the key takeaways.
MagentaCLOUD’s migration to Nextcloud in 2021 resulted in a fully equipped Online Storage with an integrated online office suite that further improves the user experience, flexibility and security for customers.
We bring you a major update to the Nextcloud AI Assistant, plus the news we work with several big hosting providers like IONOS and OVHcloud to bring AI-as-a-Service options to you!
Bechtle and Nextcloud announce today a complete managed collaboration platform for the public sector that requires no tender and can be deployed immediately.
Discover how to make the switch from ownCloud to Nextcloud. Our quick guide provides insights into the migration process, helping you make the transition smoothly.
Today, US-based file sync & share vendor Kiteworks announced their acquisition of ownCloud and Dracoon. Kiteworks points out that their customers now have access to their file-sharing application. It is to be expected they will not maintain 3 similar products, but customers will have to migrate to the US firms’ platform or look for another […]
As part of Schleswig-Holstein's state digitization strategy, the state chancellery has announced they will work with Nextcloud to develop AI for working with government documents. This comes just after we announced the first private AI assistant last weekend with Hub 6. The German state already uses Nextcloud and their AI strategy aligns with our work on ethical, local AI technologies.
Over the last year, AI has become a popular topic. Some is hype, some is substance. Some is good, some is bad. We want to give you the good, not the bad, and ignore the hype! AI has a ton of opportunity – but also risk. So we put you in control – off by […]
On December 3rd, we invite you to the Nextcloud Enterprise Day Paris, Nextcloud's flagship event for professionals. The day will kick off with a keynote by our CEO and founder, Frank Karlitschek—a highlight where he will share our vision for the future of online collaboration, followed by a major announcement about Nextcloud Talk!
Maintenance updates 28.0.12, 29.0.9 and 30.0.2 for Nextcloud Hub 7, 8 and 9 respectively are here! Read an update summary and access full changelog on the website.
We save some cookies to count visitors and make the site easier to use. This doesn't leave our server and isn't to track you personally!
See our Privacy Policy for more information. Customize
Statistics cookies collect information anonymously and help us understand how our visitors use our website. We use cloud-hosted Matomo
Matomo
_pk_ses*: Counts the first visit of the user
_pk_id*: Helps not to double count the visits.
mtm_cookie_consent: Remembers that consent for storing and using cookies was given by the user.
_pk_ses*: 30 minutes
_pk_id*: 28 days
mtm_cookie_consent: 30 days