X
Нажмите здесь, чтобы перейти на мобильную версию сайта.

Форум поддержки

If applications are written in Javascript, how a developer can protect copyrights?

Размещено

I read that applications for Firefox OS are written in Javascript, Html and CSS. Can anyone see or copy the code? Is there a way to prevent it?

I read that applications for Firefox OS are written in Javascript, Html and CSS. Can anyone see or copy the code? Is there a way to prevent it?

Выбранное решение

Apps in Firefox OS are written in JavaScript. It doesn't support Java or Flash. Your code is automatically protected by copyright in some countries like France, see the laws of your country. But if you want to hide your code, it is not possible. You juste can make it unreadable with a mibified version.

Прочитайте этот ответ в контексте 1

Дополнительные сведения о системе

Приложение

  • User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0

Дополнительная информация

guigs 1072 решений 11697 ответов
Размещено

I might suggest asking this question on stackoverflow.com for development details.

I did find some resources that you might find helpful:

I might suggest asking this question on stackoverflow.com for development details. I did find some resources that you might find helpful: *[http://smus.com/mobile-web-app-tech-stack/] *[https://marketplace.firefox.com/developers/support] *[https://developer.mozilla.org/en-US/Apps/Quickstart/Build/For_Web_developers]
jscher2000
  • Top 10 Contributor
8638 решений 70669 ответов
Размещено

Copyright provides legal protection, the right to go after those who make unauthorized copies or derivative works. This applies whether people can read what you wrote or not. Of course, less copying is likely to occur if the code cannot be read in the first place...

Copyright provides legal protection, the right to go after those who make unauthorized copies or derivative works. This applies whether people can read what you wrote or not. Of course, less copying is likely to occur if the code cannot be read in the first place...

Задавший вопрос

guigs said

"I might suggest asking this question on stackoverflow.com for development details."

Hello. I know Stackoverflow as well but isn't "Mozilla Support/Firefox OS" the right place to ask a simple question?. I'm not asking about any complex implementation details. Just wanted to know, before investing hundreds of hours of my time on creating applications for your OS, how do I prevent anyone to get access to all my source code in a couple of seconds.

''guigs [[#answer-812650|said]]'' <blockquote>"I might suggest asking this question on stackoverflow.com for development details."</blockquote> Hello. I know Stackoverflow as well but isn't "Mozilla Support/Firefox OS" the right place to ask a simple question?. I'm not asking about any complex implementation details. Just wanted to know, before investing hundreds of hours of my time on creating applications for your OS, how do I prevent anyone to get access to all my source code in a couple of seconds.

Изменено derloopkat

Задавший вопрос

jscher2000 said

Copyright provides legal protection, the right to go after those who make unauthorized copies or derivative works. This applies whether people can read what you wrote or not. Of course, less copying is likely to occur if the code cannot be read in the first place...

Unfortunately, that's not enough. As a developer, if you give me a source code that works, I can easily create a derivative that doesn't match the original code. To makes things harder one may obfuscate the code by Minimifing Javascript code. It could help but you still expose the logics as well as all styles and resources.

''jscher2000 [[#answer-812652|said]]'' <blockquote>Copyright provides legal protection, the right to go after those who make unauthorized copies or derivative works. This applies whether people can read what you wrote or not. Of course, less copying is likely to occur if the code cannot be read in the first place...</blockquote> Unfortunately, that's not enough. As a developer, if you give me a source code that works, I can easily create a derivative that doesn't match the original code. To makes things harder one may obfuscate the code by Minimifing Javascript code. It could help but you still expose the logics as well as all styles and resources.
jscher2000
  • Top 10 Contributor
8638 решений 70669 ответов
Размещено

It is hard to keep secrets from determined researchers.

It is hard to keep secrets from determined researchers.
comzeradd 0 решений 1 ответов
Размещено

You don't create apps for Firefox OS. You are creating web apps. So, how would you protect copyrights if you create a website?

You don't create apps for Firefox OS. You are creating web apps. So, how would you protect copyrights if you create a website?

Полезный ответ

comzeradd said

You don't create apps for Firefox OS. You are creating web apps. So, how would you protect copyrights if you create a website?

Basically you're asking me my own question. But it wasn't me who decided that apps should run like websites.

I guess it may be useful to be able to package the app in an encrypted format and, from OS, prevent user to see the code and resources once loaded into browser.

Does Firefox OS support Flash, Java Applets or Silverlight?

''comzeradd [[#answer-814736|said]]'' <blockquote> You don't create apps for Firefox OS. You are creating web apps. So, how would you protect copyrights if you create a website? </blockquote> Basically you're asking me my own question. But it wasn't me who decided that apps should run like websites. I guess it may be useful to be able to package the app in an encrypted format and, from OS, prevent user to see the code and resources once loaded into browser. Does Firefox OS support Flash, Java Applets or Silverlight?

Изменено derloopkat

jscher2000
  • Top 10 Contributor
8638 решений 70669 ответов
Размещено

Полезный ответ

derloopkat said

Does Firefox OS support Flash, Java Applets or Silverlight?

I don't think so, although someday JavaScript may be able to decompile and execute SWF files well enough to ship as part of Firefox. Assuming they don't have OS-specific dependencies. See: http://www.areweflashyet.com/shumway/

''derloopkat [[#answer-814792|said]]'' <blockquote> Does Firefox OS support Flash, Java Applets or Silverlight? </blockquote> I don't think so, although someday JavaScript may be able to decompile and execute SWF files well enough to ship as part of Firefox. Assuming they don't have OS-specific dependencies. See: http://www.areweflashyet.com/shumway/
stargayte 3 решений 28 ответов
Размещено

Выбранное решение

Apps in Firefox OS are written in JavaScript. It doesn't support Java or Flash. Your code is automatically protected by copyright in some countries like France, see the laws of your country. But if you want to hide your code, it is not possible. You juste can make it unreadable with a mibified version.

Apps in Firefox OS are written in JavaScript. It doesn't support Java or Flash. Your code is automatically protected by copyright in some countries like France, see the laws of your country. But if you want to hide your code, it is not possible. You juste can make it unreadable with a mibified version.