close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

private pages

Thread began 1/11/2011 7:54 am by segalmedia367166 | Last modified 2/03/2011 11:21 am by Jason Byrnes | 7220 views | 49 replies |

segalmedia367166

private pages

Hi, Can I create pages on my ps4 site that I create a unique username and password for ? If so, what are the steps to do this. I own all of your extensions. Thanks, Lisa

Sign in to reply to this post

Jason ByrnesWebAssist

you identify a particular user by the UserID session value. you would need to know the ID for the particular user name and password, then use security assist to create an access rule to allow if the UserID session value is equal to that particular users ID value.

you can then apply the security assist restrict access behavior using this new rule to the pages for that one user.

Sign in to reply to this post

segalmedia367166

please clarify

All good instructions, but can you break it down for me? Can you give me the links for each step and list the steps in order?

Sign in to reply to this post

Jason ByrnesWebAssist

look in the database and locate the record for the username and password of the particular user you are doing this for, make note of the value for the UserID primary key column.

Go To Modify -> Security Assist -> Access Rules Manager

Create a new rule, set the condition to allow if.

Click the lightning bolt next to value and select the UserID session variable from the dynamic data bindings.

set the criteria to equals.

set the compare to value to the UserID value you noted from the database in the beginning.


on the pages that will be restricted to this user only, go to insert -> SecurityAssist -> Access Rules Manager to apply the access rule.

Sign in to reply to this post

segalmedia367166

further clarification

Thanks for expanding your explanation. Just to make sure that I understand let me repeat back your instructions:

1. look in the database and locate the record for the username and password of the particular user you are doing this for, make note of the value for the UserID primary key column.
* Question - Can I access this info from logging into mysql database?
2. Go To Modify -> Security Assist -> Access Rules Manager
*Question, Is this in Dreamweaver?
3. Create a new rule, set the condition to allow if.
4. Click the lightning bolt next to value and select the UserID session variable from the dynamic data bindings. set the criteria to equals.
5. set the compare to value to the UserID value you noted from the database in the beginning.
6. on the pages that will be restricted to this user only, go to insert -> SecurityAssist -> Access Rules Manager to apply the access rule.

* So, when this user logs into my site, they will then have access to this page (assuming that I have added the page link somewhere on my site), or do I send them a link to this page?

Sign in to reply to this post

Jason ByrnesWebAssist

  1. look in the database and locate the record for the username and password of the particular user you are doing this for, make note of the value for the UserID primary key column.
* Question - Can I access this info from logging into mysql database?  


Yes, you get the ID directly from the MySQL database.

  2. Go To Modify -> Security Assist -> Access Rules Manager
*Question, Is this in Dreamweaver?  


Yes, in Dreamweaver Go to Modify -> Security Assist -> Access Rules Manager

  * So, when this user logs into my site, they will then have access to this page (assuming that I have added the page link somewhere on my site), or do I send them a link to this page?  


yes, when the particular user logs in, they will access to these pages

Sign in to reply to this post

segalmedia367166

can't find "user id" in session variable

Originally Said By: Jason Byrnes
  look in the database and locate the record for the username and password of the particular user you are doing this for, make note of the value for the UserID primary key column.

Go To Modify -> Security Assist -> Access Rules Manager

Create a new rule, set the condition to allow if.

Click the lightning bolt next to value and select the UserID session variable from the dynamic data bindings.

set the criteria to equals.

set the compare to value to the UserID value you noted from the database in the beginning.


on the pages that will be restricted to this user only, go to insert -> SecurityAssist -> Access Rules Manager to apply the access rule.  



Jason,

1. I cannot find a session variable "userID". Am I missing something?
2. if my user id value is 4, exactly what would I type into the compare value field?

Sign in to reply to this post

Jason ByrnesWebAssist

  1. I cannot find a session variable "userID". Am I missing something?  


click the plus button on the binding panel and go to Session variable, set the name to UserID

  2. if my user id value is 4, exactly what would I type into the compare value field?  


4

Sign in to reply to this post

segalmedia367166

Not working

Jason,

It looks like I did everything that you asked me to do to create a secure page, but it is not taking me to my page:

I think that this may be related to my other issue and am waiting for help.

My page is Segalmediaproductions.com/test/securityAssistTest.php

I keep getting redirected to the login page (as I instructed it to do).

H E L P

Sign in to reply to this post

Jason ByrnesWebAssist

can you post a copy of the securityAssistTest.php page and a screen shot showing how you configured the new access rule.

Sign in to reply to this post
loading

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