Port security operation