With IPFS, you don’t have to have any data on your computer you don’t want. No one uploads the data to unsuspecting strangers, they announce the content (it uses content addressing, hashes). Then other people choose to download it.
But if you run just a node, everything that is on the node is there because either you have added it or you have explicitly requested it.
IPFS is not like freenet or other systems that shard data over all participants.
This obviously hasn't been the case for bittorrent, so I don't know why you would assume that would be the case for IPFS. Even ignoring the legal risk of blindly re-hosting whatever illegal bootleg-ISIS-child-porn-malware.exe on the net, the use of a blacklist isn't sybil proof so you just get bogged down with spam by the first attacker and run out of disk space.
I'm not sure how you are imagining IPFS works.