Yeah, you can use the smb.conf file to restrict access by IP address, and you can also use it to limit access to the shares to only certain users and groups.
I want people to access the server, but only want one ip to hit the smb share on linux from windows
do I edit that under the share setting or the global setting if I only want one ip to hit the share on linux from windows?
thanks in advance guys
I read an interesting way to gain Windows control over files on a linux share recently. Specifically on a linux based NAS that did not have good controls.
Install truecrypt on the windows PC. Create an encrypted large virtual volume file (as large as you need, in my case 750GB) on the linux share that has access limited to the administrator and the windows computer with the virtual volume . Mount the volume in windows as a local drive. Apply NTFS permissions as necessary. The file decryption occurs in RAM so the performance hit is rather very small.
For all purposes you can treat the encrypted volume as a local drive. Think of it as a poor mans iSCSI for devices that don't support iSCSI.
As long as you have the truecrypt password for the volume you can always access that volume from another machine or even a portable version of truecrypt on a flash drive.