You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see the folders after use build windows --compile-app --compile-packages --cleanup-on-compile and it contain in the path "root//build//windows//data//flutter_assets//app//" the app.zip file. This zip file contain the requeriments and main.pyc.
After to use a script with "dis" and "marshal", i can see the bytecode whitout problems.
My point is that this is very dangerous for the rules of business.
My question:
Have the "build windows" command more tools for obfuscate or encrypt the app.zip file?
Any tip to protect ours codes and use "flet build" to create a secure app for desktop or android?
Thanks for the time to read my concerns
Code sample
importfletasftfromsubimportcontainer#this is a module imported with a container box#### main.py ####defmain(page: ft.Page):
cont=container(page)
page.add(cont)
ft.app(main)
#### Script dis / marshal ####importdisimportmarshalinput_file="main.pyc"withopen(input_file, "rb") asfile:
file.seek(16)
code_object=marshal.load(file)
print("=== Bytecode desensamblado ===")
dis.dis(code_object)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I see the folders after use build windows --compile-app --compile-packages --cleanup-on-compile and it contain in the path "root//build//windows//data//flutter_assets//app//" the app.zip file. This zip file contain the requeriments and main.pyc.
After to use a script with "dis" and "marshal", i can see the bytecode whitout problems.
My point is that this is very dangerous for the rules of business.
My question:
Have the "build windows" command more tools for obfuscate or encrypt the app.zip file?
Any tip to protect ours codes and use "flet build" to create a secure app for desktop or android?
Thanks for the time to read my concerns
Code sample
Error message
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions