LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you create user accounts in LabWindows applications?

I need to be able to create password protected user accounts for my LabWindows application.  I say there was  a password control.  Are there any other built-in functions in LabWindows to create and maintain user accounts for an application?  Any add-ons?

0 Kudos
Message 1 of 3
(4,416 Views)

CVI does not integrate native functions to tailor an application based on a user account, you must design and code this section on your own.

 

As an help in this matter, CVI offers a password control to permit a user to enter a password with the usual, asterisk-masked input field: where and how to store passwords and what to do with them is on your responsibility.

 

As an additional help, I have created a small sample project to permit hashing a text (e.g. a password): since hash does not permit to decode back the original text, you can safely store the hashed text without special precautions (OK, we're not designing a banking application, aren't we? Smiley Wink ); to check a password entered by the user you only need to hash the password and compare the hash with the original, saved one: if they're the same, then you can permit the user to log in. Despite it's quite old (developed in CVI7), that sample still works correctly in newer IDEs: I have tested it in 2012SP1 without problems.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(4,397 Views)

Thanks for the information.  I'll give it a try!

0 Kudos
Message 3 of 3
(4,381 Views)