Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
[LF7.1GA4] Document media library file encryption
Hi, there is an option on the document media library that permits to encrypt files when they are loaded? In order to make them unreadable if someone obtain access to the disk?
Not that I know of.
I think, you could implement your own file store to do something like that.
https://help.liferay.com/hc/en-us/articles/360018176091-Document-Repository-Configuration-
You would need to implement your own add/get methods based on the following class and encrypt/decrypt the input stream.
https://github.com/liferay/liferay-portal/blob/master/modules/apps/portal-store/portal-store-file-system/src/main/java/com/liferay/portal/store/file/system/FileSystemStore.java
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™