Hello,
I am trying to pass the data from the custom login screen (email, password) created using the webdev module, to the perspective project which has two labels named email and password.
Should I use python scripting in the webdev module's python resource or should the script be written in the view which has the labels
Thanks in advance!
This sounds like a big security hole. Passwords should be one-way encrypted before being passed anywhere.
Currently there are hardcoded users
Security has not been implemented yet and will be done later on
Just wanted to know whether it is possible to transfer data from webdev module to the perspective project
Not directly, as the resources in WebDev are a Project resource - not a Session resource.
Indirectly, you could use Message Handling, where the WebDev resource sends a message to the Gateway (not the Session), and then the Gateway sends a Message to the Session. This would all require that the WebDev resource be sent the ID of the Session during some phase of your interaction.
1 Like
I really think the big question is why are you trying to create your own login vs using either the built-in security or using an external IdP to do have custom logins if you don't want to use Ignition's security. As @Transistor mentioned, this is going to be a huge security hole as there's a lot of work that goes into storing and transmitting passwords securely. They should always be salted and hashed so that they're virtually unhackable with common tools like rainbow tables and would require brute force attacks. Hashing alone isn't good enough anymore (ever heard of "pass the hash" attacks?)
Instead of asking how you can, you should be asking if you really should be doing this in the first place.
4 Likes