Method of ensuring information security