Kahve,
If you walk around your neighborhood or drive to the store with security guards at home then bring them with you to the camino...it will feel just like home and you are guaranteed to be safe.
You are most likely more safe from bodily harm while walking alone on the Portuguese or Frances than almost anywhere else in the world. There are both people and facilities very close at all times able to render aid if needed. There is an APP for Spain called "AlertCops" you can add to your phone to get help or report crime that works in your language and connects you to someone who can speak your language. See another thread linked below with some info on it if your biggest concern is "an emergency, like health issues or the injuries"
None of us want to experience a terrifying death from an airplane crash...yet the majority of us willinging board multiple flights (opportunities to die) to get to the start of our Camino. We see the gruesome reports on the news every time a plane crashes and it has no effect on our decision to book our next flight. Why? I guess we are all gamblers. We realize the risk is remote. We are much more likely to be injured or killed getting into our car and driving to the store. Death or bodily harm from another person on the Camino is in the same risk category as dying in a plane crash.
If you experience any crime at all on the Camino it will most likely be theft of your phone or money that you leave unattended in your albergue or "pickpocket" while walking around in a big city. This is easily avoidable. Keep your passport, money and phone with you at all times including in the shower (use a dry bag or ziplock bag) and while sleeping (wear a lightweight money belt) and you will avoid this problem.
If you spend enough time on this forum you will see reports on "flashers"...local men exposing their genitals on the more isolated sections of the trail or an area with a quick escape for them to their parked car. These situations are also rare but it is obviously scary to the person who experiences it and it gets a lot of press here when it happens so it might seem like it is frequent. From what I have read it sounds like the flashers are not on the actual road or the path but instead 10 to 20 feet or more away from you. It sounds like they want to be close enough to elicit and observe a reaction from their victim but not close enough to be physically caught or risk "weeny" injury from an aggressive Peregrina that turns a sharp hiking pole in their direction. From the reports I've read I get the impression the flasher typically escapes by running away from the trail (and victim) for cover and to avoid other hikers...crossing a field to hide or going to another trail or a road for escape. As I understand it, these non-physical assaults against women are not preludes to a violent crime like rape or physical sexual assault. If one comes upon a flasher it is recommended you ignore the offender (after noting height/weight/clothing & other identifiable characteristics) and then leave the immediate area with haste AND then report it ASAP. My impression from what I've read on the forum is the "flasher" in Spain is treated by the local community as being "naughty" and not necessarily a sexual offender. Most of the camino pilgrims from other countries see this behavior as a sexual offense and the pressure on the police to take this issue more seriously can only happen if EVERYONE reports these incidents. It should only take one but when a flasher gets enough reports about his behavior he will eventually suffer some consequences. The more reporting the quicker this behavior goes from "naughty" to taboo in the community, if not criminal. The AlertCops App has a button for reporting a sex crime on the opening page...see below. Again, from what I've read on this forum, although the local community of the offender may not treat his offenses as seriously as they should, the local Police DO take these complaints seriously and react quickly and professionally when dealing with the victim. They make a concerted effort to identify and then find the perpetrator and then local law determines what happens next...so to all reading this, DO report the offense if it happens. You will be taken seriously and you will be dealt with compassionately and professionally by the police.
I would wager if you talked to every person you saw on your camino someone will have lost or heard of someone else that lost a valuable from theft while on the Camino at the same time you are there. Based on the frequency of "flasher" experiences I've read about here (and surely there are many more of these crimes than we read about here) I would wager none of the people you saw on your camino experienced or heard second hand about a flasher experience occurring during the time you are on your camino. Unfortunately it does happen but again, it's rare.