close ad
WARNING PC USERS: 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 Athenticate user

Thread began 11/30/2014 2:26 pm by bbgd | Last modified 12/01/2014 3:46 pm by Jason Byrnes | 398 views | 1 replies |

bbgd

security assist Athenticate user

I have had this problem before. i found a thread that was similar to mine and piggybacked off of it. Jason came back with the answer but didn't understand it. He then ended up calling and helping me. I have lost the thread to that problem and had to restart the whole thing again. I am now stuck in the same spot.

In the SecurityAssist Authenticate User dialog box on the Database tab I have username and passowd columns. I believe the value is where I am having problems. When I click on the lightning bolt I can pick from Sessions, Cookie or Form. No matter what I pick. I get redirected back to my denied.php page.

Under the Session Value tab I have username and password. I can't find any tutorials or info on this dialog box.

I did http://www.webassist.com/tutorials/User-level-authentication-with-SecurityAssist and still don't understand.

I should have added the contents of the general tab. Trigger is "any form post". Redirect has both check boxes checked and a page to go to if successful and on that if it fails.

Now, under Access Page Manager. The pages I want restricted have the Rule "logged in to login_form" applied to each.

In the dialog box I have the name of the rule. and under Conditions, I have

Allowed if <?php echo ((isset($_POST["username"]))?$_POST["username"]:""); ?> = <?php echo $_SESSION['username']; ?>. Same for password.

Last but not least. I want who ever click on a restricted page to go to the login first. Right now it goes straight to the denied.php page.

Sign in to reply to this post

Jason ByrnesWebAssist

In the authenticate user behavior, on the Database tab, you should selecting the Username and password columns and binding the, to the username and password form elements.

On the session tab, you should be saving the ID column as a session, you can save other columns if you wish, but the ID column is the only one that is really needed.

in the access rule, it should be configured as:
Allow if
Variable: click the lightning bolt and select the Used ID Session
<> (Not Equals
Comparison: leave this blank.

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