Re: [web2py] Re: encrypt source code

2010-07-30 Thread Jonathan Lundell
On Jul 30, 2010, at 8:32 AM, Michele Comitini wrote: > This is not possible in general. > If you do not want anyone to copy something than do not show it. > Think of writing a book that no one can read... Right. It's worth making a distinction, too, about how an application gets distributed. I

Re: [web2py] Re: encrypt source code

2010-07-30 Thread Michele Comitini
This is not possible in general. If you do not want anyone to copy something than do not show it. Think of writing a book that no one can read... Maybe copyright could be the right way to protect you work? 2010/7/29 ilovesss2004 > Now I know the web app will work just with the pyc files, and ot

Re: [web2py] Re: encrypt source code

2010-07-29 Thread Thadeus Burgess
Just run the code on an internal server that has no access to the internets and you should be fine. As long as nobody can get to the site, nobody can look at your code. -- Thadeus On Thu, Jul 29, 2010 at 12:08 PM, glimmung wrote: > Hi, > > On Jul 29, 5:07 pm, ilovesss2004 wrote: >> Now I kn

[web2py] Re: encrypt source code

2010-07-29 Thread glimmung
Hi, On Jul 29, 5:07 pm, ilovesss2004 wrote: > Now I know the web app will work just with the pyc files, and others > can not view the source code from pyc files. But the source code can > still be viewed in web browser (I mean the source code of html and > javascript at the client side). Is there

Re: [web2py] Re: encrypt source code

2010-07-29 Thread Thadeus Burgess
No. -- Thadeus On Thu, Jul 29, 2010 at 11:07 AM, ilovesss2004 wrote: > Now I know the web app will work just with the pyc files, and others > can not view the source code from pyc files. But the source code can > still be viewed in web browser (I mean the source code of html and > javascript

[web2py] Re: encrypt source code

2010-07-29 Thread ilovesss2004
Now I know the web app will work just with the pyc files, and others can not view the source code from pyc files. But the source code can still be viewed in web browser (I mean the source code of html and javascript at the client side). Is there a method to encrypt the source code by a language tha

[web2py] Re: encrypt source code

2010-07-29 Thread mdipierro
It depends of what you mean by HTML. say you have views/default/index.html which extends views/layout.html. When you bytecode compile the two .html files are merged, turned into a python program and this is bytecode compiled. Now you can distribute your app without the .html files and it will wo

Re: [web2py] Re: encrypt source code

2010-07-29 Thread Júlio Monteiro
If you encrypt the HTML, the browser won't be able to recognize and display the pages, only a lot of garbled text. Browser based encryption is called HTTPS, but at some point it has to be decrypted before the client's browser can display anything. You can limit the number of people that will be abl

[web2py] Re: encrypt source code

2010-07-29 Thread ilovesss2004
But the html files are also part of the web app. Is there someway to encrypt them by use of web2py or python programming? On Jul 29, 4:15 pm, Jean-Guy wrote: > Of course yes! It is the HTML nature and the Web paradigm is based on > this state of affairs... > > Maybe the python code embeded coul

Re: [web2py] Re: encrypt source code

2010-07-29 Thread Jean-Guy
Of course yes! It is the HTML nature and the Web paradigm is based on this state of affairs... Maybe the python code embeded could be compiled too, but really not sure about that... Massimo could be a better help on that. Jonhy On 2010-07-29 10:12, ilovesss2004 wrote: source code of html

[web2py] Re: encrypt source code

2010-07-29 Thread ilovesss2004
But the source code of html files are still viewable. On Jul 29, 3:59 pm, Jean-Guy wrote: > Compile it : > > http://web2py.com/book/default/section/3/10?search=compilation > > Search in page for : compilation > > Jonhy > > PS.: Compiled code can be decompiled > > On 2010-07-29 09:56, ilovesss2004