Hi! Sorry my Google translate
Thank you for Muntjac.
I have a question about its security.
If I do the authorization in the following way:
class Calc(Application):
def init(self):
self.l = VerticalLayout()
self.setMainWindow(Window('Calculator Application', self.l))
login = LoginForm()
login.setWidth('100%')
login.setHeight('300px')
login.addListener(NewLoginListener(self), ILoginListener)
self.l.addComponent(login)
class NewLoginListener(ILoginListener):
def __init__(self, c):
self._c = c
def onLogin(self, event):
this = self._c
if (event.getLoginParameter('username'), event.getLoginParameter('password')) in users:
this.init_app()
How secure access to the inner parts of my application?