Go to your Administration Panel -> Modules -> Javascript Management then Create New Javascript, and name it in title "Forum Protected". Copy Paste this code and save!
Let's understand the code .. you see 'Advanced Premium Tutorials' you can change it what ever you want to protect a forum.this is optional you can change it by name of the title not link of the title!