Secure admin panel question?

Discussion in 'Web Hosting' started by tptnyc, Sep 23, 2007.

  1. #1
    From Newbie:
    You guys offering hostings and expert in this field, can you let me know how to secure admin panel for e-commerce site?
    any coding or step by step guidance will be helpful.
     
    tptnyc, Sep 23, 2007 IP
  2. jmhyer123

    jmhyer123 Peon

    Messages:
    542
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    usually just using .htaccess to secure it is enough. You can do it with PHP/MySQL or something but it's never as secure.
     
    jmhyer123, Sep 23, 2007 IP
  3. tippie

    tippie Peon

    Messages:
    660
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    You can password protect the folder of the admin panel with cpanel or directadmin
     
    tippie, Sep 23, 2007 IP
  4. tptnyc

    tptnyc Peon

    Messages:
    764
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    My cPanel shows icon as Password Protect Directories. When I click on this I get the following list:

    Allow access only to authorized users

    Please select the folder you wish to protect by clicking on its name.
    Open a folder by clicking on its icon.

    / (Current Folder)
    access-logs
    etc
    logs
    mail
    public_ftp
    public_html
    ssl
    tmp
    www

    QUESTION: You mean I have to change password for each of these folders in order me to fully secure admin panel?

    OR instead simply go to .htaccess and change the password and will it secure all of my admin panel then?
    When I click on .htaccess, a box opens up with showing check-marks:
    .htaccess
    Mode User Group World
    Read > > >
    Write > > >
    Execute - - -
    Permission 6 6 6

    I am not sure which option or route is right and how to do it?
    Anybody giving step by step guidance wiil be of great help.
     
    tptnyc, Sep 23, 2007 IP
  5. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    As Seller:
    100% - 0
    As Buyer:
    100% - 3
    #5
    It is a 2 step process. You select the single folder that you wish to protect.
    Then you add a user and password to that folder.
    Then you click save again.

    Then if you are real smart you will open another browser window and make sure it works the way you expect BEFORE you close the cPanel window. Else if you have screwed it up you not be able to get back there.

    Once you think you have protected it browse to mysite/mydirectory. You should get a pop up box like the cpanel box. When you enter username and pass it should let you in.

    BTW don't use the same username amd pass as you panel. Pick something entirely new.
     
    Colbyt, Sep 23, 2007 IP