This paper investigates the rigidity of bordered polyhedral surfaces. Using the variational principle, we show that bordered polyhedral surfaces are determined by boundary value and discrete curvatures on the interior. As a corollary, we reprove the classical result that two Euclidean cyclic polygons (or hyperbolic cyclic polygons) are congruent if the lengths of their sides are equal.