{"id":1058,"date":"2012-01-13T22:04:53","date_gmt":"2012-01-13T20:04:53","guid":{"rendered":"http:\/\/blog.sfsoft.it\/?p=1058"},"modified":"2012-01-13T22:08:14","modified_gmt":"2012-01-13T20:08:14","slug":"gestire-le-condivisioni-di-rete-su-windows-tramite-net-share","status":"publish","type":"post","link":"http:\/\/www.sfsoft.it\/blog\/2012\/01\/13\/gestire-le-condivisioni-di-rete-su-windows-tramite-net-share\/","title":{"rendered":"Gestire le condivisioni di rete su Windows tramite NET SHARE"},"content":{"rendered":"<p>Oltre alle procedure di condivisione delle cartelle dall&#8217;interfaccia grafica \u00e8 possibile gestirle anche tramite il comando NET SHARE.<\/p>\n<p>La sintassi \u00e8 la seguente:<\/p>\n<pre parse=\"no\">NET SHARE\r\nsharename\r\n          sharename=drive:path [\/GRANT:user,[READ | CHANGE | FULL]]\r\n                               [\/USERS:number | \/UNLIMITED]\r\n                               [\/REMARK:\"text\"]\r\n                               [\/CACHE:Manual | Documents| Programs | None ]\r\n          sharename [\/USERS:number | \/UNLIMITED]\r\n                    [\/REMARK:\"text\"]\r\n                    [\/CACHE:Manual | Documents | Programs | None]\r\n          {sharename | devicename | drive:path} \/DELETE\r\n          sharename \\\\computername \/DELETE<\/pre>\n<p>Per esempio possiamo dare il comando:<\/p>\n<pre parse=\"no\">NET SHARE CONDIVISA=C:\\CONDIVISA \/GRANT:Everyone,READ \/GRANT:Pippo,FULL<\/pre>\n<p>Che tradotto indica di creare una condivisione di nome CONDIVISA che punta alla cartella locale in C:\\CONDIVISA assegnando permessi in sola lettura a tutti gli utenti mentre controllo completo all&#8217;utente Pippo.<\/p>\n<p>Nel caso volessimo invece cancellarla basta dare:<\/p>\n<pre parse=\"no\">NET SHARE CONDIVISA \/DELETE<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Oltre alle procedure di condivisione delle cartelle dall&#8217;interfaccia grafica \u00e8 possibile gestirle anche tramite il comando NET SHARE. La sintassi \u00e8 la seguente: NET SHARE sharename sharename=drive:path [\/GRANT:user,[READ | CHANGE | FULL]] [\/USERS:number | \/UNLIMITED] [\/REMARK:&#8221;text&#8221;] [\/CACHE:Manual | Documents| Programs | None ] sharename [\/USERS:number | \/UNLIMITED] [\/REMARK:&#8221;text&#8221;] [\/CACHE:Manual | Documents | Programs | None] [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[15,31],"tags":[16,20,35],"_links":{"self":[{"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/posts\/1058"}],"collection":[{"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/comments?post=1058"}],"version-history":[{"count":5,"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/posts\/1058\/revisions"}],"predecessor-version":[{"id":1063,"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/posts\/1058\/revisions\/1063"}],"wp:attachment":[{"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/media?parent=1058"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/categories?post=1058"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/tags?post=1058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}