I need to create user rights,since different roles will not have access to same areas of the application. can any one provide tutorial that will help me. Also what is the best way to encrypt passwords?
To encrypt password use Salted Password Hashing.
to know more