Page 1 of 1

Restrict Download and Preview

PostPosted:Mon Apr 03, 2023 10:14 am
by nishant8900
Hi,
we are uploaded all the important documents and files. gave the level based access also like read only,
read and write only etc.
our requirement is if it is read only means it working fine. like can't create folder and not able to upload documents.
but user can able to see the documents and they can able to Download.
for that need to restrict download and preview.

one more thing is have restricted the download,preview,presentation in preview tab near security,history.
but in taxonomy -> folders-> files (if i double click the file , it will downloaded. so that i need to restrict the download there itself.)


important thing is we are using 6.3 CE

kindly give the clarification asap.

Thanks.

Re: Restrict Download and Preview

PostPosted:Fri May 26, 2023 4:06 pm
by jllort
The best approach will be adding in the code the event when downloading a file and then from automation action intercept the downloading and based in logic like the user has or not ROLE_DOWNLOAD raise an exception -> the advantage of this solution is all the application will be affected with this logic in a single point.

On the other hand, I ignore why users have access to the document, but they can not download or preview -> what sense has accessing a document that you can not touch? why do they have access?