Hi, basically what I have is a mysql db with various fields that are encrypted using AES_ENCRYPT / AES_DECRYPT, to do this you need a key, so i have assigned $key as my variable.
I dont want to store any passwords in raw text in any php file or on the sql database as I dont want a nosey admin poking about reading my licence codes etc.
So would it be possible to use a htaccess which would take the password entered then hash it and then use that for the key variable? Thus not having any password stored on file.
Also to make sure that the htaccess password isnt sniffed, could you build SSL into this before the htaccess box pop's up?
Thanks
N4N01D