Personally, I don't think it is necessary to write my home address. There is indeed a security problem. If you are from Nanjing, you can write "Nanjing, Jiangsu", but you should write your home phone number. This is for personal safety.
If some units insist that you write a specific home address, then throw your resume in his face and say hello to his mother! !