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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

User Registration including User Levels

Thread began 2/28/2013 2:58 pm by greg401801 | Last modified 2/28/2013 3:22 pm by Jason Byrnes | 777 views | 1 replies |

greg401801

User Registration including User Levels

I'm a relative newb. Please answer in fairly simple and specific terms. You won't insult me.

I am using DataBridge/SecurityAssist/DataAssist/Cookies, etc. I am following the "Create a Double Opt In Registration System" tutorial and video. I have run through it a couple of times, first following the steps exactly, then "playing" to see if I could modify it somewhat. I'm about to go through a third and (hopefully) final time. The first time it worked. The second time I tried adding in User Level Authentication. It didn't work. In going through the forums and support info I discovered what I think was a post that said I have to place my registration pages at the root level of my site. OK. I don't remember seeing that directive anywhere. That may be one of the reasons the second go through failed. I put the registration pages in their own folder.

Here are a series of questions that are vexing me:

1 - In creating the MySQL database it sets up, by default, a root user with username/password as root/root. For my connection I added an additional username/password of my own creation and am using that for my connection. It works fine. My question is, will leaving root/root expose my database to the world? I tried to change it (newb move) and fried MySQL. Had to reinstall MAMP and do some other stuff. Is my setup typical and secure?

2 - Do the registration.php and login.php and userupdate.php, et al, have to be at the root level of my site? My preference is to create a separate folder (also called a subdirectory, correct?) for the registration pages. I want to have all the pages that are password protected in other folders to keep the site neat and tidy.

3 - If it is a requirement to have the registration pages at the root level, is it possible to have the rest of the protected pages in folders?

I want to have User Levels for my site. Anyone who registers won't get immediate access to my protected pages. I will evaluate their registration information. If I want to give them access I will change their default User Level from 1 to 2. Level 2 users can see my pricing but that is all. Level 3 users have purchased $1K or more from me so they have access to some special stuff. Level 4 users have purchased $5K from me. And so on. The higher the User Level the better stuff they have access to. I think I need to edit the Restrict Access Rule to check for UserLevel. I tried to apply the info from the "SecurityAssist - User Level Authentication" information I downloaded. It doesn't fit exactly - remember, I'm a newb. I'm pretty sure I will need to use SecurityAssist: Authenticate User. I'm certain I will need to work with the Access Pages/Rules/Groups Managers. And I'm pretty sure there are several steps that I don't have a clue how or why to implement.

4 - Can someone tell me what to do to make the scenario above work? It seems so simple but there are so many steps. If there is a tutorial that does all this, great!! If not - Help!!

Thanks for any assistance you can provide.

Sign in to reply to this post

Jason ByrnesWebAssist

1) Your Mamp server wont be accessible to the world.

2) No, registration and login pages do not have to be at the site root, they can be in a subdirectory if you like.

weh running the security assist wizard, on the manage pages tab, you can specify the subdirectory along with the page name, for example:

directoryname/login.php

3) the other protected pages can be in the site root or in any other subdirectory of your site

4) The User Level Authentication tutorial should give you a good start on this.

for your needs, you would set the default value for the userlevel column to 0, and in the security assist wizard, don't include the userlevel column on the registration page

this way, when a new person registers, the assigned user level is 0.

you will need to edit the security assist authenticate user behavior to store the user level in a session as outlined in the user level tutorial.

then create access rules based on the user levels you will use in your site.

On the pages where you make the products for a specific user level available, use the appropriate access rule.

if there is a specific part of this that you need help with, please let us know

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