Secure Internet servers

Source: worldbank.org, 03.09.2025

Year: 2024

Flag Country Value Value change, % Rank
Aruba Aruba 170 +13.3% 178
Afghanistan Afghanistan 1,751 -3.47% 121
Angola Angola 1,838 +24.4% 119
Albania Albania 3,596 +7.31% 98
Andorra Andorra 1,444 +22.2% 132
United Arab Emirates United Arab Emirates 46,058 +107% 60
Argentina Argentina 249,201 +0.388% 40
Armenia Armenia 5,264 +50.9% 92
American Samoa American Samoa 24 +9.09% 202
Antigua & Barbuda Antigua & Barbuda 91 +21.3% 191
Australia Australia 1,204,688 -5% 18
Austria Austria 432,577 +12% 33
Azerbaijan Azerbaijan 5,520 -1.11% 90
Burundi Burundi 149 +5.67% 180
Belgium Belgium 435,589 +9.84% 32
Benin Benin 295 +68.6% 167
Burkina Faso Burkina Faso 679 +30.6% 153
Bangladesh Bangladesh 91,478 +37.4% 54
Bulgaria Bulgaria 326,906 -6.27% 35
Bahrain Bahrain 11,223 +27.6% 78
Bahamas Bahamas 2,550 -0.778% 106
Bosnia & Herzegovina Bosnia & Herzegovina 17,575 +3.22% 71
Belarus Belarus 116,254 +6.02% 51
Belize Belize 193,755 +16.2% 45
Bermuda Bermuda 281 -24.1% 168
Bolivia Bolivia 4,524 +13.1% 94
Brazil Brazil 1,471,519 +23.8% 15
Barbados Barbados 331 +10.7% 165
Brunei Brunei 7,463 +85.3% 87
Bhutan Bhutan 1,060 +9.84% 143
Botswana Botswana 1,188 +8.59% 141
Central African Republic Central African Republic 9 -30.8% 206
Canada Canada 1,639,684 -3.9% 11
Switzerland Switzerland 1,507,153 +3.63% 12
Chile Chile 235,450 -2.63% 41
China China 1,991,334 -6.42% 8
Côte d’Ivoire Côte d’Ivoire 1,940 -1.87% 117
Cameroon Cameroon 733 +51.4% 150
Congo - Kinshasa Congo - Kinshasa 1,056 +13.1% 144
Congo - Brazzaville Congo - Brazzaville 105 -8.7% 188
Colombia Colombia 59,561 +2.64% 57
Comoros Comoros 14 -12.5% 204
Cape Verde Cape Verde 450 -9.46% 163
Costa Rica Costa Rica 10,259 +2.69% 80
Cuba Cuba 2,114 +13.3% 113
Curaçao Curaçao 791 +11.3% 148
Cayman Islands Cayman Islands 1,986 +2.37% 116
Cyprus Cyprus 300,585 -59.9% 37
Czechia Czechia 865,160 -0.645% 23
Germany Germany 12,704,030 +8.97% 2
Djibouti Djibouti 134 +83.6% 184
Dominica Dominica 4,162 -5.92% 95
Denmark Denmark 1,473,601 -5.16% 14
Dominican Republic Dominican Republic 2,067 -15.7% 114
Algeria Algeria 5,587 +20.7% 89
Ecuador Ecuador 8,902 +4.17% 86
Egypt Egypt 9,580 +56.9% 83
Eritrea Eritrea 7 +600% 208
Spain Spain 1,464,800 +5.43% 16
Estonia Estonia 190,786 +24.1% 46
Ethiopia Ethiopia 3,134 +39.4% 100
Finland Finland 999,971 +16.4% 21
Fiji Fiji 206 -2.83% 175
France France 3,926,271 +10.4% 5
Faroe Islands Faroe Islands 624 +37.1% 157
Micronesia (Federated States of) Micronesia (Federated States of) 22 +22.2% 203
Gabon Gabon 221 +107% 173
United Kingdom United Kingdom 4,738,464 +46.1% 3
Georgia Georgia 20,181 +3.42% 70
Ghana Ghana 1,684 +3.5% 123
Gibraltar Gibraltar 322 -5.29% 166
Guinea Guinea 181 +19.9% 177
Gambia Gambia 162 +14.9% 179
Guinea-Bissau Guinea-Bissau 24 +71.4% 202
Equatorial Guinea Equatorial Guinea 126 +55.6% 186
Greece Greece 162,923 +10% 47
Grenada Grenada 87 +20.8% 192
Greenland Greenland 222 -18.1% 172
Guatemala Guatemala 2,009 +1.52% 115
Guam Guam 218 +39.7% 174
Guyana Guyana 146 +73.8% 181
Hong Kong SAR China Hong Kong SAR China 1,174,807 +18.8% 19
Honduras Honduras 1,611 +9.52% 125
Croatia Croatia 113,893 +0.295% 52
Haiti Haiti 91 +5.81% 191
Hungary Hungary 526,654 +2.21% 30
Indonesia Indonesia 833,310 +8.86% 24
Isle of Man Isle of Man 1,798 -0.937% 120
India India 1,759,175 +26.6% 10
Ireland Ireland 655,415 -17.7% 26
Iran Iran 661,642 +10.7% 25
Iraq Iraq 1,589 -19.2% 127
Iceland Iceland 34,045 +1.35% 63
Israel Israel 123,214 -3.21% 50
Italy Italy 1,806,733 +1.28% 9
Jamaica Jamaica 545 +0.554% 161
Jordan Jordan 2,452 +17.2% 107
Japan Japan 4,082,355 +3.42% 4
Kazakhstan Kazakhstan 142,380 +20.5% 49
Kenya Kenya 22,556 +37.2% 68
Kyrgyzstan Kyrgyzstan 9,401 +62.2% 84
Cambodia Cambodia 14,416 +271% 77
Kiribati Kiribati 3 0% 209
St. Kitts & Nevis St. Kitts & Nevis 549 +42.6% 160
South Korea South Korea 615,961 +22.4% 27
Kuwait Kuwait 1,882 +0.588% 118
Laos Laos 2,344 +11.6% 109
Lebanon Lebanon 1,552 -60.2% 128
Liberia Liberia 73 +43.1% 193
Libya Libya 2,868 +250% 101
St. Lucia St. Lucia 132 +4.76% 185
Liechtenstein Liechtenstein 2,440 -7.47% 108
Sri Lanka Sri Lanka 9,834 -7.49% 82
Lesotho Lesotho 201 -2.43% 176
Lithuania Lithuania 284,649 +2.3% 38
Luxembourg Luxembourg 39,563 -1.84% 61
Latvia Latvia 52,659 +7.18% 59
Macao SAR China Macao SAR China 4,525 +15.7% 93
Saint Martin (French part) Saint Martin (French part) 63 +80% 196
Morocco Morocco 21,985 +2.7% 69
Monaco Monaco 1,603 +29.4% 126
Moldova Moldova 31,994 +12.9% 64
Madagascar Madagascar 801 +15.8% 147
Maldives Maldives 702 +7.83% 152
Mexico Mexico 69,573 +30.1% 56
Marshall Islands Marshall Islands 8 +33.3% 207
North Macedonia North Macedonia 3,773 +11.1% 97
Mali Mali 514 +53.9% 162
Malta Malta 2,564 -3.83% 105
Myanmar (Burma) Myanmar (Burma) 1,286 +17.8% 137
Montenegro Montenegro 4,006 +189% 96
Mongolia Mongolia 9,038 +10.3% 85
Northern Mariana Islands Northern Mariana Islands 64 -30.4% 195
Mozambique Mozambique 1,287 +3.13% 136
Mauritania Mauritania 270 +55.2% 170
Mauritius Mauritius 2,688 -13.6% 104
Malawi Malawi 703 +20.4% 151
Malaysia Malaysia 265,810 -6.37% 39
Namibia Namibia 1,295 +12.2% 135
New Caledonia New Caledonia 2,207 -0.451% 112
Niger Niger 141 +13.7% 183
Nigeria Nigeria 22,887 +111% 67
Nicaragua Nicaragua 650 -7.93% 155
Netherlands Netherlands 3,574,989 +2.57% 7
Norway Norway 197,648 -5.06% 44
Nepal Nepal 16,048 -15.9% 74
Nauru Nauru 8 +60% 207
New Zealand New Zealand 98,973 +0.209% 53
Oman Oman 1,514 +7.3% 129
Pakistan Pakistan 27,552 -1.8% 66
Panama Panama 10,090 -13.7% 81
Peru Peru 28,291 +11.5% 65
Philippines Philippines 15,240 -56.6% 76
Palau Palau 26 +8.33% 200
Papua New Guinea Papua New Guinea 932 +3.9% 145
Poland Poland 1,503,749 +9.77% 13
Puerto Rico Puerto Rico 1,509 +1.34% 130
North Korea North Korea 276 +165% 169
Portugal Portugal 307,047 +0.343% 36
Paraguay Paraguay 5,372 +22% 91
Palestinian Territories Palestinian Territories 2,259 +0.624% 111
French Polynesia French Polynesia 781 +20.2% 149
Qatar Qatar 1,273 +6.62% 138
Romania Romania 518,773 +1.42% 31
Russia Russia 3,750,542 +10.5% 6
Rwanda Rwanda 2,295 +27.4% 110
Saudi Arabia Saudi Arabia 17,042 +18.8% 72
Sudan Sudan 121 +13.1% 187
Senegal Senegal 1,103 +32.1% 142
Singapore Singapore 1,265,721 -6.45% 17
Solomon Islands Solomon Islands 66 +4.76% 194
Sierra Leone Sierra Leone 98 -13.3% 190
El Salvador El Salvador 1,212 +5.67% 140
San Marino San Marino 1,224 +11.8% 139
Somalia Somalia 266 +43.8% 171
Serbia Serbia 85,241 +1.76% 55
South Sudan South Sudan 63 +43.2% 196
São Tomé & Príncipe São Tomé & Príncipe 10 +11.1% 205
Suriname Suriname 1,307 +49.7% 134
Slovakia Slovakia 234,707 +8.36% 42
Slovenia Slovenia 146,330 +7.86% 48
Sweden Sweden 582,362 +4.29% 28
Eswatini Eswatini 145 -15.7% 182
Sint Maarten Sint Maarten 53 +1.92% 197
Seychelles Seychelles 16,939 +169% 73
Syria Syria 2,810 +27.7% 102
Turks & Caicos Islands Turks & Caicos Islands 40 +17.6% 198
Chad Chad 25 +4.17% 201
Togo Togo 857 +0.705% 146
Thailand Thailand 225,754 +4.86% 43
Tajikistan Tajikistan 1,615 +25.6% 124
Turkmenistan Turkmenistan 1,411 +38.1% 133
Timor-Leste Timor-Leste 371 +11.4% 164
Tonga Tonga 101 +9.78% 189
Trinidad & Tobago Trinidad & Tobago 657 +12.1% 154
Tunisia Tunisia 11,201 +12.2% 79
Turkey Turkey 949,548 +12.6% 22
Tuvalu Tuvalu 3 -40% 209
Tanzania Tanzania 3,593 +2.57% 99
Uganda Uganda 2,689 +7.05% 103
Ukraine Ukraine 376,212 +0.831% 34
Uruguay Uruguay 15,716 +6.56% 75
United States United States 66,850,221 +6.32% 1
Uzbekistan Uzbekistan 35,148 +19.7% 62
St. Vincent & Grenadines St. Vincent & Grenadines 27 +58.8% 199
Venezuela Venezuela 7,007 +10.8% 88
British Virgin Islands British Virgin Islands 56,957 -26.3% 58
U.S. Virgin Islands U.S. Virgin Islands 586 +1,731% 159
Vietnam Vietnam 579,038 +9.77% 29
Vanuatu Vanuatu 629 +20% 156
Samoa Samoa 132 -1.49% 185
Yemen Yemen 609 +122% 158
South Africa South Africa 1,066,247 +14.1% 20
Zambia Zambia 1,716 +50.7% 122
Zimbabwe Zimbabwe 1,497 +2.53% 131

The indicator of 'Secure Internet Servers' plays a crucial role in the modern digital landscape. With the internet increasingly permeating every aspect of our lives, from business transactions to social interactions, the need for secure communication and data protection has never been more pressing. Secure Internet Servers refer to the servers that provide secure access to websites, utilizing encryption protocols (such as HTTPS) that protect the integrity and confidentiality of data exchanged between users and servers. Their prevalence can be seen as a direct measure of a country's digital security posture, as well as its commitment to safeguarding users' online experiences.

The importance of this indicator cannot be overstated. Secure Internet Servers are foundational to building trust in online platforms. When users know that a website is secured by an SSL certificate, they are more likely to engage with the site, share personal information, or make transactions. A high density of secure servers in a region can thus correlate with higher levels of e-commerce activity, greater user engagement with online services, and overall digital economic growth. Furthermore, in an era of increasing cyber threats, having robust security measures in place is crucial for countries to protect their digital infrastructure and citizens from potential attacks.

In examining the relations to other indicators, Secure Internet Servers can be interconnected with various aspects of digital infrastructure, including internet penetration rates, overall cybersecurity capabilities, and the literacy of the population regarding online security practices. For instance, countries with high internet usage might require a more extensive infrastructure of secure servers to safeguard their user base, thus leading to a positive correlation. Similarly, nations investing in cybersecurity education will likely foster a higher demand for secure servers, as citizens become more aware of the importance of online security.

Several factors affect the number of secure internet servers within a region. First, the level of government regulation and policies regarding internet and cybersecurity can drive investment in secure servers. Countries with stringent data protection laws typically require businesses to adopt secure communication practices, leading to an increase in secure servers. Financial investment in IT infrastructure, developable technology sectors, and a general cultural emphasis on security can further promote the proliferation of these servers. However, the technological capabilities and economic conditions of a country also play a significant role. Countries with advanced technological ecosystems and strong economies, like the United States and Germany, have a higher number of secure servers compared to smaller or less economically developed nations.

The 2023 data highlights a striking growth trend in the number of secure internet servers over the years. The median value for 2023 stands at 2,217, which suggests that while there is substantial routing of resources towards securing internet servers, the available numbers indicate a disparity among different regions. The top five areas are dominated by developed nations: the United States leads by a staggering margin with over 62 million secure servers, followed by Germany with about 11.6 million, Japan with almost 4 million, France with 3.5 million, and the Netherlands with roughly 3.5 million as well. This distribution signals a concentration of secure server resources in the more economically powerful nations, which typically have both the requirement and capacity to invest in such digital infrastructure.

Conversely, the bottom five areas are starkly different, showcasing minimal secure internet server presence. Eritrea, Kiribati, Nauru, Tuvalu, and the Marshall Islands have, respectively, only 1 to 6 servers. This significant gap illustrates not only an alarming disparity in access to secure online platforms but also raises questions regarding cybersecurity readiness and the overall health of internet infrastructure in these regions.

Looking at the global trend from 2018 to 2023, it is observable that there has been a marked increase in secure internet servers, from approximately 46 million in 2018 to over 124 million in previous years, reaffirming the growing prioritization of online security. Nevertheless, the numbers can be seen as fluctuating, with a peak in 2022 and a slight drop in 2023, which might be influenced by various factors such as market saturation or shifts in technology usage patterns.

Strategies for increasing the number of secure internet servers revolve around heightened awareness and investment. Governments and institutions need to establish clearer regulations surrounding data protection, incentivize businesses to adopt secure practices, and invest in educational campaigns to enhance cybersecurity literacy among citizens. For developing nations, international cooperation and support from established cybersecurity firms could be a pivotal component, fostering a more robust approach to secure server adoption.

While the indicators present a generally positive trend, the flaws and challenges in relying solely on secure internet server counts must be acknowledged. The mere presence of these servers does not guarantee effective security; misconfigurations, poor maintenance, and inadequate encryption practices can undermine the security that these servers are supposed to provide. Additionally, the focus on quantitative measures should not overshadow qualitative assessments of user benefits, secure practices, and the overall ecosystem of cybersecurity.

In summary, Secure Internet Servers are a vital indicator of both the security landscape and digital trust for users worldwide. While significant advancements have been made over the years, especially in developed countries, ongoing efforts are required to bridge the gaps seen in less developed regions. With technological evolution and increasing online threats, the commitment to maintaining and expanding secure internet servers will be integral to fostering a safer and more reliable internet for all.

                    
# Install missing packages
import sys
import subprocess

def install(package):
subprocess.check_call([sys.executable, "-m", "pip", "install", package])

# Required packages
for package in ['wbdata', 'country_converter']:
try:
__import__(package)
except ImportError:
install(package)

# Import libraries
import wbdata
import country_converter as coco
from datetime import datetime

# Define World Bank indicator code
dataset_code = 'IT.NET.SECR'

# Download data from World Bank API
data = wbdata.get_dataframe({dataset_code: 'value'},
date=(datetime(1960, 1, 1), datetime.today()),
parse_dates=True,
keep_levels=True).reset_index()

# Extract year
data['year'] = data['date'].dt.year

# Convert country names to ISO codes using country_converter
cc = coco.CountryConverter()
data['iso2c'] = cc.convert(names=data['country'], to='ISO2', not_found=None)
data['iso3c'] = cc.convert(names=data['country'], to='ISO3', not_found=None)

# Filter out rows where ISO codes could not be matched — likely not real countries
data = data[data['iso2c'].notna() & data['iso3c'].notna()]

# Sort for calculation
data = data.sort_values(['iso3c', 'year'])

# Calculate YoY absolute and percent change
data['value_change'] = data.groupby('iso3c')['value'].diff()
data['value_change_percent'] = data.groupby('iso3c')['value'].pct_change() * 100

# Calculate ranks (higher GDP per capita = better rank)
data['rank'] = data.groupby('year')['value'].rank(ascending=False, method='dense')

# Calculate rank change from previous year
data['rank_change'] = data.groupby('iso3c')['rank'].diff()

# Select desired columns
final_df = data[['country', 'iso2c', 'iso3c', 'year', 'value',
'value_change', 'value_change_percent', 'rank', 'rank_change']].copy()

# Optional: Add labels as metadata (could be useful for export or UI)
column_labels = {
'country': 'Country name',
'iso2c': 'ISO 2-letter country code',
'iso3c': 'ISO 3-letter country code',
'year': 'Year',
'value': 'GDP per capita (current US$)',
'value_change': 'Year-over-Year change in value',
'value_change_percent': 'Year-over-Year percent change in value',
'rank': 'Country rank by GDP per capita (higher = richer)',
'rank_change': 'Change in rank from previous year'
}

# Display first few rows
print(final_df.head(10))

# Optional: Save to CSV
#final_df.to_csv("gdp_per_capita_cleaned.csv", index=False)
                    
                
                    
# Check and install required packages
required_packages <- c("WDI", "countrycode", "dplyr")

for (pkg in required_packages) {
  if (!requireNamespace(pkg, quietly = TRUE)) {
    install.packages(pkg)
  }
}

# Load the necessary libraries
library(WDI)
library(dplyr)
library(countrycode)

# Define the dataset code (World Bank indicator code)
dataset_code <- 'IT.NET.SECR'

# Download data using WDI package
dat <- WDI(indicator = dataset_code)

# Filter only countries using 'is_country' from countrycode
# This uses iso2c to identify whether the entry is a recognized country
dat <- dat %>%
  filter(countrycode(iso2c, origin = 'iso2c', destination = 'country.name', warn = FALSE) %in%
           countrycode::codelist$country.name.en)

# Ensure dataset is ordered by country and year
dat <- dat %>%
  arrange(iso3c, year)

# Rename the dataset_code column to "value" for easier manipulation
dat <- dat %>%
  rename(value = !!dataset_code)

# Calculate year-over-year (YoY) change and percentage change
dat <- dat %>%
  group_by(iso3c) %>%
  mutate(
    value_change = value - lag(value),                              # Absolute change from previous year
    value_change_percent = 100 * (value - lag(value)) / lag(value) # Percent change from previous year
  ) %>%
  ungroup()

# Calculate rank by year (higher value => higher rank)
dat <- dat %>%
  group_by(year) %>%
  mutate(rank = dense_rank(desc(value))) %>% # Rank countries by descending value
  ungroup()

# Calculate rank change (positive = moved up, negative = moved down)
dat <- dat %>%
  group_by(iso3c) %>%
  mutate(rank_change = rank - lag(rank)) %>% # Change in rank compared to previous year
  ungroup()

# Select and reorder final columns
final_data <- dat %>%
  select(
    country,
    iso2c,
    iso3c,
    year,
    value,
    value_change,
    value_change_percent,
    rank,
    rank_change
  )

# Add labels (variable descriptions)
attr(final_data$country, "label") <- "Country name"
attr(final_data$iso2c, "label") <- "ISO 2-letter country code"
attr(final_data$iso3c, "label") <- "ISO 3-letter country code"
attr(final_data$year, "label") <- "Year"
attr(final_data$value, "label") <- "GDP per capita (current US$)"
attr(final_data$value_change, "label") <- "Year-over-Year change in value"
attr(final_data$value_change_percent, "label") <- "Year-over-Year percent change in value"
attr(final_data$rank, "label") <- "Country rank by GDP per capita (higher = richer)"
attr(final_data$rank_change, "label") <- "Change in rank from previous year"

# Print the first few rows of the final dataset
print(head(final_data, 10))