Hi everyone,
I'm new to vb.net. I recently started programming a new program for the company I work for. I now have a simple login screen (with a login and password). The password I have encrypted with MD5 (and works), but the MD5 code it has to be compared to is now hardcoded. Is there a better possibility to change the hardcoded part?? (But this is not the biggest problem)
My real question. So I have made the login screen. When clicked on a button, there will open an new form. But depending on the loginname some buttons and fields must not show up in the new form (admin must have different rights then a user). So I want to transfer the loginname or something else so I can check who is logged in and so I can show the right buttons, ... Is there a possibility to transfer the loginname or how can this problem be solved?
Anyone who has a good idea? If more info needed please ask.
Thanks in advance,
FatEric
I'm new to vb.net. I recently started programming a new program for the company I work for. I now have a simple login screen (with a login and password). The password I have encrypted with MD5 (and works), but the MD5 code it has to be compared to is now hardcoded. Is there a better possibility to change the hardcoded part?? (But this is not the biggest problem)
My real question. So I have made the login screen. When clicked on a button, there will open an new form. But depending on the loginname some buttons and fields must not show up in the new form (admin must have different rights then a user). So I want to transfer the loginname or something else so I can check who is logged in and so I can show the right buttons, ... Is there a possibility to transfer the loginname or how can this problem be solved?
Anyone who has a good idea? If more info needed please ask.
Thanks in advance,
FatEric