I have created a few practical programming assignments for a bachelor's course in computer science, which I'm quite proud of. I'd love for my work to be used anywhere, and for any future teachers or assistants to be able to use/modify/improve my work, while making sure my name remains associated to it. The course's teacher agrees, but wants me to make sure the solutions are prevented from being published. So:
- How could I license the assignments, allowing usage and modification, but keeping my name on the documents?
- Are there licenses that prevent publication of certain parts of the package? Could I license the solutions separately?
EDIT: I might've provided too little information. The work I want to license is a package consisting of three assignments. Each assignment has a LaTeX-/PDF-file and a few Python files. These Python files are a framework, which the students need to complement with their own code. For each assignment there is also a reference implementation (what I called solutions earlier).
Anything from the package can freely be distributed and edited, as long as my name stays associated with it. However, the reference implementations may never be shared publicly. This is mainly targeted at future teaching assistants. There might always be those that budge under the pressure of students asking to share the reference implementations. Of course I cannot (realistically) prevent students from sharing their solutions, but the university can always call in students how do so and ask them to remove their solutions from the web (it happened to me a few times).