Welcome Guest, Not a member yet? Register   Sign In
Use CI4 session to protect ckfinder file manage

Hello please i am trying to use ckfinder with Codeigniter 4. I dont any way i can use the ci_session to portect the ckfinder please
$config['authentication'] = function () {

    return true;
    return false;
The cofig file is to protect a direct access to the file manage and uses session to protected. I have try to access the codeigniter session outside it app folder but could not find any solution to this.

CKFinder is JavaScript php is a server language you would some how have to pass the session variable to
say jQuery as Json and use a jQuery get to get the variable.

But trying to do something like what you want is opening all kinds of security risks!
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Check permission before render it

Learning CI4 from my works, from errors and how to fix bugs in the community

Love CI & Thanks CI Teams


Theme © iAndrew 2016 - Forum software by © MyBB