1. A method for securing an electronic device, comprising: trapping an attempt to access a secured system resource of the electronic device; determining a module associated with the attempt, the module comprising a plurality of distinct subsections; determining a subsection of the module associated with the attempt, the subsection including a memory location associated with the attempt; based on the determination of the module and the determination of the subsection, accessing a security rule to determine whether to allow the attempted access; and handling the attempt based on the security rule.