How to make an admin login page secure?

Discussion in 'PHP' started by jayleeh1989, Sep 26, 2012.

  1. #1
    Hi,

    I want to be able to make a very simple admin login, but how do i make it secure does anyone have any reliable resources?

    I want to create the admin panel "www.website.com/admin/login.php".

    It should require the username and password of the admin so they can login and edit options to do with the main website, like add/edit/delete content etc.

    Thanks
     
    jayleeh1989, Sep 26, 2012 IP
  2. euro-space

    euro-space Well-Known Member

    Messages:
    471
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    140
    #2
    If you want solution without coding, just to protect "admin" folder, you can go to your hosting cPanel and find "Password Protect Directories".
    Here's another PHP solution -> http://www.homeandlearn.co.uk/php/php14p2.html

    Cheers!
     
    euro-space, Sep 26, 2012 IP
  3. master-mind

    master-mind Well-Known Member

    Messages:
    91
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    111
    #3
    euro-space is right. However if you want to develop something from scratch, then I would suggest you download and install wordpress instead. You can get great themes for it. and everything is already there. So you just have to install with a couple of clicks, and your site will be ready. It has tutorials and instructions everywhere. PM me if you need more help with it.

    Thanks
     
    master-mind, Sep 26, 2012 IP