Sets of self, non-self, antigen, antibody and immune cell are defined. Method of the appetency calculation is improved. An idiographic dynamic clonal selection algorithm is put forward based on controllable - aberrance and random - aberrance. An intrusion detection system (IDS) model based on the idiographic immune algorithm is designed and realized. Emulative experiment shows that the idiographic immune algorithm is effective in improving the self - adaptability of IDS.