  Let $X$ be a quasi-affine algebraic variety isomorphic to the complement of a
closed subvariety of dimension at most $n-3$ in $\C^n$. We find some conditions
under which an isomorphism of two closed subvarieties of $X$ can be extended to
an automorphism of $X$.
