close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PowerCMS, PowerMessenger & SecurityAssist

Thread began 5/03/2015 11:30 pm by Lee Firth | Last modified 5/05/2015 1:01 pm by Ray Borduin | 654 views | 3 replies |

Lee Firth

PowerCMS, PowerMessenger & SecurityAssist

I have a website that uses PowerMessenger and PowerCMS. The issue I am having is that if someone logs onto their profile using PowerMessenger this also gives them access to the PowerCMS backend. I have tried renaming all instances of the session variable $_SESSION['AdminLogin'] to $_SESSION['PMAdminLogin'] in the powermessanger application, but it still allows me to access the PowerCMS admin area if I am logged on to my profile in PowerMessenger?

Sign in to reply to this post

Ray BorduinWebAssist

You must have missed a spot. You should be able to rename the session variable for one or the other, and then create two separate rules in the helpergroupsrules.php file for SecurityAssist. Then you can refer to the two separate rules when restricting access to the two groups.

Sign in to reply to this post

Lee Firth

Didn't work. I think it must have something to do with:

case "Administrator":
$comparisons[0] = array(TRUE, "".((isset($_SESSION['AdminLogin']))?$_SESSION['AdminLogin']:"") ."", 1, "".((isset($GLOBALS['CMS_WAGLOBAL_Admin_Password']))?$GLOBALS['CMS_WAGLOBAL_Admin_Password']:"admin") ."");
$comparisons[1] = array(TRUE, "".((isset($_SESSION['CMSUserGroupID']))?$_SESSION['CMSUserGroupID']:"") ."", 1, "1");
break;

I changed the $GLOBALS['WAGLOBAL_Admin_Password'] to $GLOBALS['CMS_WAGLOBAL_Admin_Password'] and now client logins can't access it anymore which is good, but the super admin login fails now. I can still log in with other users though.

Sign in to reply to this post

Ray BorduinWebAssist

You probably would have to keep the global variable name what it was. I think you would only update the Session variable. At this point I'd use echo() or die() statements to write the session and global variable values you are comparing and see if they have the values you expect them to.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...