Re: [PHP] RE: [PHP-DB] Login System with access levels

2001-03-16 Thread Jack Sasportas
Just a note...you can hash the password in the database. Rick Emery wrote: > First, I would NOT store passwords in a database. Rather, I'd store a hash > based upon the password and username. Storing a password is dangerous as > regards security. > > Second, if you're asking for syntax on

[PHP] RE: [PHP-DB] Login System with access levels

2001-03-16 Thread Rick Emery
First, I would NOT store passwords in a database. Rather, I'd store a hash based upon the password and username. Storing a password is dangerous as regards security. Second, if you're asking for syntax on how to add the security level column: ALTER TABLE mytable ADD access tinyint unsigned no