CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 [Resolved] Security problem with upgrade to CCS 5.0.0.15750

Print topic Send  topic

Author Message
ommadawn

Posts: 18
Posted: 05/03/2012, 5:12 AM

I have just converted a project from 4.3 to 5 and now none of the security is working. I have checked all the restricted options and the security groups etc so there's nothing wrong there and it works when published with CCS 4.3.

Has any one else had this problem?
View profile  Send private message
ommadawn

Posts: 18
Posted: 05/03/2012, 5:13 AM

By the way, I can get logged in but get redirected to the log in page when trying to view a restricted page.
View profile  Send private message
ommadawn

Posts: 18
Posted: 05/03/2012, 6:19 AM

Think I found the problem. This was in the common.php file.

if (CCGetUserAddr() != $_SERVER["REMOTE_ADDR"]) { CCLogoutUser(); }

which was logging me out. Apparently this is a new session variable which is set in the CCLoginUser function (CCSetSession("UserAddr", $_SERVER["REMOTE_ADDR"]);) as part of CCS 5.

Because I had manually modified my CCLoginUser function it didn't add it during the upgrade process.

Well, that's what I think anyway. Hope this is some use to someone.

;-)
View profile  Send private message
DataDoIT
Posted: 05/03/2012, 8:28 AM

I'm seeing several issues being reported with that remote server IP
check added to CCS5. I think that should be a configurable option under
Security Settings for the project and not forced. Probably not a well
thought out decision that was made on the developer's part, without
customer input of course.

It will almost certainly cause increased support call volume on some
applications we've deployed using the Remember Me feature.

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.