There's this Deep Space 9 episode called Past Tense.
The crew goes back to 21st century earth to find that being unemployed is illegal and they quickly get put in a ghetto with other indigents.
At one point they're trying to get on the internet (the show was aired in 1995 so they predicted the 21st century internet) but they can't login because you have have a real identity and be a citizen in good standing (so nobody in the ghetto).
It's really the most prescient episode of Star Trek ever made.