For sharing with other Macs, there is a program called Share Points that will let you customize this stuff on OS X Client. I would imagine that the process for sharing over SMB is either identical or very similar.
If Share Points doesn't do the trick for a PC, you can look into some of the open source alternatives to control Samba.