{"id":228,"date":"2018-02-28T14:53:23","date_gmt":"2018-02-28T13:53:23","guid":{"rendered":"http:\/\/christeninformatica.ch\/?p=228"},"modified":"2022-08-15T13:33:16","modified_gmt":"2022-08-15T11:33:16","slug":"la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2","status":"publish","type":"post","link":"https:\/\/christeninformatica.ch\/it\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/","title":{"rendered":"La perfetta installazione WordPress  &#8211; Sicurezza"},"content":{"rendered":"<h2>1. Limitare l&#8217;accesso a wp-admin tramite indirizzo IP<\/h2>\n<p>Limitare l&#8217;accesso alla cartella &#8220;<b>wp-admin<\/b>&#8221; tramite indirizzo IP aggiungendo le seguenti righe nel file httpd.conf:<\/p>\n<div class=\"comandi\">\n<blockquote>\n<pre>&lt;Directory \/unacartella\/chitblog\/wp-admin\/&gt;\n    Require ip xxx.xxx.xxx.xxx\n&lt;\/Directory&gt;\n<\/pre>\n<\/blockquote>\n<\/div>\n<p>Con le seguenti direttive si ottiene che solo l&#8217;utente con l&#8217;indirizzo IP XXX.XXX.XXX.XXX pu\u00f2 accedere all&#8217;area d&#8217;amministrazione di <b>WordPress<\/b>.<\/p>\n<p>Se non si possiede un <b>indirizzo IP<\/b> fisso il proprio IP cambier\u00e0 qualche volta e si dovr\u00e0 editare il file nuovamente. In alternativa si potrebbe dare accesso a tutto il possibile range di indirizzi IP.<\/p>\n<p>Per controllare se funziona si potrebbe testare da un altro indirizzo IP per accertarsi se effettivamente non sia possibile accedere all&#8217;area d&#8217;amministrazione di <b>WordPress<\/b>.<\/p>\n<p>Una volta fatto qualsiasi altra persona che provasse ad accedere da un altro indirizzo IP alla cartella <b>&#8220;wp-admin&#8221;<\/b> o a effettuare l&#8217;accesso a <b>WordPress<\/b>, riceverebbe un errore:<\/p>\n<p><i>Access forbidden! You don&#8217;t have permission to access the requested object. It is either read-protected or not readable by the server. If you think this is a server error, please contact the webmaster.<\/i><\/p>\n<h2>2. Proteggere la cartella wp-admin con una password<\/h2>\n<p>Creare un password file per permettere l&#8217;accesso ad uno specifico utente.<\/p>\n<div class=\"comandi\">\n<blockquote>\n<pre># md passwd\n# htpasswd2 -c passwd\/passwords chitblog_admin\nNew password:\nRe-type new password:\nAdding password for user chitblog_admin\n#\n<\/pre>\n<\/blockquote>\n<\/div>\n<p>Una volta creato un utente basta aggiungere le seguenti righe infondo &#8211; prima di &lt;\/Directory&gt; &#8211; precedentemente preparato per limitare l&#8217;accesso tramite indirizzo IP:<\/p>\n<div class=\"comandi\">\n<blockquote>\n<pre>AuthType \"Basic\"\nAuthName \"Restricted Files\"\nAuthBasicProvider file\nAuthUserFile \/unacartella\/passwd\/passwords\nRequire user chitblog_admin\n<\/pre>\n<\/blockquote>\n<\/div>\n<p>Ora, se si cerca di accedere all&#8217;area d&#8217;amministrazione di <b>WordPress<\/b> viene richiesta prima la password per accedere alla cartella wp-admin sul server.<\/p>\n<h2>3. Proteggere il login e l&#8217;area d&#8217;amministrazione WordPress<\/h2>\n<p>Per accedere all&#8217;area d&#8217;amministrazione di WordPress dobbiamo assicurarci di farlo con una connessione sicura ( https ).<\/p>\n<h3>Forzare la connessione sicura per il login e l&#8217;area d&#8217;amministrazione WordPress<\/h3>\n<p>Per forzare <b>WordPress<\/b> ad usare SSL durante il login aggiungere le seguenti righe all&#8217;inizio del file <b>wp-config.php<\/b>.<\/p>\n<div class=\"comandi\">\n<blockquote>\n<pre>define( 'FORCE_SSL_LOGIN', true );\ndefine( 'FORCE_SSL_ADMIN', true );\n<\/pre>\n<\/blockquote>\n<\/div>\n<p>Con force ssl_admin e ssl_login si forza l&#8217;applicazione ad usare https durante il login e mentre si naviga nell&#8217;area d&#8217;amministrazione di <b>WordPress<\/b>.<\/p>\n<h2>4. iThemes Security Plugin WordPress sicurezza<\/h2>\n<p>Scaricare il plugin <b>iThemes Security<\/b> ( <a title=\"Better WP Security\" href=\"https:\/\/wordpress.org\/extend\/plugins\/better-wp-security\/\" target=\"_blank\" rel=\"noopener\">Scarica iThemes Security<\/a> ) estrarre il contenuto dello zip localmente e copiarlo sul Server nella cartella wp-content\/plugins\/.<\/p>\n<p>Una volta copiato il plugin nell&#8217;area d&#8217;amministrazione sotto Plugin\/Plugin Installati apparir\u00e0 una lista di plugins tra cui anche <b>iThemes Security<\/b>.<\/p>\n<p>Cliccare su attiva! Una volta attivato <b>iThemes Security<\/b> sulla pagina principale ci sono diverse impostazioni per la sicurezza che si possono attivare e configurare.<\/p>\n<p><img decoding=\"async\" src=\"..\/..\/..\/grafica\/plugin-ithemes-security-impostazioni-sicurezza-wordpress.jpg\" alt=\"Impostazioni sicurezza ithemes security\"><\/p>\n<p>Cliccare su &#8220;Enable&#8221; per attivare specifiche <b>impostazioni della sicurezza di WordPress<\/b>.<\/p>\n<h2>5. Proteggere il login da attacchi Brute Force<\/h2>\n<p>A tale scopo si pu\u00f2 usare <b>iThemes Security<\/b> che ha la funzione &#8220;<b>Local Brute Force Protection<\/b>&#8221; che serve appunto per proteggere il login da attacchi <b>Brute Force<\/b>.<\/p>\n<p>Per attivare questa funzione cliccare su &#8220;Enable&#8221; sotto &#8220;<b>Local Brute Force Protection<\/b>&#8220;.<\/p>\n<p><img decoding=\"async\" src=\"..\/..\/..\/grafica\/ithemes-security-sicurezza-wordpress-local-and-network-brute-force-protection.jpg\" alt=\"iThemes Security Brute Force Protection\"><\/p>\n<p>Per configurare la funzione <b>Local Brute Force Protection<\/b> di <b>iThemes Security<\/b> cliccare su &#8220;Configure Settings&#8221;.<\/p>\n<p><img decoding=\"async\" src=\"..\/..\/..\/grafica\/ithemes-security-sicurezza-wordpress-local-brute-force-protection.jpg\" alt=\"iThemes Local Brute Force Protection\"><\/p>\n<h3>5.2 Nascondere lo script per accedere a WordPress<\/h3>\n<p>Per &#8220;nascondere&#8221; lo script <b>wp-login.php<\/b> andare nelle impostazioni avanzate di <b>iThemes Security<\/b>.<\/p>\n<p><img decoding=\"async\" src=\"..\/..\/..\/grafica\/plugin-ithemes-security-impostazioni-avanzate-nascondere-login.jpg\" alt=\"Ithemes security advanced settings\"><\/p>\n<p>Cliccare sotto &#8220;<b>Hide Backend<\/b>&#8221; su Configure Settings.<\/p>\n<p><img decoding=\"async\" src=\"..\/..\/..\/grafica\/plugin-ithemes-security-impostazioni-sicurezza-nascondere-login-hide-backend.jpg\" alt=\"iThemse advanced settings hide backend\"><\/p>\n<p>Nel menu di configurazione sotto &#8220;<b>Hide Backend<\/b>&#8221; selezionare &#8220;<b>Enable the hide backend feature<\/b>&#8221; e in &#8220;<b>Login Slug<\/b>&#8221; dare un nome come per esempio login-chit. Una volta apportate le modifiche salvare le impostazioni cliccando su &#8220;Save Settings&#8221;.<\/p>\n<p>Ora un utente deve prima sapere l&#8217;URL esatta &#8211; christeninformatica.ch\/login-chit per esempio &#8211; per potere accedere all&#8217;area d&#8217;amministrazione di <b>WordPress<\/b> o per svolgere un <b>attacco Brute Force<\/b>.<\/p>\n<h2>6. Bloccare gli user-agent dannosi<\/h2>\n<p>Aggiungere delle regole rewrite nel file .htaccess che deviano gli user-agent dannosi a una pagina di errore. Si tratta della blacklist di HackRepair.com messa a disposizione da <b>iThemes Security<\/b> ma se si desidera aggiungere solo le regole manualmente eccole qui:<\/p>\n<p>Editare il file .htaccess e aggiungiere le seguenti righe.<\/p>\n<div class=\"comandi\">\n<blockquote>\n<pre>RewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^BlackWidow&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Bolt\\&nbsp;0&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Bot\\&nbsp;mailto:craftbot\\@yahoo\\.com&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;CazoodleBot&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^ChinaClaw&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Custo&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Default\\&nbsp;Browser\\&nbsp;0&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^DIIbot&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^DISCo&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;discobot&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Download\\&nbsp;Demon&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^eCatch&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;ecxi&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^EirGrabber&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^EmailCollector&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^EmailSiphon&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^EmailWolf&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Express\\&nbsp;WebPictures&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^ExtractorPro&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^EyeNetIE&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^FlashGet&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^GetRight&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^GetWeb!&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Go!Zilla&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Go-Ahead-Got-It&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^GrabNet&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Grafula&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;GT::WWW&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;heritrix&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^HMView&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;HTTP::Lite&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;HTTrack&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;ia_archiver&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;IDBot&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;id-search&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;id-search\\.org&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Image\\&nbsp;Stripper&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Image\\&nbsp;Sucker&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;Indy\\&nbsp;Library&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^InterGET&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Internet\\&nbsp;Ninja&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^InternetSeer\\.com&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;IRLbot&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;ISC\\&nbsp;Systems\\&nbsp;iRc\\&nbsp;Search\\&nbsp;2\\.1&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Java&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^JetCar&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^JOC\\&nbsp;Web\\&nbsp;Spider&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^larbin&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^LeechFTP&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;libwww&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;libwww-perl&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Link&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;LinksManager.com_bot&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;linkwalker&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;lwp-trivial&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Mass\\&nbsp;Downloader&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Maxthon$&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;MFC_Tear_Sample&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^microsoft\\.url&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;Microsoft\\&nbsp;URL\\&nbsp;Control&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^MIDown\\&nbsp;tool&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Mister\\&nbsp;PiX&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;Missigua\\&nbsp;Locator&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Mozilla\\.*Indy&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Mozilla\\.*NEWT&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^MSFrontPage&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Navroad&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^NearSite&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^NetAnts&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^NetSpider&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Net\\&nbsp;Vampire&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^NetZIP&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Nutch&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Octopus&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Offline\\&nbsp;Explorer&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Offline\\&nbsp;Navigator&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^PageGrabber&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;panscient.com&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Papa\\&nbsp;Foto&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^pavuk&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;PECL::HTTP&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^PeoplePal&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^pcBrowser&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;PHPCrawl&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;PleaseCrawl&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^psbot&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^RealDownload&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^ReGet&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Rippers\\&nbsp;0&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;SBIder&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^SeaMonkey$&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^sitecheck\\.internetseer\\.com&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^SiteSnagger&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^SmartDownload&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;Snoopy&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;Steeler&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^SuperBot&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^SuperHTTP&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Surfbot&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^tAkeOut&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Teleport\\&nbsp;Pro&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Toata\\&nbsp;dragostea\\&nbsp;mea\\&nbsp;pentru\\&nbsp;diavola&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;URI::Fetch&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;urllib&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;User-Agent&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^VoidEYE&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Web\\&nbsp;Image\\&nbsp;Collector&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Web\\&nbsp;Sucker&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;Web\\&nbsp;Sucker&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;webalta&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^WebAuto&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^[Ww]eb[Bb]andit&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;WebCollage&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^WebCopier&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^WebFetch&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^WebGo\\&nbsp;IS&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^WebLeacher&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^WebReaper&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^WebSauger&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Website\\&nbsp;eXtractor&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Website\\&nbsp;Quester&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^WebStripper&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^WebWhacker&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^WebZIP&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;Wells\\&nbsp;Search\\&nbsp;II&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;WEP\\&nbsp;Search&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Wget&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Widow&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^WWW-Mechanize&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^WWWOFFLE&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Xaldon\\&nbsp;WebSpider&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;zermelo&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Zeus&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;^Zeus\\.*Webster&nbsp;[NC,OR]\nRewriteCond&nbsp;%{HTTP_USER_AGENT}&nbsp;ZyBorg&nbsp;[NC]\nRewriteRule&nbsp;^*&nbsp;.-&nbsp;[F,L]\n<\/pre>\n<\/blockquote>\n<\/div>\n<h2>7. Rimuovere il meta tag generator di WordPress e altre info<\/h2>\n<p>Per rimuovere le informazioni sulla versione di <b>WordPress<\/b> e altro editare il file wp-includes\/default-filters.php. Una volta aperto il file appaiono una serie di funzioni, scrollare un po&#8217; in basso fino a &#8220;Actions&#8221;.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"..\/..\/grafica\/wp-head-2.jpg\" alt=\"wp_head, wordpress\"><\/p>\n<p>Togliere sicuramente rsd_link, wp_generator, wlwmanifest_link e tutto quello di cui non si ha bisogno..<\/p>\n<p>Oppure aggiungere le seguenti righe all&#8217;inizio del file functions.php del vostro tema <b>WordPress<\/b>:<\/p>\n<div class=\"comandi\">\n<blockquote>\n<pre>remove_action('wp_head', 'wp_generator');\nremove_action('wp_head', 'rsd_link');\nremove_action('wp_head', 'wlwmanifest_link');\nadd_filter('the_generator', 'remove_generator');\nadd_filter('wp_headers', 'remove_x_pingback');\n<\/pre>\n<\/blockquote>\n<\/div>\n<h3>7.2 Nascondere le traccie nel codice<\/h3>\n<p>Nascondere ogni traccia della cartella che abbiamo cambiato precedentemente ( wp-content ) nel codice html e rimuovere gli script inutili. Editare manualmente il fiele header.php nella cartella del tema <b>WordPress<\/b> che si sta usando, wp-content\/themes\/twentyseventeen per esempio, e togliere quello che non serve. La URL del file CSS la impostiamo manualmente e spostiamo il file nella nuova destinazione. Fare la stessa cosa con gli script.<\/p>\n<h3>7.3 Cambiare la cartella per gli uploads in WordPress<\/h3>\n<p>Se si ha rinominato la cartella wp-content, si vorr\u00e0 sicuramente fare in modo che il nuovo nome rimanga segreto. Per fare ci\u00f2 aggiungere le seguenti righe all&#8217;inizio del file wp-config.php:<\/p>\n<div class=\"comandi\">\n<blockquote>\n<pre>define( 'UPLOADS', 'grafica' );\n<\/pre>\n<\/blockquote>\n<\/div>\n<p>In questo modo i file verranno &#8220;uploadati&#8221; in un altra cartella &#8211; non wp-content &#8211; e quindi non si potr\u00e0 ottenere questa informazione guardando nel codice html.<\/p>\n<h2>8. Sicurezza WordPress &#8211; SQL Injection &amp; URL Hacking<\/h2>\n<p><b>WordPress<\/b> \u00e8 una applicazione scritta in PHP che fa uso di un database (MySQL). Queste due caratteristiche potrebbero rendere <b>WordPress<\/b> vulnerabile ad attacchi tramite URL modificate. Le URL modificate potrebbero venire usate in modo da eseguire comandi sul server, aggiungere e modificare qualcosa nella banca dati, scaricare i files \/etc\/passwd e \/etc\/shadow e altro.<\/p>\n<p>SQL injection \u00e8 un tipo di attacco in cui l'&#8221;hacker&#8221; tenta di aggiungere dei comandi nella URL cos\u00ec da manipolare i dati e altro. Aggiungendo delle regole al file .htaccess che deviano tutte le richieste che contengono comandi SQL e altri usati per svolgere attacchi, abbiamo risolto il problema. Ecco il codice:<\/p>\n<div class=\"comandi\">\n<blockquote>\n<pre>RewriteEngine On\nRewriteBase \/\nRewriteCond %{REQUEST_METHOD} ^(HEAD|TRACE|DELETE|TRACK) [NC]\nRewriteCond %{QUERY_STRING} \\.\\.\\\/ [NC,OR]\nRewriteCond %{QUERY_STRING} ^.*\\.(bash|git|hg|log|svn|swp|cvs) [NC,OR]\nRewriteCond %{QUERY_STRING} etc\/passwd [NC,OR]\nRewriteCond %{QUERY_STRING} boot\\.ini [NC,OR]\nRewriteCond %{QUERY_STRING} ftp\\: [NC,OR]\nRewriteCond %{QUERY_STRING} http\\: [NC,OR]\nRewriteCond %{QUERY_STRING} https\\: [NC,OR]\nRewriteCond %{QUERY_STRING} (\\&lt;|%3C).*script.*(\\&gt;|%3E) [NC,OR]\nRewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [NC,OR]\nRewriteCond %{QUERY_STRING} base64_encode.*\\(.*\\) [NC,OR]\nRewriteCond %{QUERY_STRING} ^.*(\\[|\\]|\\(|\\)|&lt;|&gt;|\u00ea|\"|;|\\?|\\*|=$).* [NC,OR]\nRewriteCond %{QUERY_STRING} ^.*(\"|'|&lt;|&gt;|\\|{||).* [NC,OR]\nRewriteCond %{QUERY_STRING} ^.*(%24&amp;x).* [NC,OR]\nRewriteCond %{QUERY_STRING} ^.*(%0|%A|%B|%C|%D|%E|%F|127\\.0).* [NC,OR]\nRewriteCond %{QUERY_STRING} ^.*(globals|encode|localhost|loopback).* [NC,OR]\nRewriteCond %{QUERY_STRING} ^.*(request|select|concat|insert|union|declare).* [NC]\nRewriteCond %{QUERY_STRING} !^loggedout=true\nRewriteCond %{QUERY_STRING} !^action=rp\nRewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$\nRewriteCond %{HTTP_REFERER} !^http:\/\/maps\\.googleapis\\.com(.*)$\nRewriteRule ^(.*)$ - [F,L]\n<\/pre>\n<\/blockquote>\n<\/div>\n<h2>9. Negare l&#8217;accesso ai dati sensibili di WordPress<\/h2>\n<p>Una tipica installazione <b>WordPress<\/b> contiene vari file come anche gli script di configurazione e installazione, il file readme.html e altri. Questi file rivelano informazioni che potrebbero venire usate per svolgere un attacco al Blog. Un attacker potrebbe usare un bug di un qualche plugin installato e usare un qualche exploit. O potrebbe provare i conosciuti exploit su una detarminata versione di <b>WordPress<\/b>.<\/p>\n<p>Oltre a questi file negare l&#8217;accesso al file .htaccess.<\/p>\n<p>Inserire il seguente codice nel proprio .htaccess o modificare il file di configurazione di <b>Apache<\/b> ( httpd.conf ):<\/p>\n<div class=\"comandi\">\n<blockquote>\n<pre>&lt;files .htaccess&gt;\nOrder allow,deny\nDeny from all\n&lt;\/files&gt;\n&lt;files readme.html&gt;\nOrder allow,deny\nDeny from all\n&lt;\/files&gt;\n&lt;files license.txt&gt;\nOrder allow,deny\nDeny from all\n&lt;\/files&gt;\n&lt;files install.php&gt;\nOrder allow,deny\nDeny from all\n&lt;\/files&gt;\n&lt;files wp-config.php&gt;\nOrder allow,deny\nDeny from all\n&lt;\/files&gt;\n<\/pre>\n<\/blockquote>\n<\/div>\n<h2>10. Cambiare le chiavi di autentificazione di WordPress<\/h2>\n<p>Le chiavi di autentificazione <b>WordPress<\/b> vengono usate per la sicurezza nel momento dell&#8217;autentificazione tramite cookies. In poche parole vengono ustate per crittografare le informazioni trasmesse tramite cookies. Cambiando ogni tanto queste chiavi si avr\u00e0 maggiore sicurezza.<\/p>\n<p>Per cambiare le chiavi editare il file <b>wp-config.php<\/b>.<\/p>\n<div class=\"comandi\">\n<blockquote>\n<pre>#vi wp-config.php\n<\/pre>\n<\/blockquote>\n<\/div>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"..\/..\/grafica\/secret-keys-wordpress.jpg\" alt=\"Wordpress Secret keys\"><\/p>\n<p>Come si vede nell&#8217;immagine dalla riga 51 alla 58 ci sono delle chiavi. Quello che dobbiamo fare \u00e8 sostiturle con qualcosa d&#8217;altro di nuovo.<\/p>\n<p>Per generarne di nuove si potrebbe usare il seguente tool: <a title=\"Tool per generare le secret keys di WordPress\" href=\"https:\/\/api.wordpress.org\/secret-key\/1.1\/salt\/\" target=\"_blank\" rel=\"noopener\">Tool per generare le secret keys di WordPress<\/a>.<\/p>\n<p><img decoding=\"async\" src=\"..\/..\/grafica\/secretkeysgenerator.jpg\" alt=\"Wordpress Secret keys generator\"><\/p>\n<p>Ora sostituire le chiavi presenti con quelle appena generate e salvare il file.<\/p>\n<h2>11. Cambiare il prefisso delle tabelle di WordPress<\/h2>\n<p>Se non l&#8217;avete gi\u00e0 fatto durante l&#8217;installazione cambiare i prefissi delle tabelle del database. Per cambiare il prefisso delle tabelle bisogna prima saperne il nome, poi, con il comando RENAME, rinominarle. Prima di iniziare consiglio vivamente di effettuare un backup.<\/p>\n<p>Accedere alla banca dati ed eseguire i seguenti comandi.<\/p>\n<div class=\"comandi\">\n<blockquote>\n<pre>#mysql -u root -p\nmysql&gt;use chitblog\nDatabase changed\nmysql&gt; show tables;\n+------------------------------------+\n| Tables_in_chitblog\n+------------------------------------+\n| wp_commentmeta               | \n| wp_comments                  | \n| wp_links                     | \n| wp_options                   | \n| wp_postmeta                  | \n| wp_posts                     | \n| wp_term_relationships        | \n| wp_term_taxonomy             | \n| wp_terms                     | \n| wp_usermeta                  | \n| wp_users                     | \n+------------------------------------+\n\n13 rows in set (0.00 sec)\n<\/pre>\n<\/blockquote>\n<\/div>\n<div class=\"comandi\">\n<blockquote>\n<pre>mysql&gt;RENAME TABLE wp_commentmeta TO chitblog_commentmeta, wp_comments TO chitblog_comments, wp_links TO chitblog_links, wp_options TO chitblog_options, wp_postmeta TO chitblog_postmeta, wp_posts TO chitblog_posts, wp_term_relationships TO chitblog_term_relationships, wp_term_taxonomy TO chitblog_term_taxonomy, wp_terms TO chitblog_terms, wp_usermeta TO chitblog_usermeta, wp_users TO chitblog_users;\n<\/pre>\n<\/blockquote>\n<\/div>\n<p>Una volta rinominate le tabelle editare il file <b>wp-config.php<\/b>, cercare la variabile $table_prefix e assegnarle un diverso valore: &#8220;chitblog_&#8221; al posto di &#8220;wp_&#8221;.<\/p>\n<h2>12. Disabilitare l&#8217;ETag<\/h2>\n<p>Editare il file httpd.conf e aggiungere le seguenti righe alla fine del file:<\/p>\n<div class=\"comandi\">\n<blockquote>\n<pre>Header unset ETag\nFileETag None<\/pre>\n<\/blockquote>\n<\/div>\n<p><a href=\"..\/..\/..\/la-perfetta-installazione-wordpress-sul-tuo-server-tuning\" title=\"Guida in italiano sul come velocizzare WordPress\">Guida in italiano sul come velocizzare WordPress<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Limitare l&#8217;accesso a wp-admin tramite indirizzo IP Limitare l&#8217;accesso alla cartella &#8220;wp-admin&#8221; tramite indirizzo IP aggiungendo le seguenti righe nel file httpd.conf: &lt;Directory \/unacartella\/chitblog\/wp-admin\/&gt; Require ip xxx.xxx.xxx.xxx &lt;\/Directory&gt; Con le seguenti direttive si ottiene che solo l&#8217;utente con l&#8217;indirizzo IP XXX.XXX.XXX.XXX pu\u00f2 accedere all&#8217;area d&#8217;amministrazione di WordPress. Se non si possiede un indirizzo IP&#8230;<\/p>\n<p class=\"more-link-wrap\"><a href=\"https:\/\/christeninformatica.ch\/it\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/\" class=\"more-link\">Read More<span class=\"screen-reader-text\"> &ldquo;La perfetta installazione WordPress  &#8211; Sicurezza&rdquo;<\/span> &raquo;<\/a><\/p>","protected":false},"author":5,"featured_media":1850,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49,144],"tags":[241,18,24,21,10,22,113,23,12,240,17,20,16,11,2],"class_list":["post-228","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sicurezza-informatica-anonimato","category-articoli-wordpress","tag-area-damministrazione","tag-brute-force","tag-configurare","tag-exploit","tag-guida","tag-hacked","tag-hacking","tag-installare","tag-italiano","tag-ithemes-security","tag-login","tag-security","tag-sicurezza","tag-tutorial","tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>La perfetta installazione Wordpress - Sicurezza &#8226; CHIT<\/title>\n<meta name=\"description\" content=\"Guida in italiano sulla sicurezza WordPress.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/christeninformatica.ch\/it\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/\" \/>\n<meta property=\"og:locale\" content=\"it_IT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"La perfetta installazione Wordpress - Sicurezza &#8226; CHIT\" \/>\n<meta property=\"og:description\" content=\"Guida in italiano sulla sicurezza WordPress.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/christeninformatica.ch\/it\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/\" \/>\n<meta property=\"og:site_name\" content=\"CHIT\" \/>\n<meta property=\"article:published_time\" content=\"2018-02-28T13:53:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-15T11:33:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/christeninformatica.ch\/media\/wordpress.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"650\" \/>\n\t<meta property=\"og:image:height\" content=\"341\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"chitblog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"chitblog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minuti\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/christeninformatica.ch\\\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/christeninformatica.ch\\\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\\\/\"},\"author\":{\"name\":\"chitblog\",\"@id\":\"https:\\\/\\\/christeninformatica.ch\\\/#\\\/schema\\\/person\\\/b0952e900860b424a6b0906f1d6a0a64\"},\"headline\":\"La perfetta installazione WordPress &#8211; Sicurezza\",\"datePublished\":\"2018-02-28T13:53:23+00:00\",\"dateModified\":\"2022-08-15T11:33:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/christeninformatica.ch\\\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\\\/\"},\"wordCount\":1271,\"commentCount\":3,\"image\":{\"@id\":\"https:\\\/\\\/christeninformatica.ch\\\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/christeninformatica.ch\\\/media\\\/wordpress.jpg\",\"keywords\":[\"area d'amministrazione\",\"brute force\",\"configurare\",\"exploit\",\"guida\",\"hacked\",\"hacking\",\"installare\",\"italiano\",\"iThemes Security\",\"Login\",\"security\",\"Sicurezza\",\"tutorial\",\"Wordpress\"],\"articleSection\":[\"Sicurezza \\\/ Anonimato\",\"WordPress\"],\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/christeninformatica.ch\\\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/christeninformatica.ch\\\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\\\/\",\"url\":\"https:\\\/\\\/christeninformatica.ch\\\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\\\/\",\"name\":\"La perfetta installazione Wordpress - Sicurezza &#8226; CHIT\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/christeninformatica.ch\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/christeninformatica.ch\\\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/christeninformatica.ch\\\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/christeninformatica.ch\\\/media\\\/wordpress.jpg\",\"datePublished\":\"2018-02-28T13:53:23+00:00\",\"dateModified\":\"2022-08-15T11:33:16+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/christeninformatica.ch\\\/#\\\/schema\\\/person\\\/b0952e900860b424a6b0906f1d6a0a64\"},\"description\":\"Guida in italiano sulla sicurezza WordPress.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/christeninformatica.ch\\\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\\\/#breadcrumb\"},\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/christeninformatica.ch\\\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/christeninformatica.ch\\\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/christeninformatica.ch\\\/media\\\/wordpress.jpg\",\"contentUrl\":\"https:\\\/\\\/christeninformatica.ch\\\/media\\\/wordpress.jpg\",\"width\":650,\"height\":341},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/christeninformatica.ch\\\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/christeninformatica.ch\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"La perfetta installazione WordPress &#8211; Sicurezza\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/christeninformatica.ch\\\/#website\",\"url\":\"https:\\\/\\\/christeninformatica.ch\\\/\",\"name\":\"CHIT\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/christeninformatica.ch\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"it-IT\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/christeninformatica.ch\\\/#\\\/schema\\\/person\\\/b0952e900860b424a6b0906f1d6a0a64\",\"name\":\"chitblog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/321ffb3802ecc0a2fc461c52e31fbbabb19873df19bfb793c8e64c6a0cc49313?s=96&d=identicon&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/321ffb3802ecc0a2fc461c52e31fbbabb19873df19bfb793c8e64c6a0cc49313?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/321ffb3802ecc0a2fc461c52e31fbbabb19873df19bfb793c8e64c6a0cc49313?s=96&d=identicon&r=g\",\"caption\":\"chitblog\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"La perfetta installazione Wordpress - Sicurezza &#8226; CHIT","description":"Guida in italiano sulla sicurezza WordPress.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/christeninformatica.ch\/it\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/","og_locale":"it_IT","og_type":"article","og_title":"La perfetta installazione Wordpress - Sicurezza &#8226; CHIT","og_description":"Guida in italiano sulla sicurezza WordPress.","og_url":"https:\/\/christeninformatica.ch\/it\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/","og_site_name":"CHIT","article_published_time":"2018-02-28T13:53:23+00:00","article_modified_time":"2022-08-15T11:33:16+00:00","og_image":[{"width":650,"height":341,"url":"https:\/\/christeninformatica.ch\/media\/wordpress.jpg","type":"image\/jpeg"}],"author":"chitblog","twitter_card":"summary_large_image","twitter_misc":{"Written by":"chitblog","Est. reading time":"13 minuti"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/christeninformatica.ch\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/#article","isPartOf":{"@id":"https:\/\/christeninformatica.ch\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/"},"author":{"name":"chitblog","@id":"https:\/\/christeninformatica.ch\/#\/schema\/person\/b0952e900860b424a6b0906f1d6a0a64"},"headline":"La perfetta installazione WordPress &#8211; Sicurezza","datePublished":"2018-02-28T13:53:23+00:00","dateModified":"2022-08-15T11:33:16+00:00","mainEntityOfPage":{"@id":"https:\/\/christeninformatica.ch\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/"},"wordCount":1271,"commentCount":3,"image":{"@id":"https:\/\/christeninformatica.ch\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/#primaryimage"},"thumbnailUrl":"https:\/\/christeninformatica.ch\/media\/wordpress.jpg","keywords":["area d'amministrazione","brute force","configurare","exploit","guida","hacked","hacking","installare","italiano","iThemes Security","Login","security","Sicurezza","tutorial","Wordpress"],"articleSection":["Sicurezza \/ Anonimato","WordPress"],"inLanguage":"it-IT","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/christeninformatica.ch\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/christeninformatica.ch\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/","url":"https:\/\/christeninformatica.ch\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/","name":"La perfetta installazione Wordpress - Sicurezza &#8226; CHIT","isPartOf":{"@id":"https:\/\/christeninformatica.ch\/#website"},"primaryImageOfPage":{"@id":"https:\/\/christeninformatica.ch\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/#primaryimage"},"image":{"@id":"https:\/\/christeninformatica.ch\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/#primaryimage"},"thumbnailUrl":"https:\/\/christeninformatica.ch\/media\/wordpress.jpg","datePublished":"2018-02-28T13:53:23+00:00","dateModified":"2022-08-15T11:33:16+00:00","author":{"@id":"https:\/\/christeninformatica.ch\/#\/schema\/person\/b0952e900860b424a6b0906f1d6a0a64"},"description":"Guida in italiano sulla sicurezza WordPress.","breadcrumb":{"@id":"https:\/\/christeninformatica.ch\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/#breadcrumb"},"inLanguage":"it-IT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/christeninformatica.ch\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/"]}]},{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/christeninformatica.ch\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/#primaryimage","url":"https:\/\/christeninformatica.ch\/media\/wordpress.jpg","contentUrl":"https:\/\/christeninformatica.ch\/media\/wordpress.jpg","width":650,"height":341},{"@type":"BreadcrumbList","@id":"https:\/\/christeninformatica.ch\/la-perfetta-installazione-wordpress-sul-tuo-server-sicurezza-parte-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/christeninformatica.ch\/"},{"@type":"ListItem","position":2,"name":"La perfetta installazione WordPress &#8211; Sicurezza"}]},{"@type":"WebSite","@id":"https:\/\/christeninformatica.ch\/#website","url":"https:\/\/christeninformatica.ch\/","name":"CHIT","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/christeninformatica.ch\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"it-IT"},{"@type":"Person","@id":"https:\/\/christeninformatica.ch\/#\/schema\/person\/b0952e900860b424a6b0906f1d6a0a64","name":"chitblog","image":{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/secure.gravatar.com\/avatar\/321ffb3802ecc0a2fc461c52e31fbbabb19873df19bfb793c8e64c6a0cc49313?s=96&d=identicon&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/321ffb3802ecc0a2fc461c52e31fbbabb19873df19bfb793c8e64c6a0cc49313?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/321ffb3802ecc0a2fc461c52e31fbbabb19873df19bfb793c8e64c6a0cc49313?s=96&d=identicon&r=g","caption":"chitblog"}}]}},"_links":{"self":[{"href":"https:\/\/christeninformatica.ch\/it\/wp-json\/wp\/v2\/posts\/228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/christeninformatica.ch\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/christeninformatica.ch\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/christeninformatica.ch\/it\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/christeninformatica.ch\/it\/wp-json\/wp\/v2\/comments?post=228"}],"version-history":[{"count":0,"href":"https:\/\/christeninformatica.ch\/it\/wp-json\/wp\/v2\/posts\/228\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/christeninformatica.ch\/it\/wp-json\/wp\/v2\/media\/1850"}],"wp:attachment":[{"href":"https:\/\/christeninformatica.ch\/it\/wp-json\/wp\/v2\/media?parent=228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/christeninformatica.ch\/it\/wp-json\/wp\/v2\/categories?post=228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/christeninformatica.ch\/it\/wp-json\/wp\/v2\/tags?post=228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}