Yii Framework Forum: KCFinder with CDbHttpSession - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

KCFinder with CDbHttpSession Make KCFinder work with database-based session Rate Topic: -----

#1 User is offline   drumaddict 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 91
  • Joined: 04-October 10
  • Location:Athens,Greece

Posted 29 May 2011 - 07:27 AM

I have been using this very handy editor/FileManager bundle
http://www.yiiframew...sion/ckkceditor,
It's a CKEditor with KCFinder,the free alternative to commercial CKFinder,a nice File Manager.
So ,KCFinder reads configuration from session,for security reasons,so that guest users cannot upload files.
Eveything worked fine,until I decided to use CDbHttpSession for my sessions instead of default CHttpSession.
Well,that broke KCFinder,for reasons that would bore you to death if explained.I have 3 questions:
  • Has anybody got this to work?(KCFinder with CDbHttpSession)
  • I can make this work If I sacrifice security,just change a disabled property to false in config.

Doing so,it would be possible for a guest user ,IF he knew the request URL for KC Finder,to use KCFinder,
I don't see how a non registered user could use KC Finder since I use this only on admin pages where only admin members have access.So is this really a security issue at all??

  • An alternative solution?? (editor/FileManager bundle )

Thanks in advance.

0

#2 User is offline   Vedran 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 02-June 11
  • Location:Sarajevo

Posted 06 November 2011 - 04:57 AM

Did you managed to solve this?
Currently I am desperate to find a solution. Heeeeelp! :(
0

#3 User is offline   Vedran 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 02-June 11
  • Location:Sarajevo

Posted 06 November 2011 - 05:53 PM

Hello? Anybody?? Pleaasee? :(
0

#4 User is offline   Thanasis Fotis 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 11-September 12

Posted 20 November 2012 - 03:41 PM

I wrote a how-to about syncing the sessions between Yii and KCFinder when using CDbHttpSession
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users