Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

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