tragic and sad: Dutch Man Killed By Polar Bear On Svalbard Campsite
This is just outside town, close to airport, I remember I walked through also there and wondered if they had put up some bear fence, but no. And some think they are safe there due to building etc. around. Be aware of surroundings.
In Longyerbyen I did the same as the locals. The taxi driver had a gun laying between the seats in his car. I brought my gun when walking to church, there is a gun cabinet inside the church entrance where you drop of your guns before you go upstairs and pray (or eat free waffles). The church is on outskit of town, behind it is the small mountain (where another person was victim of polar bear some time ago) that was my goal that day (after eating waffles). A gun can save u and the bear, warning shot. This is not about being scared of bears, this is about understanding such tail events are not that unlikely in the land of the polar bear.
Also the food store has gun cabinet where u drop of guns. Kindergarten teacher told me carried gun inside town to when escorting children around.
my plan was originally only to get hold of and bring a big bear pepper spray, as very effective (at least against other types of bear), but not legal there (at least not then). I do not understand the policy against pepper sprays. Even to have one in your bed when camping in tent or under open sky could be good, worst case you spray yourself when asleep and wake up.