Good day!
I need to know how to disable downloading files from the context menu of files.
I did not find this option from the ACL's
Only mentioned permission to upload files, but there is nothing in the permit.
'fileView' =>true,
'fileUpload' => true,
'fileRename' => true,
'fileDelete' => true,
¿And option fileDownload?
Help please to hear.
Wed, 08/17/2011 - 18:05
#1
Re: how to disable file downloads?
Es estupido que exista un permiso que controle la subida de archivos y que se hayan olvidado de un permiso que controle la descarga!
Este foro de soporte es una mentira!
Re: how to disable file downloads?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: how to disable file downloads?
$finder = new CKFinder() ;
$finder->BasePath = '../../' ; // The path for the installation of CKFinder (default = "/ckfinder/").
$finder->SelectFunction = 'ShowFileInfo';
$finder->Create() ;
and place the statement?
finder.callback = function( api ) {
// Disable download function
api.disableFileContextMenuOption( 'downloadFile', false );
// Disable "View" option
api.disableFileContextMenuOption( 'viewFile' );
};
¿?
Help Please.
Thank you!
Re: how to disable file downloads?
Thanks!
Urgent - Re: how to disable file downloads?
I need support please!
Need Help please -> Re: how to disable file downloads?
Re: how to disable file downloads?
@wiktor gave you a solution how to disable file downloads in CKFinder. Please use it.
It should be something like this:
Re: how to disable file downloads?
CKFinder in my folder root / inc / CKFinder
and
FCKEditor folder in the root / inc / fckeditor
The call to "new CKFinder ()" is found in many files.
I have to modify that file?
Re: how to disable file downloads?
Thanks in advance
Re: how to disable file downloads?
Re: how to disable file downloads?
I'm still unable to disable the download from the CKFinder
They know how to do it?
Re: how to disable file downloads?
Attachments: