permission to view file but not download!

Phoca Download - download manager
memaran
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 23 Sep 2014, 19:29

permission to view file but not download!

Post by memaran »

Hi
all my files are restricted to a specific group. and all categories access is public. when a visitor click on the title of a file in category view, the page will be redirected to login page.
but I want the public be able to view the files when they click on the title of it, but when they click on download button then they redirect to the login page.
(i mean that the file view be accessable for all viewers but only downloading be restricted!)
How could I do that?

Regards
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: permission to view file but not download!

Post by Jan »

Hi, for now this is possible only in category view - to list not accessible files - so you can see them and when you click to download, you will be redirected to login page. To do it for the detail view - file view, this needs to be customized in the code :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply