Visual Studio Community Source
https://www.visualstudio.com/products/visual-studio-community-vs
An unlimited number of users within an organization can use Visual
Studio Community for the following scenarios: in a classroom learning
environment, for academic research, or for contributing to open source
projects.
For all other usage scenarios: In non-enterprise organizations, up to
five users can use Visual Studio Community. In enterprise
organizations (meaning those with >250 PCs or >$1 Million US Dollars
in annual revenue), no use is permitted beyond the open source,
academic research, and classroom learning environment scenarios
described above.
From http://www.microsoft.com/en-us/download/confirmation.aspx?id=29693
Microsoft® SQL Server® Express License Terms for Redistribution and Hosting
You may not.. disclose the results of any benchmark tests of the
software to any third party without Microsoft’s prior written
approval; • work around any technical limitations in the software;
• reverse engineer, decompile or disassemble the software, except and
only to the extent that applicable law expressly permits, despite this
limitation; • make more copies of the software than specified in this
agreement or allowed by applicable law, despite this limitation;
• publish the software for others to copy; • rent, lease or lend the
software; or • use the software for commercial software hosting
services.