Public shares

Trying to config a share that will be available to anyone. Every time I try
to access it, it prompts me for a user name and password? I would like to
limit access to the share only by the IP address of the machine mapping the
drive. How should I configure this in the smb.conf?
Mark Orndorff