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

Adding manual authentication element to login page

Thread began 6/24/2013 6:44 pm by doug425125 | Last modified 6/27/2013 12:10 am by doug425125 | 474 views | 10 replies

doug425125

Originally Said By: Jason Byrnes
  the verified user rule sets the page to only allow access to logged in user that are verified.  



Thanks again for your help Jason..

.. For those that are wondering about my solution, and in the hope it will help someone having a similar problem, here is how Jason helped me..


Jason wrote:
on the index page, you have access restriction that redirects to the user update page:

<?php
if (!WA_Auth_RulePasses("VerifiedUser")){
WA_Auth_RestrictAccess("userupdate.php");
}
?>

set that to redirect to the login success page instead.


I wrote:

Thanks Jason.. just out of curiosity, the tutorial states in the " Lock down your site section:

In the menu bar, Click WebAssist > SecurityAssist > Manage Site Access > Access Pages Manager.

1. Select the page you want to lock down from the File Name column.
2. For the Grant access if field, select VerifiedUser.
3. For the If access denied, go to field, select userupdate.php.
4. Once all pages are configured, click OK.

So is this correct, as it seems to have been the source of the confusion I was having?


Jason replied:

It's a matter of which page the redirect was pointing to.

when you set page access restriction, you set it to redirect to the Update page, the update page redirected to the login page.

if you try to access a page that is restricted, the login page will redirect to that page on success and over ride the login success setting.

by setting the access restriction to redirect to the login success page, it is over riding the login success with the same page, if that makes sense.

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