Monday, May 7, 2007

Going with a simple security model

For any site, there's a balance between total openness and its possible chaos to total restriction and the possibility of no users.

Tikiwiki allows a rich permissions model that we'll use as we enable each feature. For now, let's just deal with how we allow people to register for the site, balancing openness and restriction. We'll reuse the existing user classes of "unregistered" and "registered". As we'll see, we can give basic reading permissions to "unregistered" and then greater permissions to the "registered", such as create and edit wiki pages, leave comments, etc.

The first place to stop is "admin home" and then "login".

You'll see the following form:


Clcik on the highlighted items. First, you want to let users register. Next, you want to prevent spam bots from registering. This option forces an anti-bot code to be entered. Finally, check the "validate users by email" to capture an email address. Not only will this help prevent spam, but it's handy for the users when they forget passwords or you need to communicate with them.

After checking these boxes, drop down to the bottom of the form and save your settings.



That's all you need to do to setup a reasonable registration model. Users who register will then be in the "registered" group (go figure, huh?). As you add features, such as blogging, forums, and wiki pages, you can grant permissions to the registered users.

As a warning, this is no "field of dreams" and even though you have built it, it's no guarantee that anyone will come to register. We'll have to deal with website advertising in a future blog. For now, get your friends and coworkers to use your site.

In the next post, we'll deal with deal with attractiveness. At this point, we have only a plain home page.

20 comments:

Anonymous said...

I usually do not comment, but I looked through a few comments on this page "Going with a simple security model".
I do have a few questions for you if it's okay. Could it be only me or do some of the remarks appear like they are coming from brain dead people? :-P And, if you are writing on other online social sites, I'd like to follow everything new
you have to post. Would you post a list of the complete urls of
your public pages like your linkedin profile, Facebook page or twitter
feed?
My webpage - party poker no deposit bonus code 2013

Anonymous said...

Howdy! I just wish to give you a big thumbs up for your great info you have got
here on this post. I'll be returning to your website for more soon.
Also visit my weblog - party bingo bonus code uk

Anonymous said...

Excellent post! We will be linking to this particularly great article on our website.
Keep up the good writing.
Feel free to visit my webpage ... party bingo bonus code deposit

Anonymous said...

Generally I don't read post on blogs, but I would like to say that this write-up very pressured me to take a look at and do it! Your writing taste has been amazed me. Thank you, very great article.
Here is my web blog http://news21.uscannenberg.org/index.php/member/50072

Anonymous said...

I must thank you for the efforts you have put in writing this website.
I really hope to see the same high-grade blog
posts by you later on as well. In fact, your creative writing abilities
has inspired me to get my own site now ;)
Here is my webpage : party bingo sign up bonus code

Anonymous said...

I know this if off topic but I'm looking into starting my own weblog and was wondering what all is required to get setup? I'm
assuming having a blog like yours would cost a pretty penny?

I'm not very web smart so I'm not 100% positive. Any suggestions or advice would be greatly appreciated. Many thanks
My web blog - www.broowaha.com

Anonymous said...

Link exchange is nothing else but it is simply placing
the other person's web site link on your page at appropriate place and other person will also do same in support of you.
My homepage ... intactvehiclesolutions.co.uk

Anonymous said...

Highly energetic article, I enjoyed that a lot.
Will there be a part 2?
My web site ; party bingo bonus codes

Anonymous said...

I love your blog.. very nice colors & theme. Did you design this
website yourself or did you hire someone to do it for you?
Plz answer back as I'm looking to construct my own blog and would like to know where u got this from. appreciate it
Feel free to surf my webpage : party poker reload bonus code 2013

Anonymous said...

I could not resist commenting. Exceptionally well written!
Visit my web site :: party poker review 2013

Anonymous said...

I've been surfing online more than three hours today, yet I never found any interesting article like yours. It's pretty worth enough for me.

In my opinion, if all website owners and bloggers made good content as
you did, the internet will be much more useful than ever
before.
My weblog - social.destinyconnect.com

Anonymous said...

This website was... how do you say it? Relevant!! Finally I have found something which helped me.
Thank you!
Also see my page :: party poker bonus 2013

Anonymous said...

We are a group of volunteers and opening a new scheme in our community.
Your web site provided us with valuable information to work on.
You've done a formidable job and our whole community will be thankful to you.
Also visit my webpage : Party Bingo Bonus Code

Anonymous said...

hi!,I like your writing very so much! share we keep in touch extra approximately your post
on AOL? I require a specialist on this house to solve my problem.
Maybe that is you! Having a look ahead to peer
you.
Also visit my site : www.tagzania.com

Anonymous said...

I'd like to thank you for the efforts you have put in writing this site. I really hope to see the same high-grade content from you later on as well. In fact, your creative writing abilities has motivated me to get my very own site now ;)
Look at my web page party poker 2013

Anonymous said...

Hello just wanted to give you a quick heads up. The text in your post
seem to be running off the screen in Internet explorer.
I'm not sure if this is a format issue or something to do with internet browser compatibility but I thought I'd post to let you know.
The design and style look great though! Hope you get the issue fixed soon.
Kudos
Feel free to surf my blog : http://www.popscreen.com/comma7army

Anonymous said...

Asking questions are truly pleasant thing if you are not understanding something completely, except this post offers
nice understanding yet.
Review my page party poker bonus code july 2013

Anonymous said...

I have been surfing online greater than 3 hours these days,
but I by no means discovered any attention-grabbing
article like yours. It's pretty worth sufficient for me. Personally, if all webmasters and bloggers made just right content as you did, the internet will be much more useful than ever before.
Take a look at my page ... accredited online Phlebotomy certification

Anonymous said...

Wow, marvelous blog layout! How lengthy have you been running a blog for?
you made running a blog glance easy. The whole look of your site
is wonderful, as neatly as the content material!
Here is my weblog : phlebotomy salary

Anonymous said...

I'd like to thank you for the efforts you've put in penning this site.

I really hope to see the same high-grade content by you later on
as well. In truth, your creative writing abilities has motivated me to get
my own, personal website now ;)
Feel free to surf my web blog - www.ee-hive.com