Encrypt login_information

Started by giolgau99, June 19, 2018, 10:56:29 PM


Hey guys,

I have searched in forum after login_information but with no results which might help me.

Web Page Password Protect  works great guys, I have a question.

Sorry if has been asked before, but I was not able to find it.

In the

 'user' => 'password',

the user and pass are plain text, can we store them encrypted somehow as md5? https://prnt.sc/jwves2

If someone looks on my server now he can see my user and password, I am using this with a jQuery calendar to store personal things there.

I would appreciate some help, as my skills at this are poor and could not find answers on the net.



Unfortunately could not test, but you could try this. Put encoded password into LOGIN_INFORMATION (as md5)
So it will look like
  'user' => '5f4dcc3b5aa765d61d8327deb882cf99',

and then you will have to change this:
$pass = $_POST['access_password'];

to this:
$pass = md5($_POST['access_password']);


Worked like a charm! Thanks :)