Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
arnaudmeyer
Topic Author
Posts: 15
Joined: 17 Oct 2006, 03:29

Encrypt admin password

21 Oct 2006, 03:01

Is there a way to put the admin password encrypted in the password.php file?
Right now you have to write it clearly.

I just wanna know if there's a way to increase security here.

Thanks :lol:
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Encrypt admin password

21 Oct 2006, 23:29

n3o wrote:Is there a way to put the admin password encrypted in the password.php file?
Right now you have to write it clearly.
I just wanna know if there's a way to increase security here.
Actually under normal circumstances you wont see the file's content from www. Basically if you want i can help you with some encoding but not sure you really want it. If you that worried - just move it outiside of www_root and include from there like
Code
include ("/home/mydir/secretfiles/passwords.php");
should be secure enough.
firedev.com
 
User avatar
arnaudmeyer
Topic Author
Posts: 15
Joined: 17 Oct 2006, 03:29

23 Oct 2006, 02:56

The include line is to be written in the checkpass.php right?
 
User avatar
Christopher
Experienced
Posts: 213
Joined: 30 Sep 2006, 18:58

03 Nov 2006, 10:37

As alternative,

My website provider enables me to pass protect various directories on my site. That way, you simply cannot access any files (ie Admin directory) without this passkey.

It's another step, but it seems to do the trick as well.
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

04 Nov 2006, 08:14

Also you can just delete /admin folder after you have everything settled down.
firedev.com