It's just a hallway that is off-limits to students because it leads to a dangerous area (the trapdoor to the third-floor corridor, where Fluffy the three-headed dog guards the Philosopher's Stone).
While there isn't a specific name for the corridor itself, it's often referred to as the "third-floor corridor" or the "corridor leading to the third floor".