Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Posts
    7
    Plugin Contributions
    0

    Default .htaccess admin authentication?

    is there any established way to authenticate admin users through htaccess instead of the login form?

    i could just comment out the authentication piece, but i'm concerned that this will break other things.

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: .htaccess admin authentication?

    Why? htaccess can be used along with the login form, not to be used alone. It's NOT safe.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Feb 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: .htaccess admin authentication?

    Quote Originally Posted by yellow1912 View Post
    Why? htaccess can be used along with the login form, not to be used alone. It's NOT safe.

    to tie in three different login systems without mucking in the database.

    how is it less safe? the only downside that i'm aware of is a bad interface.

  4. #4
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: .htaccess admin authentication?

    "[FONT=Verdana, Arial, Helvetica]The password is passed over the network not encrypted but not as plain text -- it is "uuencoded". Anyone watching packet traffic on the network will not see the password in the clear, but the password will be easily decoded by anyone who happens to catch the right network packet. [/FONT][FONT=Verdana, Arial, Helvetica]So basically this method of authentication is roughly as safe as telnet-style username and password security -- if you trust your machine to be on the Internet, open to attempts to telnet in by anyone who wants to try, then you have no reason not to trust this method also."


    [/FONT]
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  5. #5
    Join Date
    Feb 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: .htaccess admin authentication?

    thank you for that explanation.

    what if i logged the user in over https and then forwarded the successful login to the regular http server? or not at all.

  6. #6
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: .htaccess admin authentication?

    Let me get back to the original topic though: you probably have to edit part of the code to do what you want. I believe application_top.php will invoke the auth checking somewhere, probably using admin/includes/auto_loaders

    Try to comment out the part that does the authentication to see if you can get in admin, and see if it breaks anything. If it break things, you will have to "fake" the authentication, set the session at the first time the user logins so the system will not ask for auth again.

    Still, I see this as a potential security risk.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

 

 

Similar Threads

  1. v153 Admin Section not requiring user/pass authentication??
    By regjimbob in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 31 Jul 2014, 04:08 PM
  2. Single authentication possible? - htaccess and ZC
    By fideaux64 in forum General Questions
    Replies: 2
    Last Post: 7 Feb 2007, 10:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg