Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Adding User Registration and ... > Setting up Security for Our Site

Setting up Security for Our Site

We are now ready to setup security settings for our Deep Thoughts site. This will involve creating the necessary Organizational Units, Groups, and file permissions. We want our site users to have read-only content access, but for the things we need to do such as adding accounts and blog comments, those permissions will not be sufficient. To handle this, we will create two accounts that have the necessary permissions and then temporarily switch to those accounts while performing the privileged operations. The two accounts we create are:

  • BlogAdmin: This account will reside in the DeepThoughts OrgUnit and will have Administrator privileges. The account will be used by an administrator to manage user accounts in our site. We will also use this account programmatically to add new user accounts.

  • CommentPublisher: This account will reside in the DeepThoughts/ SubscribeUser OrgUnit. It will be used programmatically to publish content.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint