It doesn’t have to be urban or dangerous. Most of the time it is but not always. My father grew up poor in a rural area and was in the projects in his county.
"Projects" and "Section 8" are two separate government programs, but they both wind up with similar demographics because it only attempts to solve one issue.
And in the case of Section 8, assumes best faith action of a third party. Which is hardly the case. Often, an apartment complex gets built as "Section 8" housing. And since the government is footing the bill, not the tenant, it's built to the least possible standard and service is usually poor. Because the incentive for the landlord is to spend as little as possible on it.
"The projects" on the other hand are owned and operated by government.