Share Drive with user permissions between Azure Virtual Machines











up vote
0
down vote

favorite












I am currently looking into mapping multiple VMs in Azure with a local redundant storage account as a shared drive. So far, this is not the problem.



What I know and want until this point is explained here:



https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-create-file-share



https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows



But now I am using an on-premise AD where those machines are connected and joined into a domain. When a user logs in I would like to have that the mapped drive of the storage account always only shows the files that belong to that user. Currently I would understand that any user using the mapped drive would be able to see files of all user.



Can I achieve the requirement above with storage accounts and Azure VMs (with windows 10 / W Server 2016 at least)? If not is there a approach where I could achieve this without too much overload?










share|improve this question


























    up vote
    0
    down vote

    favorite












    I am currently looking into mapping multiple VMs in Azure with a local redundant storage account as a shared drive. So far, this is not the problem.



    What I know and want until this point is explained here:



    https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-create-file-share



    https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows



    But now I am using an on-premise AD where those machines are connected and joined into a domain. When a user logs in I would like to have that the mapped drive of the storage account always only shows the files that belong to that user. Currently I would understand that any user using the mapped drive would be able to see files of all user.



    Can I achieve the requirement above with storage accounts and Azure VMs (with windows 10 / W Server 2016 at least)? If not is there a approach where I could achieve this without too much overload?










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am currently looking into mapping multiple VMs in Azure with a local redundant storage account as a shared drive. So far, this is not the problem.



      What I know and want until this point is explained here:



      https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-create-file-share



      https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows



      But now I am using an on-premise AD where those machines are connected and joined into a domain. When a user logs in I would like to have that the mapped drive of the storage account always only shows the files that belong to that user. Currently I would understand that any user using the mapped drive would be able to see files of all user.



      Can I achieve the requirement above with storage accounts and Azure VMs (with windows 10 / W Server 2016 at least)? If not is there a approach where I could achieve this without too much overload?










      share|improve this question













      I am currently looking into mapping multiple VMs in Azure with a local redundant storage account as a shared drive. So far, this is not the problem.



      What I know and want until this point is explained here:



      https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-create-file-share



      https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows



      But now I am using an on-premise AD where those machines are connected and joined into a domain. When a user logs in I would like to have that the mapped drive of the storage account always only shows the files that belong to that user. Currently I would understand that any user using the mapped drive would be able to see files of all user.



      Can I achieve the requirement above with storage accounts and Azure VMs (with windows 10 / W Server 2016 at least)? If not is there a approach where I could achieve this without too much overload?







      azure virtual-machine azure-storage






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 22 at 12:42









      Sebastian Schütze

      1178




      1178
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          You probably want to take a look at Azure File Sync.



          Azure File Sync replicates files from your on-premises Windows Server to an Azure file share. With Azure File Sync, you don’t have to choose between the benefits of cloud and the benefits of your on-premises file server - you can have both! Azure File Sync enables you to centralize your file services in Azure while maintaining local access to your data.






          share|improve this answer





















          • That means I do not map the storage account directly to the OS in the VM, but instead I use Azure file share, that syncs and connects both resources?
            – Sebastian Schütze
            Nov 26 at 16:26










          • yeah, like that
            – 4c74356b41
            Nov 26 at 16:29











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53431289%2fshare-drive-with-user-permissions-between-azure-virtual-machines%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote



          accepted










          You probably want to take a look at Azure File Sync.



          Azure File Sync replicates files from your on-premises Windows Server to an Azure file share. With Azure File Sync, you don’t have to choose between the benefits of cloud and the benefits of your on-premises file server - you can have both! Azure File Sync enables you to centralize your file services in Azure while maintaining local access to your data.






          share|improve this answer





















          • That means I do not map the storage account directly to the OS in the VM, but instead I use Azure file share, that syncs and connects both resources?
            – Sebastian Schütze
            Nov 26 at 16:26










          • yeah, like that
            – 4c74356b41
            Nov 26 at 16:29















          up vote
          1
          down vote



          accepted










          You probably want to take a look at Azure File Sync.



          Azure File Sync replicates files from your on-premises Windows Server to an Azure file share. With Azure File Sync, you don’t have to choose between the benefits of cloud and the benefits of your on-premises file server - you can have both! Azure File Sync enables you to centralize your file services in Azure while maintaining local access to your data.






          share|improve this answer





















          • That means I do not map the storage account directly to the OS in the VM, but instead I use Azure file share, that syncs and connects both resources?
            – Sebastian Schütze
            Nov 26 at 16:26










          • yeah, like that
            – 4c74356b41
            Nov 26 at 16:29













          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          You probably want to take a look at Azure File Sync.



          Azure File Sync replicates files from your on-premises Windows Server to an Azure file share. With Azure File Sync, you don’t have to choose between the benefits of cloud and the benefits of your on-premises file server - you can have both! Azure File Sync enables you to centralize your file services in Azure while maintaining local access to your data.






          share|improve this answer












          You probably want to take a look at Azure File Sync.



          Azure File Sync replicates files from your on-premises Windows Server to an Azure file share. With Azure File Sync, you don’t have to choose between the benefits of cloud and the benefits of your on-premises file server - you can have both! Azure File Sync enables you to centralize your file services in Azure while maintaining local access to your data.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 22 at 12:51









          4c74356b41

          23.6k32050




          23.6k32050












          • That means I do not map the storage account directly to the OS in the VM, but instead I use Azure file share, that syncs and connects both resources?
            – Sebastian Schütze
            Nov 26 at 16:26










          • yeah, like that
            – 4c74356b41
            Nov 26 at 16:29


















          • That means I do not map the storage account directly to the OS in the VM, but instead I use Azure file share, that syncs and connects both resources?
            – Sebastian Schütze
            Nov 26 at 16:26










          • yeah, like that
            – 4c74356b41
            Nov 26 at 16:29
















          That means I do not map the storage account directly to the OS in the VM, but instead I use Azure file share, that syncs and connects both resources?
          – Sebastian Schütze
          Nov 26 at 16:26




          That means I do not map the storage account directly to the OS in the VM, but instead I use Azure file share, that syncs and connects both resources?
          – Sebastian Schütze
          Nov 26 at 16:26












          yeah, like that
          – 4c74356b41
          Nov 26 at 16:29




          yeah, like that
          – 4c74356b41
          Nov 26 at 16:29


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53431289%2fshare-drive-with-user-permissions-between-azure-virtual-machines%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

          Calculate evaluation metrics using cross_val_predict sklearn

          Insert data from modal to MySQL (multiple modal on website)