May 23, 2012, 03:20:32 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: follow us on twitter @dotdragnet
Home
Help
Search
Login
Register
DotDragnet
>
The Tech Side
>
Tech stuff
>
Help with passwords
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Help with passwords (Read 1327 times)
BriPriUK
Newbie
Posts: 19
Help with passwords
«
on:
September 05, 2008, 02:48:40 PM »
Hi
We are photographers, and we put galleries of our weddings etc on our server with a username and password for our clients. I set the passwords in CPanel, but it uses the normal .htaccess files.
Now the sales manager of one of the hotels where we do a lot of work wants to be able to view the galleries so he can choose samples. etc (this is OK with the clients). I would like to make it as easy as possible for him, so he does not need a separate password for each gallery he views.
I can add him as a user to the folders with the same username and password each time, and give him a page with links, but is there a way to do it so he does not have to enter the password every time he clicks on a link?
Thanks for your help
Brian
Logged
slaughteredlamb
DDN Contributor
Hero Member
Posts: 1089
Re: Help with passwords
«
Reply #1 on:
September 05, 2008, 03:39:51 PM »
There used to be a brilliant script called PHPGuardDog which I used for my wedding photos.
Basically it worked like this (all from memory):
By a simple configuration PHPGuardDog would protect your gallery pages and images and block direct access to them unless the client had logged in
You then created a user and defined which pages/galleries/photos it could see and this could be as many as you wanted. I think it would also create a list of galleries that that account could see so you didn't have to provide separate URL's manually.
If you offered online print ordering you could also host your high res photos below the root of your website which would mean that nobody could access them unless they hacked the server itself. PHPGuardDog would then generate a URL to these photos which you could provide to your online printer/shopping cart and grant that account the required privileges. Because everything was encrypted nobody could decipher the actual usernames and passwords or URL's and so everything was safe.
This was a brilliant script and very customisable however sadly they went out of business which is a real shame. It may be worth searching for it on Google because it was a very much liked and used script and I would be surprised if somebody else hasn't already picked up the rights to PHPGuardDog or developed something very similar.
Logged
JasonD
Global Moderator
Hero Member
Posts: 546
Re: Help with passwords
«
Reply #2 on:
September 05, 2008, 03:44:34 PM »
HTTP authentication works from current level down. What you need is a password protected page in the root of the site which exists solely for the purpose of entering a password, the browser will then send the authentication to all pages and folders within the site.
Logged
BriPriUK
Newbie
Posts: 19
Re: Help with passwords
«
Reply #3 on:
September 05, 2008, 03:48:32 PM »
Thanks, Jason that sounds like the business.
As usual at this time on a Friday my brain is frazzled, so I'll try it on Monday
Brian
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
=> Jee's Forum of Appalling Jokes
-----------------------------
The Creative Side
-----------------------------
=> Arty stuff
=> Photography
=> On the web
-----------------------------
The Tech Side
-----------------------------
=> Tech stuff
=> Hardware & Software
-----------------------------
The Business Side
-----------------------------
=> Anything business related
-----------------------------
The Practical Side
-----------------------------
=> Practical Advice
DotDragnet
>
The Tech Side
>
Tech stuff
>
Help with passwords
Loading...