On board UA30. I wanted some fresh air so I went towards the front of the plane near the cockpit area. The FA came to tell me that I'm not allowed to be here for security reasons because it's near the cockpit. Is this an official rule which I've never heard of or made up?