Restrict copying content with CSS and JS
One caveat is that you can't absolutely prevent content copying. However, you can restrict these actions.
This article will show you how to use CSS & JS code to restrict copying content on the website.
Normally, in order to copy a Text or Image, users will use operations such as Select, Drag & Drop and Right Click. Now, we're going to block it.
To prevent behaviors like Drag & Drop, Select, you just need to add the following CSS code:
* {
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
}
To prevent right click, add the following JS:
document.addEventListener("contextmenu", function(e){
e.preventDefault();
}, false);
Note: Older browsers may not support these features. See table below for details:
CSS: user-select

Element API: contextmenu event

For websites that use Joomla source code, you need to install the Custom HTML module to add them.

You can also add advanced settings like apply this restriction only to guests (Access) or to certain pages (Menu Assignment).
I hope this article will be useful to you!
I'm considering purchasing your File Attachments extension for a Joomla 5 website.
I intend to use it for distributing 3D CAD model archives (ZIP files) to website visitors.
I have three questions:
1. Does the extension generate temporary download links that automatically expire after a configurable period (e.g. 5 minutes), or are the download URLs permanent?
2. Does it support rate limiting to prevent automated bots from repeatedly requesting downloads?
3. Are the uploaded files stored outside the publicly accessible web directory, and are they delivered through a PHP download controller rather than direct file access?
These features are important because I want to protect the hosting server from automated mass downloads while allowing legitimate visitors unlimited access to different models.
Thank you!
^Add a message editing option for users who cannot use this feature.