Ring dimension and security level