1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Probably not a good idea...

Discussion in 'Off Topic' started by random, Aug 10, 2010.

  1. random

    random Active Member

  2. KURTZ

    KURTZ Well-Known Member

  3. Floris

    Floris Guest

    You can just use .htaccess/.htpasswd to protect admin.php

    AuthName "Restricted Area"
    AuthType Basic
    AuthUserFile /home/xenforo/private/.htpasswd
    AuthGroupFile /dev/null <Files admin.php>
    require valid-user
  4. Eric

    Eric Active Member

    yeah, rather easy to protect the admin.php file, I don't see it as too big of a problem. Even if was denied by robots.txt, not all bots will respect it.
  5. Disjunto

    Disjunto Well-Known Member

    I would be surprised if I can't rename it to nottheadminpanelgoawaynowplease.php :D
  6. Walter

    Walter Well-Known Member

    And usually it's not a good idea to "protect" something with robots.txt - that's more like a hint for an intruder where he should look for interesting things...
  7. Kier

    Kier XenForo Developer Staff Member

    I don't think it's possible to rename the ACP front controller at this point, though as Floris points out, it's easy to protect it with .htaccess.
  8. Disjunto

    Disjunto Well-Known Member

    I'm officially surprised. Oh well, not like everyone renamed their admincp to nottheadmincp on vB, at least I never bothered
  9. Kier

    Kier XenForo Developer Staff Member

    I did say at this point. Allowing it would be a couple of lines of code.
  10. 0ptima

    0ptima Well-Known Member

    Please implement this soon.
  11. Caliburn

    Caliburn Well-Known Member

    Alright, what the heck ... ?

    I cannot view the image posted by the OP. When I click it, I get taken to the XenForo login screen saying that I must *be logged in to do that*, and recieve this error after re-entering my credentials. Odd since I AM LOGGED IN:

  12. Lawrence

    Lawrence Well-Known Member

    What browser are you using? I just view the attachment in IE with no problems.
  13. Caliburn

    Caliburn Well-Known Member

    Firefox 3.6.8 --- and here are some more details:

    I was reading that topic "Probably not a god idea..." and tried to click the image posted by the OP. I was taken to the login page (note: I was already logged in) and received this error:

    So, I re-entered my login info and clicked 'Login'. Then, I was presented with this error:

    As it stands, I can't view that attached image. What's up?
  14. Lawrence

    Lawrence Well-Known Member

    I just verified, I get the same error in FF.
  15. Brandon_R

    Brandon_R Guest

    Should you move this to bugs Lawrence?
  16. Caliburn

    Caliburn Well-Known Member

    :eek: *Yells* Mike & Kier! You're forum is borked! DANGER, DANGER!
  17. Lawrence

    Lawrence Well-Known Member

    It's already been reported, just verified.
  18. 0ptima

    0ptima Well-Known Member

    im in 3.6.8 on XP and can see it...

Share This Page