Singer Kesha has scored a small victory in her legal battle with producer Dr. Luke after a judge ruled her medical records will remain confidential.

The 29-year-old singer has been embroiled in legal action against her Kemosabe label boss since 2014, when she accused him of emotional and physical abuse, which he denies.

As part of her spat with the producer, real name Lukasz Gottwald, the Tik Tok hitmaker was ordered to turn over medical records pertaining to the alleged abuse after Gottwald requested them in May (16), in a bid to disprove her claims. She reportedly worried Gottwald would release her gynaecological, psychiatric and rehab records, which date back 10 years, and last week (ends14Oct16) her lawyers filed a motion to keep them private.

On Friday (14Oct16), Supreme Court Judge Shirley Kornreich ruled her medical records would remain sealed in order to "insulate her from unnecessary embarrassment and to protect her medical providers", according to the New York Post's Page Six.

The records will only be seen by Kesha, Dr. Luke, and lawyers involved in the case.

His lawyers previously insisted the medical records needed to be made public in order to set the record straight about the claims made against their client.

"Because Kesha made public accusations in the case that she was allegedly harmed by Dr. Luke, the Court ordered her to produce her medical records," a statement from Dr. Luke's attorney Christine Lepera read.

"Now, Kesha wants to hide her records, while continuing to make self-serving, selective and misleading statements to hurt my client's publicly."

LATEST NEWS