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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

including security on custom PS pages

Thread began 11/07/2012 7:01 am by barbara224891 | Last modified 11/08/2012 10:07 am by barbara224891 | 534 views | 3 replies

barbara224891

including security on custom PS pages

I've done a lot of customization of a Power Store installation. Now I've made some pages in the admin folder so that the clients can easily make changes to some of the options. I put these pages in the admin folder and want to make sure that they're secure. I tried adding this code to the top of each page:

<?php require_once( "../WA_SecurityAssist/Helper_PHP.php" ); if (!session_id()) session_start();?>
<?php
if (!WA_Auth_RulePasses("Administrator")){
WA_Auth_RestrictAccess("index.php");
}
?>

I thought that would make it use the same security rules as the rest of the admin part of the store. However, when I try to follow a link to one of these pages, I get an error message from my browser (Chrome):

Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.

What am I missing about how to apply security to these pages? I also tried doing it by clicking WebAssist>SecurityAssist>Secure page

It didn't recognize that there were security rules already defined that could be used. This is probably because Power Store is not installed in the root directory.

Suggestions?

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...