close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Easiest way to secure entire site, and allow access to certain pages depending database settings

Thread began 3/31/2015 1:54 pm by Daniel | Last modified 4/02/2015 2:45 pm by Ray Borduin | 724 views | 4 replies |

Daniel

Easiest way to secure entire site, and allow access to certain pages depending database settings

I was wondering what the easiest and or best way is to secure my site. This is what I'm looking at doing.

You need to be logged in to access the entire site (besides login page).
On the navigation I have a couple links that are for admins to access and change user information including what they have access too in the site.

On the main page, I have links set up as "channels" that a user may or may not have access to any of those links.
Within each of the channels, there are a couple more links that take you to a lesson. (Something 2014 or Something 2015) I want to restrict this as well depending on if the user also has rights to one of these or not.

Of course Admins will have access to everything.

In the database I'v set up in the Users table IsAdmin, Specialization, Workflow, etc for the different "channel" links as well as if the user has access to a lesson or not.

I'm trying to figure out what would be the best way configure all this to get the access how I want it. I have a general idea on what to do, but not sure if it's the best or correct way of doing it.

Sign in to reply to this post

Daniel

Site URL

Here is a link so you can get an idea on what it looks like. Pretty much everything inside has a different type of access.

Sign in to reply to this post

Jason ByrnesWebAssist

Sounds like you looking to use user Level Authentication with Security Assist.

you would create Rules within Security Assist for each of the user levels, then apply the appropriate access rules to the site pages based on the users that should be allowed access.

see the user Level Authentication tutorial here:
http://www.webassist.com/tutorials/User-level-authentication-with-SecurityAssist

Sign in to reply to this post

Daniel

Tutorial from Link

Thanks for the link to the tutorial. Though I'm not sure if this is quite the setup I was needing. Or I'm not looking at it correctly.

For pages and even links I basically want the rules to be set up as if admin = yes or if linkA = yes then the link would be visible and you can access the page. But the rules would all be different. There's ten different channel rules that I need along with individual lesson rules that would be set up.

Each of these channels and content in them would need to have their own individual rules and not, for example, one rule containing two different channel or two different lessons.

I was trying to look for the rules that get created in the helper_php.php file in the Security Assist folder looking to see where the rules were being created and stored.

Or if it would be easier to just manually put in the rules for the pages and for the links if it isn't too to much coding. I would imagine a lot of it would be copy and paste but then just change the name of the cell that's in the database that it's looking for along with the value of it.. yes or no for yes you have access or you don't. That's why I'm not sure if groups like the tutorial is the best way about doing it

Thanks

Sign in to reply to this post

Ray BorduinWebAssist

The tutorial is good to help you understand the concepts. At some point you might even want to do your own recordset and redirect based on the recordset value on a page when rules don't fit perfectly.

Honestly because of the complexity of what you are doing it is hard to recommend the easiest or best way. If you want direct help with this, I think the best thing to do is to sign up for a premier support ticket and we can spend an hour looking at it and then probably even get it all working for you.

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