View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

S/A Authenticate User Server Behavior

Thread began 11/25/2009 6:48 pm by brobert123392308 | Last modified 12/03/2009 5:21 pm by brobert123392308 | 1263 views | 9 replies

brobert123392308

Thanks Jason, but 1 issue

Only users with admin rights can log in, when they log in sucessfully, they are redirected to a search page and can search the db. If a user not level 3 or anyone else attempts to log in they get sent to accessdenied page.

The only issue is if you type the url of the restricted page into the browser, it comes up no problem, so anyone can access it and search.

this is the code at the beginning of the page, Am I missing something here? just si you know, This restricted search page was written in php outside of D/A, but it works great.

<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>

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

thanks

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