DotDragnet
May 22, 2012, 02:35:55 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: follow us on twitter @dotdragnet
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: password protect pages  (Read 1220 times)
robbie
Sr. Member
****
Posts: 343



View Profile Awards
« on: February 04, 2008, 06:27:33 PM »

Doing a site for a photographer, and she wants areas of the site where clients can login and see their pics. What's the best way to do this so she can set up new clients herself?

thanks
Logged
sarahA
DDN Contribs
Hero Member
*****
Posts: 2174



View Profile WWW Awards
« Reply #1 on: February 04, 2008, 07:17:59 PM »

Use a script ASP/PHP and allow the client to create a user and assign say a category of photos for that user to be allowed to view (if you want to restrict users to their own photos only).

Photographer client has a similar system in use.

Not sure if there's anything prewritten that could do this for you.
Logged

Chris H
Resident God Botherer
Global Moderator
Hero Member
*****
Posts: 2291



chrishall57
View Profile WWW Awards
« Reply #2 on: February 04, 2008, 10:36:20 PM »

Could try Password Wizard from CoffeeCup. Would need to run from her own pc.

http://www.coffeecup.com/password-wizard/
Logged

slaughteredlamb
DDN Contributor
Hero Member
*****
Posts: 1089



peakoverload
View Profile WWW Awards
« Reply #3 on: February 05, 2008, 03:41:49 PM »

It all depends on what the client wants.

Now I'm no coder but I am a photographer and I did build a site for myself that had an area like this.

The problem that I had, and maybe your client is the same, is that I let customers buy photos online and I had it all tied into a printer (Photobox). What this meant was that I had to provide high res images to the printer for printing purposes in a way that meant that I didn't constantly have to manually upload them or e-mail them each time a photo was requested. This meant that I had to put all my high res images on my server so that the printer could download them when required.

What I had to make sure of was that my high res photos were secure as if they got stolen or copied I'd loose a lot of money. With this in mind I used a script called PHPGuardDog. What this did was to allow me to store my high res photos in a directory below the root of my live directory on the server. This way nobody could access them via their browser. The script not only allowed clients to login to their own private gallery where they would see and could order only their photos but it also allowed me to set-up a path that would allow an authenticated user, in this case the printer, to access the high res photos (basically they would access a certain URL and the script would translate that URL into the actual one without ever revealing it to the end user). Even if someone then decided to share this hidden URL with anyone else, unless they were able to authenticate themselves they got blocked. Basically it was secure!  Tongue

I would say use PHP Guard Dog but sadly they have gone out of business. However I believe that OpenCrypt is very similar and is already interegrated with various payment gateways which may or may not be useful if your client is selling photos online.
Logged
robbie
Sr. Member
****
Posts: 343



View Profile Awards
« Reply #4 on: February 05, 2008, 07:39:47 PM »

Thanks Chaps

No, she won't need the facility to print from the site, but thanks for the tip anyway, might be useful for a future project.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2008, Simple Machines Valid XHTML 1.0! Valid CSS!