Protected page with multiple access?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Eni
Regular
Posts: 62
Joined: Thu Jan 27, 2005 10:47 pm
Location: Münster, Germany

Protected page with multiple access?

Post by Eni »

Happy New Year @Everyone!

In case you ever feel like celebrating a New Years party in Den Haag - bring ear plugs and a fire extinguisher. That town is a battlefield on Dec 31. I mean it! :mrgreen:

Eniway, question: how would you realize a protected website for certificates and qualification papers on a s9y used as professional portfolio?

I have plenty of workshop certificates and similiar papers. Lots of small stuff which is too much to send in with a standard job application but not unimportant to my special field, so I was thinking of putting them all on one online site and sneak a short line into the application letter ("for further details and documents, you're welcome to check... blahblubb").

But I don't want this page to be public despite also linking the documents on the public CV (click on it should direct to the file on the protected page displayed in a shiny reader). And, here it's tricky, I don't want the shared login to the document page to be permanent. After they dismiss me, I want to revoke their access. Though, since I apply for a longer period to many institutions, I can't do this with just a single link for all. So a password protected static site is out, I think.

Htaccess? Or rather mod_auth since I run lighttpd is an option but requires quite some manual work per link, if I oversee it right (I'm still battling with the manual).

Kinda stupid question but would it be possible to trick s9y into creating multiple passwords for one page? I think that would be nice to manage in the long run, if it can be done, hmmm.

It's nearly 4am, so you may excuse me if I overlooked something obvious ^__^

~eni
Sorry, I'm Late. But I Got Lost On The Road Of Life.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Protected page with multiple access?

Post by garvinhicking »

Hi!

Personally, I'd go with simple .htaccess / .htpasswd protection. This will be valid for all links on your site (PDFs, etc.) - this is only achievable with some custom file wrappers in s9y that might be overkill for this.

In htaccess you could maintain multiple accounts, and remove those that should no longer have access.

You can block the whole / directory root with a single line (Require valid-auth) and then the only thing you need to edit time and again is the .htpasswd, with one line per login.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply