Plugin to put TinyBrowser in S9Y admin
Posted: Sat Nov 07, 2009 2:42 am
This is part of a bigger project to integrate the latest TinyMCE rev into S9Y 1.5b1 - which I've got working well by the way. With TinyMCE now, I'm using TinyBrowser for all of my media and file management. I figured since I was going to use TinyBrowser in TinyMCE, I might as well make it accessible from the S9Y Media admin panel as well, which is what my new serendipity_event_tinybrowser plugin does.
Is this something worth checking into spartacus?
The other notable thing that I did with TinyBrowser as part of my integration was to leverage TB's session auth with S9Y's authentication so that TinyBrowser can be secured, but still seamlessly accessible within S9Y admin.
I did this by interrogating S9Y's serendipity cookie for author_token. I stuff author_token into a new session spawned from TB, then fetch author_token into TB's session/security-check. Is this safe and sound logic? I did some testing, and in fact, it does secure TB from launching it via crawling the directory tree - further, I get seamless authentication from within S9Y admin.
I've posted my work here, along with a link to the plugin: http://www.pigslipstick.com/index.php?/ ... -Menu.html
Opinions/feedback welcome!
Adam
Is this something worth checking into spartacus?
The other notable thing that I did with TinyBrowser as part of my integration was to leverage TB's session auth with S9Y's authentication so that TinyBrowser can be secured, but still seamlessly accessible within S9Y admin.
I did this by interrogating S9Y's serendipity cookie for author_token. I stuff author_token into a new session spawned from TB, then fetch author_token into TB's session/security-check. Is this safe and sound logic? I did some testing, and in fact, it does secure TB from launching it via crawling the directory tree - further, I get seamless authentication from within S9Y admin.
I've posted my work here, along with a link to the plugin: http://www.pigslipstick.com/index.php?/ ... -Menu.html
Opinions/feedback welcome!
Adam