|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Richtext Editor Woes
Is it possible to safely use FCKeditor with image/file uploading completelyTerry Troxel 12/30/11 06:22 P I don't recall if there's an easy config setting to turn off uploads,Scott Weikert 01/03/12 01:06 P you can specify every single option in the ckeditor config to be on or off,Russ Michaels 01/03/12 01:47 P Thanks Russ, But turning off the buttons did not satisfy the CF securityTerry Troxel 01/03/12 02:36 P Scott,Dean Lawrence 01/03/12 08:29 P Is it possible to safely use FCKeditor with image/file uploading completely disabled and still be able to browse your sites image folder to insert images? If it is still posible I sure could use some help doing that please. I am running the Standalone version installed under the administration folder which is password protected Terry I don't recall if there's an easy config setting to turn off uploads, but it's not difficult to go into the relevent code and comment out the "upload" button. Are you still on FCKEditor or CKEditor (i.e. v2 vs. v3)? On 12/30/11 4:21 PM, Terry Troxel wrote: ----- Excess quoted text cut - see Original Post for more ----- you can specify every single option in the ckeditor config to be on or off, it is very flexible. ----- Excess quoted text cut - see Original Post for more ----- Thanks Russ, But turning off the buttons did not satisfy the CF security updates. So since I had an abundance of time this weekend I installed, configured the Following and I am now a happy camper: CKEditor, latest version, CFFM latest version by Mr. Rick Root (Loud Applause), And I now have an image manager that I think puts CKFinder in the weeds and is Open source. Terry Troxel Scott, Just for future knowledge, you can limit the abilities of the user based upon their role. config.accessControl = arrayNew(1); config.accessControl[1] = structNew(); config.accessControl[1].role = '*'; config.accessControl[1].resourceType = '*'; config.accessControl[1].folder = '/'; config.accessControl[1].folderView = true; config.accessControl[1].folderCreate = true; config.accessControl[1].folderRename = true; config.accessControl[1].folderDelete = true; config.accessControl[1].fileView = true; config.accessControl[1].fileUpload = true; config.accessControl[1].fileRename = true; config.accessControl[1].fileDelete = true; All you would have to do is change the fileUpload value to false to prevent file uploads. Dean ----- Excess quoted text cut - see Original Post for more -----
|
May 20, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||