most campers are kind, respectful and helpful if you treat them that way and most solo women campers really enjoy their experiences but they do need to take some measures to mitigate problems!
checking out the camp ground and chat to other campers before setting up so you can get a feel for how they are likely to behave
set up camp not to far from the white knights (so they can hear you if you need to call for help) and as far as possible from the potential toxic campers
avoid staying at a camp ground for too long - some have a max. of 4 days as beyond that other campers may become too familiar and cross boundaries
avoid wearing attention seeking clothing or having expensive gear on display
ensure someone knows where you are staying and where you are going
bring two chairs and set them up so people think you are camping with a partner
avoid getting drunk
avoid disclosing too much personal information to strangers - most campers prefer to keep just to first name basis with others
be assertive and communicate your boundaries early
if the above are not feasible, camp in a hidden discrete location with a swag or similar low profile tent