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

rating

Security Assist - details on setup

Thread began 3/19/2015 3:31 pm by david_allen | Last modified 3/19/2015 5:04 pm by Jason Byrnes | 491 views | 3 replies |

david_allen

Security Assist - details on setup

Re Security Assist:

1 - May I confirm? There can be many conditions, but there can be just one rule per page?


2 - Regarding the conditions:

Is there any reason to both "allow" and "deny" the various parties allowed and not allowed?
Or instead, "Allow" is all that is needed, at least for simple access control?


3 - Detail regarding login / logout:

A - Can I safely remove two code blocks that are not in fact used? Is there related code that then should also go?

[ For example, this code block:
<?php if(WA_Auth_RulePasses("Emailed password")){ // Begin Show Region ?>
<p>Password information emailed, please check your inbox</p>
<?php } // End Show Region ?> ]
[ And:
<?php if(WA_Auth_RulePasses("Successful update")){ // Begin Show Region ?>
<p>Registration completed successfully, please log in to access the site</p>
<?php } // End Show Region ?> ]


B - Can logout code be not necessarily on its own page (as generated initially), but rather be incorporated into something else? If so, any necessary precautions / what minimal code?

As always, thanks, David

Sign in to reply to this post

Jason ByrnesWebAssist

1) yes, there can be many access rules defined, but only 1 rule can be applied to a page.

2) For simple access you really only need to allow if a condition is true.

for more restrictive access rules, you would use a mix of allow and deny conditions.

for an example, see the Double Opt in tutorial.

3A) Those code blocks relate the Emailed password and Successful update rules. you can safely remove them without needing to remove any other code.

3B) The logout behavior can be added to another page. If that page also has other behaviors on it, you may want to trigger the logout behavior on a URL variable

Sign in to reply to this post

david_allen

Thanks so much, Jason.

David

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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