Is it legal to create a carbon copy of an application? A couple of days ago, an acquaintance of mine asked for help with an application for his non-profit company. This application was already done previously by people who the client hired previously. He mistakenly hasn't put down a plan to pay them. So they decided to monetize it their own way. They asked him to pay for a set monthly fee as well as some other costs that honestly seem ridiculous to me. I looked at his requierements and set a price for a bunch of user stories which I will run by him later this week to see if he agrees. After the initial deployement I plan on maintaining the application for an hourly fee. So far, he seemed to be content with both the price I proposed the first time we talked about the application and the maintaining fee. The problem is, that he sent me screenshots, basically detailing every single aspect and functionality of the application that was previously created for him. Therefore I have a question. Is it legal for me to basically create a 1 for 1 carbon copy of something that other people have already created and "sell" it for a lower price? P.s. I am also sceptical of the whole debacle that he had with his previous "employees". That's why I am determined to put everything in writing as to prevent any misunderstandings from happening.
The code and the “look” of the user interface is protected by copyright - you can’t duplicate either. You can create your own app with the same functionality.
The first question is whose law you are concerned with, since in principle you might have violated copyright law in any country, and might be sued under the laws of multiple countries. The US has a concept of "fair use" which is notoriously difficult to apply. When you are sued in the US, you can defend against the allegation by arguing certain things: telegraphically, this includes purpose and character of use, nature of the work, substantiality in relation to the whole, and effect on market. Plus there is a 5th factor to be considered, transformativeness. The court then weighs these factors to decide if the use is "fair". By reading existing case law on the topic (conveniently available from the US Copyright office) you might develop a fact-based opinion of the risk: you would be vastly better off hiring an attorney who specializes in US copyright law to do an analysis for you. Do not hire a programmer to give you legal advice (do not hire an attorney to debug code). You would "fail" on the test of substantiality in that you are copying a highly substantial portion of the original work(s). You would "win" on nature of use (research especially non-profit and commentary are the underlying purposes that drive fair use law). It's not clear how you would fare w.r.t. nature of the work, which is intended to distinguish the extremes "news report" and "literature and artistic work" where copying news is at the fair use end of the spectrum. It is not clear how you would fare on "effect on market", but probably not so badly: are you avoiding some licensing fee? Coupled with the tranformativeness consideration, you are most likely having no effect on the market, since the product that you will distribute is not the original work, but a scientific conclusion about the work. Germany has different laws, and this article would be relevant if you cared about Germany. There was a change in the law that expanded the analog of fair use pertaining to research use. That law allows 15 percent of a work to be reproduced, distributed and made available to the public for the purpose of non-commercial scientific research. That, b.t.w., does not refer to what you are planning to do (unless you also publish quotes); for personal scientific research you may reproduce up to 75 percent. Since this is a new law only a year old, you could become part of the cutting edge in testing the limits of the law. So the standard disclaimer applies: ask your attorney. But note section 60d of the law which legalized data mining, and is squarely on point: (1) In order to enable the automatic analysis of large numbers of works (source material) for scientific research, it shall be permissible to reproduce the source material, including automatically and systematically, in order to create, particularly by means of normalisation, structuring and categorisation, a corpus which can be analysed and to make the corpus available to the public for a specifically limited circle of persons for their joint scientific research, as well as to individual third persons for the purpose of monitoring the quality of scientific research. In such cases, the user may only pursue non-commercial purposes. (2) If database works are used pursuant to subsection (1), this shall constitute customary use in accordance with section 55a, first sentence. If insubstantial parts of databases are used pursuant to subsection (1), this shall be deemed consistent with the normal utilisation of the database and with the legitimate interests of the producer of the database within the meaning of section 87b (1), second sentence, and section 87e. (3) Once the research work has been completed, the corpus and the reproductions of the source material shall be deleted; they may no longer be made available to the public. It shall, however, be permissible to transmit the corpus and the reproductions of the source material to the institutions referred to in sections 60e and 60f for the purpose of long-term storage.
As @amon stated in a comment, copyright requires creativity. If the author of a tool wants to claim copyright on the output of that tool, then that output must contain something that required the creativity of the tool author. For a tool that just re-indents its input, the output is created from the input with a mechanical, non-creative, transformation and the output does not contain any creative content that wasn't already present in the input. For that reason, authors of such tools can't claim any copyright on the output. For a tool like bison, which was mentioned in the comments, the output contains a measurable amount of creative content that was not present in the input, but which was provided by the authors of bison. For that reason, the authors of 'bison' do have a copyright claim on the output of the tool (for which they give a broad permission to use). So, the basic question becomes, how much of the (creative) content of the output can be traced back to the tool itself and not to the input that the tool processed. For linters/formatters, that is likely to be very little. For code generators, it can be anywhere between very little and all of the output. The license restrictions on the code produced by the tool itself are by default the same as the license restrictions on the source of the tool, but the tool author can choose to apply any other license to the tool code that ends up in the output. If the output of the tool is, at least in part, dependent on an input file, then the authors of the input file also have a copyright claim on the tool output (as their creative work influenced the output), so the tool author can not claim exclusive ownership. The usual situation is that for tools that don't add creative content to the output, the author explicitly states that the don't have any copyright claims on the output. For tools that do add creative content, that content might be released under very permissive conditions (like, "you can use the output as a whole for any purpose, but you can only separate out the code that comes from the tool's codebase if you adhere to the &lt;X> license")
The software is "work for hire" and the copyright is owned by the client, not you. This is the default rule when copyrightable work is done on this basis in the absence of an agreement to the contrary. To not be "work for hire" you would have had to have a written agreement to the contrary or would have had to written the software before you were engaged by the client and then sold it to the client as an off the shelf finished product. [After further research I have determined that the language above is not accurate.] While you didn't have a written agreement, you did have an agreement reached without committing it to a final written form signed by both parties that is sufficient to cover all of the material terms of the contract and that is a binding and fully performed agreement. UPDATE: The "work for hire" issue is a bit more complex than I initially stated. Here is an American Bar Association summary of the issue in the independent contractor context (there is also a plausible argument that while the parties characterized you as an independent contractor for tax purposes that you were in fact of de facto temporary employee in which case it would automatically be work for hire, but I'll put that issue aside and take it at face value): Under the Copyright Act (17 U.S.C. §§ 101 et seq.), a work is a “work made for hire” only if: (1) it is prepared by an employee within the scope of his employment; or (2) it is specially ordered or commissioned from an independent contractor pursuant to a written agreement and the work falls within one of nine statutorily defined categories. . . . For works created by independent contractors, only the following types of works are eligible to be “works made for hire”: a contribution to a “collective work” (a work, such as a periodical issue, anthology, or encyclopedia, in which a number of contributions, constituting separate and independent works in themselves, are assembled into a collective whole); a part of a motion picture or other audiovisual work; a translation; a “supplementary work” (a work prepared for publication as a secondary adjunct to a work by another author for the purpose of introducing, concluding, illustrating, explaining, revising, commenting upon, or assisting in the use of the other work, such as forewords, afterwords, pictorial illustrations, maps, charts, tables, editorial notes, musical arrangements, answer material for tests, bibliographies, appendixes, and indexes); a “compilation” (a work formed by the collection and assembling of preexisting materials or of data that are selected, coordinated, or arranged in such a way that the resulting work as a whole constitutes an original work of authorship); an “instructional text” (a literary, pictorial, or graphic work prepared for publication and with the purpose of use in systematic instructional activities); a test; answer material for a test; or an atlas. This software is clearly specially ordered or commissioned from an independent contractor. I suspect that if you looked at the course of dealings including the client's specification of what work needed to be done (probably in part by email or in some other written form) that it would meet the requirement of a written agreement even though there wasn't a document called a contract signed by both parties. But, this still begs the question of whether it falls in one of the nine statutory categories. This American Bar Association source says that custom software doesn't qualify. The list above does not include many types of works that businesses frequently hire outside personnel to create, such as websites, logos, advertisements, photography, and custom software. For works that do fall within the defined categories, the business must have a written agreement from the author expressly stating that the work is made for hire for it to qualify as such. Although the agreement and course of dealings between a business and an independent contractor may give rise to an implied license for the business to use the works created by the contractor, it is highly preferable to avoid relying on an implied license. Any business that engages a non-employee to create a work and intends to own the copyright to such work should have a written agreement with the author expressly stating that the work is made for hire (if it falls within one of the eligible categories). If the work is not eligible to be a work made for hire, and for good measure even if it is, the written agreement should include a provision assigning the copyrights to the business. An example of such a provision is: “To the extent that the Work Product is not recognized as a ‘work made for hire’ as a matter of law, the Contractor hereby assigns to the Company any and all copyrights in and to the Work Product.” By including such a copyright assignment clause, a business will be able to obtain the copyrights it expects, even if the work does not qualify as a “work made for hire.” The copyright office's official publication on the subject provides a statutory citation (17 USC 101), and doesn't contradict the ABA presentation, although it is less detailed and specific on the legal issues. This section of the United States Code is a series of definitions. The relevant one states: A “work made for hire” is— (1) a work prepared by an employee within the scope of his or her employment; or (2) a work specially ordered or commissioned for use as a contribution to a collective work, as a part of a motion picture or other audiovisual work, as a translation, as a supplementary work, as a compilation, as an instructional text, as a test, as answer material for a test, or as an atlas, if the parties expressly agree in a written instrument signed by them that the work shall be considered a work made for hire. For the purpose of the foregoing sentence, a “supplementary work” is a work prepared for publication as a secondary adjunct to a work by another author for the purpose of introducing, concluding, illustrating, explaining, revising, commenting upon, or assisting in the use of the other work, such as forewords, afterwords, pictorial illustrations, maps, charts, tables, editorial notes, musical arrangements, answer material for tests, bibliographies, appendixes, and indexes, and an “instructional text” is a literary, pictorial, or graphic work prepared for publication and with the purpose of use in systematic instructional activities. In determining whether any work is eligible to be considered a work made for hire under paragraph (2), neither the amendment contained in section 1011(d) of the Intellectual Property and Communications Omnibus Reform Act of 1999, as enacted by section 1000(a)(9) of Public Law 106-113, nor the deletion of the words added by that amendment— (A) shall be considered or otherwise given any legal significance, or (B) shall be interpreted to indicate congressional approval or disapproval of, or acquiescence in, any judicial determination, by the courts or the Copyright Office. Paragraph (2) shall be interpreted as if both section 2(a)(1) of the Work Made for Hire and Copyright Corrections Act of 2000 and section 1011(d) of the Intellectual Property and Communications Omnibus Reform Act of 1999, as enacted by section 1000(a)(9) of Public Law 106-113, were never enacted, and without regard to any inaction or awareness by the Congress at any time of any judicial determinations.
It's complicated You still own your own posts First off, you own everything that you originally created. Posting it on Stack Exchange doesn't affect your rights to your own content. Incorporating suggestions If you copy any of the text from posts that were created by others, you must comply with the CC BY-SA license. The exact version will depend on when the content was posted, and can be viewed by clicking the &quot;Share&quot; link or viewing the post's timeline via the clock icon on the left. Currently, new posts are licensed under CC BY-SA 4.0, which requires you to (basically) provide attribution with the creator's name, a link back to the content, and an indication of whether changes were made. A more detailed description of the exact requirements is here. You would also be required to license the work that you incorporated it into under the same license. However, game mechanics aren't copyrightable. If you merely used mechanics suggested in the posts without actually using the actual creative expression (for instance, names or description text) from the posts, you would not be required to provide any attribution or use any particular license, because you didn't use any copyrightable material from the post. A thank-you would still be nice All that said, it's still a nice thing to do to provide some sort of informal thanks to those who provided valuable assistance, even when you're not legally required to do so.
You ask permission, preferably with legal counsel to handle the details. It really is that simple. Unsurprisingly, most companies don't want to give their code away- especially to a competitor. If you even get a response, they will expect something in return i.e. money. Realistically though, it's unlikely they will respond, much less deal with you.
All your work is yours. They've made it very clear it wasn't a work for hire, so it's yours. They can't copyright any of their ideas. You can't copyright an idea. Only specific creative elements authored by them and present in your work could be covered by copyright. You didn't use their block diagrams. I don't see how references to other sites to look at would constitute a creative element they authored. That said, you probably want to talk to a lawyer and get a written legal opinion that you can rely on.
The general rule is that the author of the software owns the copyright, so that would be the student. This is regardless of whether the student writes the code for fun, or for a thesis. If a student is hired to write that code, then it kind of depends on the university rules, and who hires the student. In the case of a "work for hire", the employer owns the copyright. However, it is non-trivial to determine whether that principle is applicable in the case of a student hired by the university. In part, it depends on which country this is in because work for hire laws are not exactly the same everywhere, and in part it depends on the details of the employment my a university. In a typical US institution RA appointment, it would come down to university policy – some universities declare that copyright in all student-written software is retained by the student. You would need to look for something resembling an "IP Policy" – here is a sample, note that such policies are subject to revision.