Possible Duplicate:
Can you help me with my software licensing question?
What is the licensing situation with Small Business Server 2003 and allowing other people and companies to connect and use the services?
I also want to run Windows SharePoing Services (the free version) on there and allow access to this by clients to use as an intranet. Do I need to get additional licensing for this?
Kind Regards
In case you need to allow external users to your server you should use Windows Server 2008 (2003) External Connector (EC) license, as described here, and this covers both scenarios you mentioned.
However you cannot use this license with Small Business Server and it seems there is no similar license for it. Here is the full list of available EC licenses.
Please note: Additional licensing fees might apply if you plan to use Microsoft Office SharePoint 2007 or SQL Server 2005/2008 as database backend.
The rule is that any user that authenticates with your domain requires a Client Access License (CAL). Unfortunately this does limit what you can do with products like SharePoint in terms of providing external access to non-employees.
The EULA also says that you're not supposed to provide services to other companies (i.e. you can't use your license to become a service provider). Microsoft has another type of license for that, called SPLA - Service Provider License Agreement. Under SPLA, you can provide services and you have to report usage to your licensing provider and pay a monthly per-user fee.
What you can do with SharePoint is to provide access using Forms Authentication and using the ASP.Net Profile services. Andrew Connell has some good advice on using forms authentication on his blog.