Using a URL to login.

sholzy

Joined: 2002-09-11
Posts: 1
Posted: Wed, 2002-09-11 15:04

I would like to know if it possible to add the username and password to a URL for when I e-mail a link to friends so they will login automatically. If so, how? I have been unable to find the answer. Thanks.

 
alemcherry

Joined: 2006-07-19
Posts: 72
Posted: Thu, 2007-10-18 18:23

With gallery, I am not sure it is possible. You may have to do some custom script for that.
There is also something called HTTP authentication, which can be used to password protect any directory. You can do it with .htaccess files on linux servers. Passwords can be sent as http://username:password@yoursite.com/directory/ But this may not be what you are looking for.

______________________________________________________
Cheap Web Hosting Review - Hostgator Review

 
trbailey
trbailey's picture

Joined: 2007-04-16
Posts: 172
Posted: Wed, 2007-10-24 16:08

After all this work I see this is years old. Oh well, hope it helps someone :)

See relevant galleryembedded code. it works for Wordpress, Drupal and others. You can also send an eCard, that's kind of what it's for.
If you don't trust them with a login of their own (just set read permissions?), you can create a view only gallery. See the codex if I'm not mistaken.
Remember when you ran the install, the second page said something about multiple galleries with a single code block (it's called renetrant code)?

Best of all there's a plugin that will help you create a gallery entry point that has whatever permissions you give it.
-Tom