Finish document security task