>I have a client that provides a list of companies on their web site (powered[color=blue]
>by PHP/MySQL.) These companies advertise their services to visitors. The
>company information has been maintained exclusively by the client, but now
>they would like to provide a way for the companies to update their own
>information.
>
>Can someone suggest a reasonable secure method to allow the companies to
>edit their own information without a login and authentication procedure? One
>idea is to provide each customer an URL which includes an encrypted token.[/color]
I hope that's a http*S* URL.
What's the real difference between something like:
https://www.mysite.com/cgi-bin/editm...corp&pw=hackme
vs., say, a .htaccess setup (on a secure site) where the client has
to provide the user name 'bigcorp' and the password 'hackme'?
The only important difference I see is that the URL probably gets
cached in the client's browser, and that might be a weakness.
[color=blue]
>The token could be generated using a unique piece of data like an email
>address or telephone number. It could be decrypted serverside and validated.[/color]
The token itself *IS* the password. What it contains after you
decrypt it is irrelevant. You don't have to decrypt it to get in.
It might be a big problem if someone can figure out your token-generating
scheme and guess *ALL* of them. It's more secure to generate the
token from something more random, like coin flips.
[color=blue]
>I've done something similar for other clients on a tight budget and it
>worked well, but am wondering if there's a better approach without adding
>full-fledge authentication.[/color]
Unless your clients like to see their info changed to something obscene,
I suggest they spring for triple-fledge authentication.
[color=blue]
>All comments/suggestions are appreciated.[/color]
Gordon L. Burditt