AZURE VM FOLDER ACCESS READ AND WRITE

Amit Kumar 0 Reputation points
2024-01-09T11:10:12.8533333+00:00

I HAVE A REQUIREMENT, WHERE IN I HAVE AZURE WINDOWS VM

I HAVE A C DRIVE

INSIDE C DRIVE I HAVE FOLDER 'CUSTOMERFILES'

INSIDE 'CUSTOMERFILES' FOLDER I HAVE ANOTHER TWO FOLDERS 'CUSTOMERA' AND 'CUSTOMERB'

C:\CUSTOMERFILES\

                           'CUSTOMERA'

                          'CUSTOMERB'

I NEED TO PROVIDE THIS CUSTOMERA AND CUSTOMERB AS A NETWORK SHARE (SHARE THE URL) WHERE IN CUSTOMERA can dump files in their folders. CUSTOMERB will not be able to access customera and vice versa.

how can we achieve this ? any hint

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-01-09T17:51:10.7633333+00:00

    @Amit Kumar

    The easiest solution is likely to use the Windows File Sharing feature. Please try this and let me know if you have any issues:

    1. Create two local user accounts on the VM, one for each customer, and assign them the appropriate permissions on the folders.
    2. Right-click on the folder you want to share and select Properties.
    3. Click on the Sharing tab and then click on the Advanced Sharing button.
    4. Check the Share this folder box and then click on the Permissions button.
    5. Add the two local user accounts you created in step 1 and assign them the appropriate permissions.
    6. Click OK to close the Permissions dialog box.
    7. Click OK to close the Advanced Sharing dialog box.
    8. Click Close to close the Properties dialog box.

    Now, you can share the folders using the Share tab in the folder properties. The URL of the shared folder will be in the format of \\<VM name or IP address>\<share name>. For example, \\VM1\CustomerA.

    Hope this helps! If you have further questions please let me know.


    If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you for helping to improve Microsoft Q&A!

    User's image


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.