Can you elaborate?
Many companies don't allow details, but are allowed to confirm a person was employed in a specific role. That's in many cases a sufficient to serve as a reference.
E.g. In my company we have a very strict policy for this, but are still allowed to answer "yes, Bob was employed as problem manager team lead from 2023 to 2025". Conversely as a hiring manager, I'll take that as a minimally sufficient data point in confirming resume entry.
In my company we have a very strict policy for this
My company is so strict about it that it farms out reference checks to a third company so that nobody inside the company knows that references were checked. Seems a little extreme to me.
It's always worth considering whether you have people who will give you genuine glowing references.
I've only ever once been at a place where there was a policy saying "all you are allowed to say during reference checks is "yes, they worked here as [job title], from {month/year} to {month/year}". And even with that policy/restriction I still found ways to be much much more positive about the people who were genuinely great.
One great way around that kind of policy - at least if you far enough into your career for it - is to provided references for people who are also no longer at the company they're being a referee for. There are 3 or 4 people from that job I mentioned that didn't allow me to elaborate, where I've subsequently provided reference including something like "Ratica? Yeah - she is great! She lead my QA team and worked magic! You might want to warn the company she's applying to that as soon as I get a role and budget that suits her QA skills, I'll 100% be trying to headhunt her away from them."