Magento Forum

   
FCK user authentication
 
clorne
Sr. Member
 
Total Posts:  236
Joined:  2008-01-10
London
 

The configuration file for the File Manager Connector for PHP in FCKeditor suggests

WARNING: don’t just set “$Config[’Enabled’] = true ;”, you must be sure that only
authenticated users can access this file or use some kind of session checking

Has anyone an idea as to how to go about this?

 
Magento Community Magento Community
Magento Community
Magento Community
 
clorne
Sr. Member
 
Total Posts:  236
Joined:  2008-01-10
London
 

I am not getting close but I’ve starting with something like this

require_once '/path/to/app/Mage.php';                                                        
Mage::app('default');   
 
$adminUser Mage::getSingleton('admin/session')->isLoggedIn();
var_dump($adminUser);

this just returns false.

If anyone has any ideas they would be greatly appreciated.

 
Magento Community Magento Community
Magento Community
Magento Community
 
jamez
Jr. Member
 
Total Posts:  1
Joined:  2008-10-26
 

This appears to restrict access to the connector to only users that are logged in to Magento admin.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top