Page 1 of 1

How to configure Direct Link

PostPosted:Thu Aug 01, 2013 8:38 am
by shie
Hi, expert!
http://wiki.openkm.com/index.php/Direct_link
says:
Code: Select all
You can download a document from OpenKM using a command line utility like wget. Since OpenKM 6.2.1 Community and OpenKM 6.2.5 Professional there is a service with BASIC authentication for this task. You can reference a document by UUID using the uuid parameter or by path, using the path parameter. In the same URL you need to specify the user and password. A good practice is configure the user profile disallowing anything.
This service is useful in some situation, but not if I don't want some user download documents. How can I configure this function? What means "A good practice is configure the user profile disallowing anything"? I can't find the options for this "Direct_link" in the profile setting page. I want to set this function "on" for some users and "off" for others.
Thank you!

Re: How to configure Direct Link

PostPosted:Fri Aug 02, 2013 6:48 pm
by jllort
In actual community version will not be possible. Actually in professional version there're some extra security grants like download, then is so easy simply remove the download grant to some users for some documents and are not able to downloading. At ends of this year, start next will make major update from professional to community, probably this kind of features will be exposed to community.

Re: How to configure Direct Link

PostPosted:Tue Aug 06, 2013 1:40 am
by shie
Thanks for your information.

Re: How to configure Direct Link

PostPosted:Thu Aug 08, 2013 9:49 am
by pavila
If you want to disable this feature you need to remove (or comment) the "Download" servlet from web.xml