Setting up task security