Safety isn't exclusively a concern for women, but I think we can all acknowledge that a solo female hiker faces more risks than solo male hikers. However, the solution is the same in either case.

Your personal safety is up to you. You should train and equip yourself so that you are comfortable (I stress comfortable, no room for undue distress or paranoia) that you can deal with what you're likely to face. This advice is the same whether the threat is terrain, weather, wildlife or, most dangerous of all, your fellow human beings.

If you cannot get comfortable with the challenges, then you should not go solo.