I have this tut,
Ruworth.com - Access Denied
Sorry you have to register but im sure it will get you on your way- Sorry but i could not be botherd to copy an paste the whole thing, there is a normal tut and then scroll down and there is an even easyer tut to follow with source code!