close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Security Assist showing (Prior version) with Data Assist 2

Thread began 3/08/2019 6:50 am by Thomas Hill | Last modified 3/14/2019 12:28 pm by Ray Borduin | 37 views | 4 replies |

Thomas Hill

Security Assist showing (Prior version) with Data Assist 2

I have recently upgraded from Data Assist v1 to v2 and I am slowly migrating all of the old recordsets and server behaviours so they work with PHP 7. However, do I need to do anything to the Security Assist pages? I originally created all of the login pages with Data Assist v1 and I notice that on some of the pages some of the Restrict Access to Page shows as (prior version). When I double click to open it and then click save the code does not change but the following include changes from:

<?php require_once('../webassist/security_assist/helper_php.php'); ?>
to:
<?php require_once( "../webassist/security_assist/helper_php.php" ); ?>

The (prior version) then disappears.

I can see all it has done is changed the quotation marks and added a space. Is this all ok or is there a difference between Security Assist in DataAssist v1 to v2 i.e. do I need to rebuild all of the Security Assist pages to complete the migration?

Sign in to reply to this post

Ray BorduinWebAssist

You can ignore this. The only difference is the way the quotations are written, so it is a false error.

Sign in to reply to this post

Thomas Hill

Thanks for letting me know.
I realise that to complete the migration I need to recreate the login page with SA in DA2.

I have now created the page and the login works but do I need to do anything with the Access Pages/Rules/Groups manager? I have previously already built teared access levels with the groups and secured pages but I have noticed in the Access Rules Manager that there is now a checkbox for Allow "based on MySQLi login". Is this for creating the first level to authorise access or do I need to do anything with the groups? Currently the first level access is:

<?php
if (!WA_Auth_RulePasses("Logged in to ourbigday_users")){
WA_Auth_RestrictAccess("$WAGLOBAL_Secure_Root_SignIn_URL");
}
?>

Then I have separate pages secured for Sales or Admin etc as follows:

<?php
if (!WA_Auth_RulePasses("Administrator")){
WA_Auth_RestrictAccess($WAGLOBAL_Secure_Root_SignIn_URL);
}
?>

Or is the initial access level the only one needs to be changed? If so, should I created a new one from scratch?
Sorry, I am a bit confused how the new MySQLi login works with the Groups and Rules and would be helpful to know before making any significant changes.

Sign in to reply to this post

Ray BorduinWebAssist

If you are saving the same session variables with the new login, then you don't have to update the old rules.

Sign in to reply to this post

Thomas Hill

Thanks Ray, that's what I thought but wanted to double check first.

Really appreciate your help.

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