The perimeter (edge) of a computer network is the boundary between that which is under the full control of a particular entity and the rest of the internet.
Principal is the name given to an identity for authentication purposes. A principal is the thing that makes contact with an authenticated information system. As such, it can represent an actual human, or an agent of that human (either another human or an automated system), or any other entity that requires access.