There are a number of complicated rules and regulations surrounding copyright and IP law. For instance, do you know who owns the copyright to your work when you publish? What exactly constitutes educational purposes? The resources below will help you answer these questions and many more:
Copyright at work, for teaching materials and intellectual property rights.