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 that the web browser knows so that the source code will be unreadable but still readable to web browser?
On Jul 29, 5:41 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > 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 > work. > > You can still somewhat infer the html from the .pyc files but it is > not trivial since there is not a 1-1 map. > > Massimo > > On Jul 29, 9:23 am, ilovesss2004 <yyiillu...@gmail.com> wrote: > > > > > 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 <jean...@gmail.com> 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 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 files are still viewable.