user-pic

Password Protected Blog system?

Vote 0 Votes

Hi all,
I'm in the planning stages for a fairly large project for the elementary school that I work at. I'm trying to figure out if there is an easy way to create password protected blogs without having to generate .htpaccess files in each directory by hand.

Each blog will need to be protected, so they will each have to have their own username/password combo. Does anyone have a script or system that could manage something like this?

Reported on Movable Type 4.2

6 Replies

| Add a Reply
  • Here is a tutorial that I wrote for basic password protection. You can adjust the PHP in there a little to add a username field if you need one.

  • Hi Mike,
    Thanks for the link. I read through it previously but was under the impression that it's only to password protect individual entries. Is this not the case? I need the entire blog to be password protected.

  • If you need an entire blog password protected I would do that in Apache (or IIS) not in Movable Type. There are a few ways to do this, and site control panels like cPanel and Plesk make it easier. Do you have anything like that?

    • Hi Ken,
      I'm running it off a local server but there isn't any cpanel or Plesk built into the system. I was planning on just doing it by hand via .htaccess for each blog if I couldn't find an alternative solution.

  • Basic Auth in Apache is probably your best bet. It does not rely on the blogging software, I think that is a Good Thing (tm) in this case.

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1773 6162

Last Topic: Excluding categories from blog by kholechek on Feb 9, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1429 5077

Last Topic: What apocalypse hit this community in the middle of 2011? by 75th on Feb 10, 2012

695 2910

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

173 737

Last Topic: About the MT version stated in HTML source by Alex E. Schneider on Feb 7, 2012

190 567

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012