{"id":12664,"date":"2019-11-16T12:15:00","date_gmt":"2019-11-16T11:15:00","guid":{"rendered":"http:\/\/www.defaultuser.net\/?p=12664"},"modified":"2019-11-16T12:25:18","modified_gmt":"2019-11-16T11:25:18","slug":"nascondere-le-cartelle-condivise-agli-utenti","status":"publish","type":"post","link":"https:\/\/www.defaultuser.net\/?p=12664","title":{"rendered":"Nascondere le cartelle condivise agli utenti"},"content":{"rendered":"\n<p>Quando si implementano le cartelle condivise e&#8217; buona prassi ragionare anche in termini di sicurezza di accesso alle stesse.<\/p>\n\n\n\n<p>A me piace pensare che un utente possa vedere solo quello che gli spetta. Di base, in ambiente Windows il server mostra all&#8217;utente tutte le cartelle condivise, anche quelle in cui non puo&#8217; accedere. <\/p>\n\n\n\n<p><strong>Cosa succede?<\/strong><\/p>\n\n\n\n<p>Normalmente l&#8217;utente clicca sulle cartelle ricevendo un messaggio di errore e fin qui tutto okay, il sistema sta&#8217; facendo il suo lavoro.<\/p>\n\n\n\n<p><strong>Ma?<\/strong><\/p>\n\n\n\n<p>Non sarebbe meglio evitare che l&#8217;utente non possa anche solo vedere che esistano delle cartelle alle quali non ha nessun diritto di accesso?<\/p>\n\n\n\n<p><strong>Come si fa?<\/strong><\/p>\n\n\n\n<p>Per nascondere le cartelle condivise agli utenti che non rientrano nella scheda Sicurezza bisogna abilitare  l&#8217;Access Based Enumeration (ABE).<\/p>\n\n\n\n<p>Apr il <strong>Server Manager<\/strong>, vai su <strong>Servizi file e archiviazione<\/strong> poi nella sezione  <strong>Condivisioni<\/strong>,  fai proprieta&#8217; sulla cartella desiderata e spunta la casella <strong>Abilita enumerazione basata sull&#8217;accesso<\/strong>.<\/p>\n\n\n\n<p>Fai <strong>Applica<\/strong> e conferma la finestra con <strong>OK<\/strong>. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"361\" data-attachment-id=\"12721\" data-permalink=\"https:\/\/www.defaultuser.net\/?attachment_id=12721\" data-orig-file=\"https:\/\/i0.wp.com\/www.defaultuser.net\/wp-content\/uploads\/2019\/11\/Screenshot_1.png?fit=1005%2C726&amp;ssl=1\" data-orig-size=\"1005,726\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot_1\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.defaultuser.net\/wp-content\/uploads\/2019\/11\/Screenshot_1.png?fit=500%2C361&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.defaultuser.net\/wp-content\/uploads\/2019\/11\/Screenshot_1.png?fit=500%2C361&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.defaultuser.net\/wp-content\/uploads\/2019\/11\/Screenshot_1.png?resize=500%2C361&#038;ssl=1\" alt=\"\" class=\"wp-image-12721\" srcset=\"https:\/\/i0.wp.com\/www.defaultuser.net\/wp-content\/uploads\/2019\/11\/Screenshot_1.png?resize=500%2C361&amp;ssl=1 500w, https:\/\/i0.wp.com\/www.defaultuser.net\/wp-content\/uploads\/2019\/11\/Screenshot_1.png?resize=768%2C555&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.defaultuser.net\/wp-content\/uploads\/2019\/11\/Screenshot_1.png?resize=150%2C108&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.defaultuser.net\/wp-content\/uploads\/2019\/11\/Screenshot_1.png?resize=800%2C578&amp;ssl=1 800w, https:\/\/i0.wp.com\/www.defaultuser.net\/wp-content\/uploads\/2019\/11\/Screenshot_1.png?w=1005&amp;ssl=1 1005w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/figure>\n\n\n\n<p>A questo punto hai abilitato la funzione per questa cartella e da questo momento, chi non ha i diritti per visualizzare eventuali sotto cartelle non le vedra&#8217; proprio anziche&#8217; vederle senza non poterci accedere.<\/p>\n\n\n\n<p>Se hai suggerimenti in merito a questo articolo lascia un tuo commento.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quando si implementano le cartelle condivise e&#8217; buona prassi ragionare anche in termini di sicurezza di accesso alle stesse. A me piace pensare che un utente possa vedere solo quello che gli spetta. Di base, in ambiente Windows il server mostra all&#8217;utente tutte le cartelle condivise, anche quelle in cui non puo&#8217; accedere. Cosa succede?&#8230;<\/p>\n","protected":false},"author":13,"featured_media":12721,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[896,102,261,895],"class_list":["post-12664","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-www-news","tag-abe","tag-sicurezza","tag-sicurezza-dati","tag-windows-server","loop-entry clr"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.defaultuser.net\/wp-content\/uploads\/2019\/11\/Screenshot_1.png?fit=1005%2C726&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.defaultuser.net\/index.php?rest_route=\/wp\/v2\/posts\/12664","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.defaultuser.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.defaultuser.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.defaultuser.net\/index.php?rest_route=\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.defaultuser.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12664"}],"version-history":[{"count":3,"href":"https:\/\/www.defaultuser.net\/index.php?rest_route=\/wp\/v2\/posts\/12664\/revisions"}],"predecessor-version":[{"id":12728,"href":"https:\/\/www.defaultuser.net\/index.php?rest_route=\/wp\/v2\/posts\/12664\/revisions\/12728"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.defaultuser.net\/index.php?rest_route=\/wp\/v2\/media\/12721"}],"wp:attachment":[{"href":"https:\/\/www.defaultuser.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.defaultuser.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.defaultuser.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}