User Profile

Collapse

Profile Sidebar

Collapse
kmd
kmd
Last Activity: Mar 25 '08, 04:13 PM
Joined: Mar 23 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • kmd
    replied to Password hashing
    in PHP
    Ok
    thx very much. Its really usefull. Now i know what i have to do to imncrease security.
    But i have one more question.
    Why in many popular scripts (blogs, CMSs) informations for database (like host, password, database name, and username) are in config.php and they are not hashed?
    Does it mean, that they are not save? Couse if login and passowrd in my case are for grab so data for database conect is up for grab also,...
    See more | Go to post

    Leave a comment:


  • kmd
    replied to Password hashing
    in PHP
    Yes your right.
    But im the only one user, so in my opinion using database is making everything more diffcult. I have to create tables, than file to register user, and than i have to keep one user in one table in database. Its like wasting database space :) And now im looking for some save method to make admin panel based on config.php file. If i will not find any, i will add user registration to my script :)
    See more | Go to post

    Leave a comment:


  • kmd
    started a topic Password hashing
    in PHP

    Password hashing

    Hi
    I make simple script and ive made admin panel. Login and password are in config.php file. Im using form to log in. And my question is: Is security of this code high or low or medium? :)

    In config.php i have sth like this:
    [PHP]$login = 'admin'; // Login to admin panel (change it)
    $password = sha1(md5('test' )); // Admin password (change it)[/PHP]

    And in other file (using to log in):
    [PHP]if...
    See more | Go to post
No activity results to display
Show More
Working...