Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-05-27 17:18:19

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

smd_access_key and photo pages ?

My family wants me to create a site with passworded pages that will have family photos on them.

I did a forum search and found an article from last January that mentioned the smd_access_key plugin.

Is using smd_access_key a good method, or is there another one ?

My domain site allows passwording of folders.

Would this be workable ? Or is the plugin better ?

I realize some of this is objective, but if passwording folders can become difficult to work with, I’ll just use the plugin.

Thanks.

Offline

#2 2012-05-27 17:26:44

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,173
Website GitHub Mastodon Twitter

Re: smd_access_key and photo pages ?

Hi Jim,
It depends on your needs. smd plugins are easy to use but so is passwording folders with htaccess


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2012-05-27 17:32:36

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: smd_access_key and photo pages ?

Well, my domain allows a folder to be passworded, without using htaccess. I have used it in the past and it was a painful experience.

I’ve read more of the plugins info page, and it looks like it will work for me.

I’ve used htaccess in the past, and tended to fall on my face in the attempt.

Offline

#4 2012-05-29 15:27:40

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: smd_access_key and photo pages ?

I don’t think smd_access_key would protect the image files but just the page displaying them.

.htaccess could protect both.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#5 2012-05-29 15:49:51

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

Re: smd_access_key and photo pages ?

You could try this as an alternative. It’s pretty easy to set up. Load the file into a folder above your site root, cgi-bin for example. Add the single line of code to the web pages you wish to protect. It works fine with Textpattern. Straight out of the box the script presents a login dialog on a blank page but there is a link to the user forum that contains information on how to integrate the script into a page.

Offline

#6 2012-05-29 20:18:58

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: smd_access_key and photo pages ?

After reading the page on Web Page Password Protect: do I put it at the top of each article I want to protect, or at the tp of the article template ?

Offline

#7 2012-05-29 21:57:03

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

Re: smd_access_key and photo pages ?

I’m not sure what you want to do exactly but:

<txp:php> include(path_to_my_cgi-bin_folder/cgi-bin/password_protect.php");</txp:php>

as first line of the appropriate page template will protect all the pages it generates. Your users will have to sign in once per session to get access.

Offline

#8 2012-06-02 15:43:26

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: smd_access_key and photo pages ?

I want to make it impossible/vedry difficult, for anyone to see certain pages one a blog I’m going to create.

I’ve decided to use my domain provided pass worded folders.

Offline

Board footer

Powered by FluxBB