I'm sharing some files between two Windows 7 computers but, even though I checked the "Turn on password protected sharing". At the same time turned off the "Homegroup" function and checked the "use user accounts and passwords" option.
However I never get prompted for a password when trying to access the shared folder.
I explain what I tried with a few examples (only unidirectional because they show the same behavior):
1) UserA on PC2 tries to access share on PC1 on which only UserA of PC1 should have access. The two users (PC1\UserA and PC2\UserA) possess the same password. No login prompt is shown and the user can directly access (read & write) the shared folder.
Strangely the share isn't accessible from "Map network drive" with \\PC1\SharedFolder and login PC1\UserA.
2) UserB on PC2 tries to access share on PC1 on which only UserA of PC1 should have access. No login prompt is shown. A permissions error message is shown with an option to diagnose the situation.
Strangely the share isn't (yet again) accessible from "Map network drive" with \\PC1\SharedFolder and login PC1\UserA.
I can't understand how the remote account used matters when the network file sharing configuration clearly states that it's the local account that needs permissions. Why aren't any login popups showing up asking for password?
Even more disturbing: why doesn't Network mapping work (with the right user credentials!!)?
Additional informations: if I set "Everyone" to "Deny all" in sharing configuration even the authorised user cannot access the share anymore. This is understandable because windows states that if a user belongs to 2 groups, the deny action takes priority over the allow one.
Additionnal details: I'm not really sure to go the Homegroup route to share files and folders. In my network there are also several LINUX/UNIX computers which may pose a problem (but thanks to the arrival of samba4, maybe that's not a problem anymore). I also have some legacy Windows XP computers that would need the legacy network sharing mode. I guess you can't just have both Homegroup ON and Windows XP / LINUX / UNIX support available.