Hello, is there any option or setting to restrict public share links to specific domains
e.g: I have a mobile apk app store website and i am using nextcloud to manage the apk files, when I upload the latest apk and share the link on my website, lots of other website owners just copy my link and paste in their websites.
I want to restrict public share links to download from my domains only.
It says basically what I just told you. Public share links are unauthenticated. Anyone who has the link can download the file. Nextcloud has no way of knowing what website they found the link posted on…
the link which I share with you, dynamic after /download? and integrated with WordPress. the link auto-changing after 1 hour. and you can’t download it without the h= and e= parameters.
You can rename shares with ShareRenamer. Maybe it helps you. Perhaps you can include “apk” in all shares and then deny it from nginx or Nextcloud .htaccess.
Then maybe what you need to do is host these apk files on a separate virtual host outside of Nextcloud. You can set it up as external storage and still manage the files through Nextcloud.
You’re asking how to authenticate access to a public share link based on where they found the link. This is not something that Nextcloud was designed to do.