Password protect a link

©

©®

Is it possible to password protect a link?
The link would give access to the client's address and only approved
people would be allowed access to that. The link actually will open a
link so that a satnav can get the information of where the address is.
Would it be better to just password protect a page with that info?
Thanks for any help.
 
A

Adrienne Boswell

Is it possible to password protect a link?
The link would give access to the client's address and only approved
people would be allowed access to that. The link actually will open a
link so that a satnav can get the information of where the address is.
Would it be better to just password protect a page with that info?
Thanks for any help.

One would password protect a link just as one would password protect
anything else, eg:
<a href="someaddress.php">Address</a>

and someaddress.php would require authentication.
 
N

Neredbojias

Is it possible to password protect a link?
Yep.

The link would give access to the client's address and only approved
people would be allowed access to that. The link actually will open a
link so that a satnav can get the information of where the address is.
Would it be better to just password protect a page with that info?
Thanks for any help.

Server-side scripting such as php make it a cinch. But realize it's not
the _link_ itself you're p/w-protecting but its name. For the other,
you'd need something like a host which provides p/wed directories.
 
N

Neredbojias


Do you realize that there's 3 different kinds of p/w-protection we are
talking about here?

Adrienne suggested p/wing the page at the end of the link itself.

I kinda spaced on that with the idea of p/wing the source page containing
the link.

Your info shows how to p/w a directory via .htpasswd file, which is
probably most secure. However, I didn't see any provisions for the
generic user (-you have to pre-list all possible users) and that could be
a disadvantage in certain cases, depending on how you wish to use the p/w.
 
©

©®

The satnav link would be a TomTom address to the person's address - see
http://www.tomtom.com/addto/
This would add an icon with the link to open the software so the address
would be downloaded to the satnav. I didn't want to just have it there
for anyone to get the info as it would be to a residence.
I don't know much about PHP so can anyone point me to a tutorial or
suggested website to read more. (I'll search out the info in the
meantime).
Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,280
Latest member
BGBBrock56

Latest Threads

Top