1

I want to licence a non-trivial PHP application I have been working on under Affero GPL v3 (because I want every admin, who will use it, also release the source code).

However, something troubles me. I have a file localSettings.php, where the admin is supposed to write keys and some more information for MySQL database and some other secret info in the form

$dbPassword="mypassword";

and so on.

BUT. Under the AGPL, if he changes this, isn't he obliged to release the changed source code together with the secret credentials? (Because the file localSettings.php is, too, licensed under AGPL.)

asked Jan 25, 2013 at 5:12

1 Answer 1

2

As the author (more strictly speaking, the copyright holder), you're entitled to license anything any way you want. Just declare in your license that the localSettings.php is licensed differently, and not subject to the Aferro GPL. Stuff like this is done all the time (e.g., the GNU Classpath exception) when then authors decide they want to allow exceptions to the license restrictions for whatever reason they want. Heck, you could offer an exception for any file dated on a Thursday, because you were born on a Thursday.

answered Jan 25, 2013 at 5:30
0

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.