Basic Authentication

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
martinG
Forum Members
Forum Members
Posts: 14
Joined: Sun Jan 25, 2009 9:23 pm

Basic Authentication

Post by martinG »

Hello,

I'm running a site which uses Basic authentication to reach some internal pages.
The usernames and passwords are since long time distributed to all users.

Now I'm rebuilding the internal part of the site to be using the CMSMS. But I want to keep the Basic auth for login. After the user has logged in, he is presented the new CMS.

Now the problem, I want to implement an Internal Forum within the CMS.
But I don't want the users having to login once more (by using FrontEndUsers).

Is it possible to use a Forum within the CMSMS but to use the already logged in userid:s?

/ MartinG
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Basic Authentication

Post by Nullig »

Why not use CMSMS Frontendusers as the main login? Then you could use it for both.

Do you store your original usernames and passwords in a db? Depending on how you create/store the pwd data, you may be able to copy the db info into CMSMS using phpMyAdmin, or another similar db utility.

Nullig
martinG
Forum Members
Forum Members
Posts: 14
Joined: Sun Jan 25, 2009 9:23 pm

Re: Basic Authentication

Post by martinG »

I realize that that's one option. But I don't want the CMS to be visible to the outside world.
The server is using basic authentication with an auth user file.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Basic Authentication

Post by Nullig »

I don't think you're going to be able to do this without a double login.

Nullig
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Basic Authentication

Post by tyman00 »

Why not just make your landing page a basic HTML page that has only the FEU login. That would reduce the need for double login. It wouldn't be any less secure than the basic authentication, plus a nicely styled Form would look a lot better than the pop-up authentication window.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
martinG
Forum Members
Forum Members
Posts: 14
Joined: Sun Jan 25, 2009 9:23 pm

Re: Basic Authentication

Post by martinG »

Yes, I see what you mean. Just wanted to know if it is possible in some simple way.

Thanks for replying / MartinG
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: Basic Authentication

Post by Jeff »

As long as the Basic Authentication (ie .htaccess) is on/in the directory that CMSMS is installed in then you won't be able to access any pages until you are logged in and you don't need FEU.

Jeff
martinG
Forum Members
Forum Members
Posts: 14
Joined: Sun Jan 25, 2009 9:23 pm

Re: Basic Authentication

Post by martinG »

I was just thinking if the Authorization header from the client could be used to extract the user name to the front end user module.

Thank you all for the replies and this is a great moment to stop picking your nose. Hope you all will be allright.

/ MartinG
Post Reply

Return to “Modules/Add-Ons”