Block Access to downloadable link

is there a way to block download of files that are in WCM and posted in a page built with DX? like access permission not to download the file but user can see it.

You should be able to create a URL component and add that to your content. This URL component you can control the access to. Such as to who is able to access the content referenced by the component.

Ravi, I don't think portal/WCM has any out of the box permission/feature that allows the user to only read the file but not download. The only way I think this is possible is you will need to have some third party(or custom code) file renderer that would render the file on the server versus on the client machine.

Hi Matt Munse, Just to clarify my doubt. So using URL component I can control the access to content or file that is referenced by component. So If user has access to that content or file, Can He/She download the file?

Ravi, correct. My thought was you could say something like, "The contents of the file corporatePolicy.doc (download here) explains this concept further"

The (download here) would be a URL or file component that you can restrict access to, but still be able to present a coherent message to the general public.