I recently came across this passage in Harry Potter and the Order of the Phoenix, chapter eighteen.
They hurried along the corridor to the place Dobby had described to Harry, a trench of the blank wall opposite and an enormous tapestry depicting Barnabas the Barmy's foolish attempt to train trolls for the ballet.
"Okay," said Harry quietly, while a moth-eaten troll paused in his relentless clubbing of the would-be ballet teacher to watch. "Dobby said to walk past this bit of wall three times, concentrating hard on what we need."
They did so, turning sharply at the window just beyond the blank stretch of wall, then at the man-size vase on its other side. Ron had screwed up his eyes in concentration, Hermione was whispering something under her breath, Harry's fists were clenched as he stared ahead of him.
We need somewhere to learn to fight . . . he thought. Just give us a place to practice . . . somewhere where they can't find us . . .
As we know from Harry Potter and the Half-Blood Prince, the Room of Requirement can hide from the people that the person requesting wants it to hide from. So how is it possible that Umbridge found out about DA in the Room of Requirement and got the scroll of names?
"We needed evidence and the room provided . . . " And to Harry's horror, [Umbridge] withdrew from her pocket the list of names that had been pinned upon the Room of Requirement's wall and handed it to Fudge. "The moment I saw Potter's name on the list, I knew what we were dealing with," she said softly. (Harry Potter and the Order of the Phoenix, chapter twenty-seven)