I got into a situaltion where I have three VMs in azure which are part of same workgroup. I got a requirement whrere I need to copy files in a shared folder in one of the VMs and from the other two VMs via an ASP.NET application. These two VMs are webservers and accessed via load balancer. The problem here is that they are not in a domain.
I referred How to set shared files permission across a network? and accordingly created user on all three servers with same credentials and impersonated the asp.net application with same user but that is not behaving as expected in all scenarios. Although it does work in some situation for small files.
Fundamentally I find the provided solution is wrong because if we create local users with same credentials on multiple machines (even in a workgroup) then also that user should not be able to access the folder on different machine.
Please help in following two points
1- I have a local user with same credential on all three VMs which I used to login. I gave the full rights to the user on shared folder. I am able to browse the folder and do all operations(Create\Edit\Delete) from any of the VMs. So I think it should work as discussed above. Suggestion please.
2- Any other approach for to handle this scenario.