I suppose this is straightforward but can't get a solution for it. When i share a windows folder (server 2012) and set its permissions (share or ntfs) then if someone from the network writes "\\servername\folder" all permissions are applied, but if instead uses the ip address "\\192.168.1.x\folder" windows ignores the permissions and gives access to everyone.
I'm sure it's my mistake somewhere. If anyone have a clue, i'll be thankful.