Authentication problem with third-party admin pages

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Torpedine
Forum Members
Forum Members
Posts: 142
Joined: Thu May 18, 2006 3:53 pm

Authentication problem with third-party admin pages

Post by Torpedine »

I have a new prolem that came out upgrafding from 1.2.x to 1.5.3.

I developed some admin pages to control a third-party database. Perfectly functioning, with an "admin DB" option in the content menu and so-on.

I have done incorporating in my page the frame of the other admin pages.

With the upgrade toCMSMS 1.5.3 my page do not work anymore, and selecting the "list db contents " the login windoe jumps up.

My question is: authentication is changed? even copying the code from, fro instance, "listhtmlblobs" the thing does not change.

Can someone help me? Thanks in advance....
alby

Re: Authentication problem with third-party admin pages

Post by alby »

Torpedine wrote: My question is: authentication is changed? even copying the code from, fro instance, "listhtmlblobs" the thing does not change.
Now, in 1.5.X there is a security code that you must have

Alby
Torpedine
Forum Members
Forum Members
Posts: 142
Joined: Thu May 18, 2006 3:53 pm

Re: Authentication problem with third-party admin pages

Post by Torpedine »

How can I add it to my pages?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Authentication problem with third-party admin pages

Post by calguy1000 »

Create a proper module, and use the CreateLink method in the module api.  it handles all of that automatically.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Torpedine
Forum Members
Forum Members
Posts: 142
Joined: Thu May 18, 2006 3:53 pm

Re: Authentication problem with third-party admin pages

Post by Torpedine »

I am not a developer, con someone show me an example?
Torpedine
Forum Members
Forum Members
Posts: 142
Joined: Thu May 18, 2006 3:53 pm

Re: Authentication problem with third-party admin pages

Post by Torpedine »

please, help me, the thing is very important. i cannot leave the website without a part functioning
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Authentication problem with third-party admin pages

Post by Ted »

The bit of code to append to the end of a URL is:

Code: Select all

$urlext='?'.CMS_SECURE_PARAM_NAME.'='.$_SESSION[CMS_USER_KEY];
However, if you're linking to stuff from outside CMSMS, it's not really going to work.  The whole point of this system is to not allow a security hack where someone can create a malformed URL and accidently change a site.

We're not the only ones doing this -- it's pretty common on most CMSs and web frameworks in general to not allow for outside links to affect a site.  It's for security.
Torpedine
Forum Members
Forum Members
Posts: 142
Joined: Thu May 18, 2006 3:53 pm

Re: Authentication problem with third-party admin pages

Post by Torpedine »

I'm sorry for the long delay.
I am not a developer: could you make an exaple of link made as you specified?

Thanks in advance and please forgive my clumsiness
Post Reply

Return to “CMSMS Core”