![]() |
Desktop icon to pass login?
Hi,
Is it possible so what when a user logs into their account they have the option to download a desktop icon which is unique to their account and will allow them the double click that icon and pass through the login process of the website and open them directly into their account? If that is possible, how would i go about doing that? Thanks for any help, Michael. |
For windows you'd probably have to create a shortcut to your site that contains a hash ID unique to the user.
|
logmein.com have it so you can drag the icon from their page to your computer and it has the icon image and links to your account. I could add a more complex unique ID to each account and use that but its the process of the user clicking a button and an icon appearing on their desktop linking to a set address that im not sure how to do...
Thanks |
I agree with TlcAndres; at the very least you'd have to hash the password value tacked onto the GET string. I'd recommend against doing this altogether, for me it doesn't do much in adding value to the user, and takes security down a notch or two.
Why not simply log them in once, and give them a 'remember me' cookie that holds a token logging them in at a later date? Most PHP applications (this forum being one of them) does this. |
Sorry to ask a stupid question but can you explain "hash the password"?
|
It is the norm to store the value of the hash of the password rather than a cleartext password. You don't want to just store '123pass' or something in your database as-is. So it is common to 'hash' the password value using MD5, SHA1, or any number of other common hash methods, and instead store the hash value. When you check the database against the user's password, you check it against the hash value, not the actual input value. That value would be consider safer to send along in a GET string than a plaintext password. Not perfect, but safer.
Try this: PHP Code:
You can also use a 'salt' combined with a hash to make it even more secure. Every password you store in the database, for example, might be 'salted' prior to storage and checking. PHP Code:
|
You'll need to create a Windows application or a shortcut with some sort of validation hash. My best suggestion would be to make a Windows application for that.
|
To extend on what I said a .url file with the following would suit your purposes
Quote:
So in essence, what I am trying to say is - Don't do it. |
| All times are GMT. The time now is 02:09 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0