sessions would be good. or just force HTTP_AUTH from php. leave the password in a php file and include it in your script. just make sure that the include file is outside of the httpd server directory. you can also make the password a md5 hash. that way, even if you look at the file, you don't know the password. have all the password operations use md5 hash. this is simple and should be good enough.
qwex wrote:
I want to keep the script simple for users, so I'd rather not mess with .htaccess and .htpasswd. I just need a way to password protect the admin options, but still want to be sure someone else can't mess around with it