close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Control access to datatable, not just pages

Thread began 7/11/2013 2:48 am by sysop349733 | Last modified 7/11/2013 9:25 am by sysop349733 | 623 views | 2 replies |

sysop349733

Control access to data table, not just pages

Hello,

This is a weak spot for me, so forgive me if I'm missing something obvious or for asking for something beyond the scope of DataAssist.

I need to give authorized users not only access to restricted pages, but to their own data table -- so, once logged in, they would have access to their contacts, for example, and this data and access would be unique for them. Multiple users might access the restricted "Contacts" page, for example, but based on login ID, each user would access their own, individual contacts from the database.

Can you advise of how far one can get to this with DataAssist and how to do so?

Sign in to reply to this post

Jason ByrnesWebAssist

you would use User Level Authentication.

in your users table, create a user group column.

you can define multiple user groups for accessing contacts or other areas of the site.

on the login page, edit the authenticate user server behavior, on the session variables tab, add the User Level column so it is stred as a session.

this will allow you to store the Users ID and User level when they log in.

you can then create access rules based on the user level, so that nly contact User level users can access the contact page.

in the contacts page, set the recordset to use the UserID session variable to filter only contacts that belong to that user.

here is an older tutorial on user level authentication:
http://assets.webassist.com/solutionrecipes/securityassist_user_level_auth_sr.pdf

it was written for Security assist 1, but the concepts still apply.

Sign in to reply to this post

sysop349733

Thank you for the speedy fast and thorough reply, Jason. I'll look at the tutorial.

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