I want to make a CD/DVD Library where by an admin can do all the operations while any other norma user can do limited operations (simply browsing and searching). I'm still organizing and doing simple design and I need your opinions on this:
1. What is the best login technique (after storing users and passwords in database?). I can get usernames from database as well as from login forms but I'm not sure how to implement comparison the best way!
2. What is the best way of storing password? (secure way)
3. How do I redirect them to the right page after successful login
4. How do I prevent any unlogged user from accessing the Library script
Any answer to any question is appreciated