Subj : How to implement password protection? To : comp.programming From : Markus Becker Date : Fri Aug 19 2005 09:59 pm Hi there, how can implement some sort of password-protection in one of my programs? I 'have heard of' (and know how to use) MD5-hashes etc. But how is the general 'way to go' if I want to implement several (i.e. two, 'user' and 'admin') levels of functionality in a program? - How can I savely store passwords without someone being able to easily decode them (MD5-hash?)? - How do I implement some sort of group-membership that cannot be manipulated easily? The user enters a password that he wants to use and I store and save the MD5-hash of it. So I have a method to verify entered passwords, but what about the group-membership? Programming language and operating systems do not matter (ideally it would be Delphi and Windows), I'm just looking for some algorithm to solve the problem. TIA Markus .