1. A method for dynamically detecting an errant data sequence and performing a corresponding action, comprising the steps of: receiving a data sequence in an application; accessing a definable data structure that contains predetermined data sequences and actions; comparing the received data sequence to the predetermined data sequences in the data structure; and performing a corresponding action, if the received data sequence matches one of the predetermined data sequences.