How to prevent type flaw attacks on security protocols | IEEE Conference Publication | IEEE Xplore