Possible to have a password protected directory within site?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
chrisinoz
Forum Members
Forum Members
Posts: 67
Joined: Tue Nov 16, 2004 4:17 am

Possible to have a password protected directory within site?

Post by chrisinoz »

Hi

I have a client interested in a simple cms - Used cmsms twice now - Lots of improvements I see since my last visit. Well done.

Client is going for one of those hosters who offer password protected directories. How would cmcms work as it runs out of the same directory..does it not?

eg can you have http://www.domain.com.au/passworddirect ... page=sound

and still have

www.domain.com.au/index.php?page=all other pages

Thx

Chris
Humble web designer
Adelaide, South Australia
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Possible to have a password protected directory within site?

Post by Ted »

Not really...  however, you might have some luck with the ProtectedPages module in the wiki.  http://wiki.cmsmadesimple.org/tiki-inde ... ed+Modules
User avatar
sjg
Power Poster
Power Poster
Posts: 310
Joined: Thu Jan 27, 2005 5:11 pm

Re: Possible to have a password protected directory within site?

Post by sjg »

You could always place the directories under password protection via the web server, using Basic Authentication. You can put .htaccess files into the protected directories.

Or maybe I don't understand the question.
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Possible to have a password protected directory within site?

Post by Ted »

Sounds like some pages should be protected and others not.  Even if index.php was copied to multiple places, there would be no way to force which index shows which page.
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: Possible to have a password protected directory within site?

Post by nils73 »

Even if index.php was copied to multiple places, there would be no way to force which index shows which page.
Not with index.php though, but what about Clean URLs?

Regards,
Nils
chrisinoz
Forum Members
Forum Members
Posts: 67
Joined: Tue Nov 16, 2004 4:17 am

Re: Possible to have a password protected directory within site?

Post by chrisinoz »

Thx for all the replies. I will check out Protected pages in WIKI.

CMS can only run out of one directory then?

htacess would be the normal simple option if some pages were in a diff directory of course.

Client will have some downloads he only wants some people to get to.

How does one do clean urls with CMS?

Thanks

Chris
Humble web designer
Adelaide, South Australia
Post Reply

Return to “CMSMS Core”