method security