Some companies have this policy to avoid the situation where they give a reference out and another company finds the person unsuitable. It can lead to the company looking bad, and in an extreme case there could be legal action. I am sure HR would provide those details as Keira suggested. Perhaps you could find someone else you worked with who would be happy to provide a reference instead?