1

Topic: Authentication IM from Dreamweaver CS4

Hi,

Last week I added the Image Manager. Thanks for this great tool.

I have an edit part in my Dreamweaver CS4 website.  A user has to log in to edit pages. The user has to log in again when he starts using the imagemanager. That is not what I want. I like him to login only once. So I have to pass username and password to IM.

In  the Configuration Reference I find options like
SessionAuthenticator.logged_in_key
SessionAuthenticator.user_key

Maybe someone can point out to me more in extense which one to use and how?

I hope somebody can help me with this.

2

Re: Authentication IM from Dreamweaver CS4

You need vasic php or .net development skills to properly integrate the authentication with your site. The web has plenty of good tutorials.

Best regards,
Spocke - Main developer of TinyMCE

3

Re: Authentication IM from Dreamweaver CS4

With PHP it's very easy !
You have lot of scripts already done smile

4

Re: Authentication IM from Dreamweaver CS4

Thanks,

Any idea where I can find something about this particular topic?

5

Re: Authentication IM from Dreamweaver CS4

Hi, I started working on this topic again.

I now use the information from the Fax:
MCImageManager:Authentication

I still don't get this working.
I am trying this locally on my Mac.

On my DW CS4 loggin page I added
<?php
$_SESSION['MM_Username'] = true;
$_SESSION['imagemanager.filesystem.path'] = "/localhost/TEF";
$_SESSION['imagemanager.filesystem.rootpath'] = "/localhost/TEF";
?>

The Wikipage suggests
$_SESSION['imagemanager.filesystem.path'] = "/www/myroot";
$_SESSION['imagemanager.filesystem.rootpath'] = "/www/myroot";

On opening the IM the response is:
The specified path is not a directory. Probably an incorrect setting for the filesystem.rootpath option.

When I restore the conf_php file to its settings before just using a user and password code into the login_session_auth_php file and remove the code I added to my loginpage everything is working correctly.
So the first thing I should probably solve is getting the correct path but it is not clear to me what is expected.

Any help is greatly appreciated.

6

Re: Authentication IM from Dreamweaver CS4

Make sure that the path is an absolute file system path and that the user that runs Apache has read/write access to the directory.

Best regards,
Spocke - Main developer of TinyMCE

7

Re: Authentication IM from Dreamweaver CS4

Thanks a lot Spocke.
I got it.
And now it uses the users from my database to log.

For others using a Mac the path is:
Library/WebServer/Documents/TEF/images/

This site resides not in a users folder but in the main Library.
TEF =  my local site folder
images = the folder I created to hold my images of the ImageManager

8

Re: Authentication IM from Dreamweaver CS4

So everything is now working as expected?

Best regards,
Spocke - Main developer of TinyMCE

9

Re: Authentication IM from Dreamweaver CS4

Yes, everything is working as expected.
I just tried it on the remote server.

Thanks again.

10

Re: Authentication IM from Dreamweaver CS4

Nice.

Best regards,
Spocke - Main developer of TinyMCE