What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Send SMS text on contact sign in

Send SMS text on contact sign in
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Send SMS text on contact sign in
quote:
Originally posted by ProtoZoa
Whats the best way to handle user passwords? Encrypted in registry?
Yes, and saved under the user's 'User ID' under the script's settings path.

The user ID is the number you get with Messenger.MyUserId.

The registry path would therefore be:
MsgPlus.ScriptRegPath + Messenger.MyUserId + "\\pwd"
giving:
HKEY_CURRENT_USER\Software\Patchou\Messenger Plus! Live\GlobalSettings\Scripts\<YourScriptName>\<1234567890>
where <1234567890> is that User ID and pwd the name of the key value.

Although storing the pwds encrypted with scripts isn't fool proof (one can always dive into the script source and find out the encryption algorithm) it is way better than storing it in plain text. As such, the encryption doesn't need to be very strong though, just strong enough so that one can't derive/guess the plain password from the encrypted text. You could use the Windows Cryptographic APIs for that, but you could also make your own encryption scheme for example (using XOR calculations, ROT, and other stuff like that)

This post was edited on 06-03-2010 at 02:51 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
06-03-2010 02:43 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Send SMS text on contact sign in - by ProtoZoa on 07-12-2009 at 12:10 PM
RE: Send SMS text on contact sign in - by warmth on 07-12-2009 at 07:06 PM
RE: Send SMS text on contact sign in - by ProtoZoa on 07-20-2009 at 05:58 AM
RE: Send SMS text on contact sign in - by piggieshorts on 08-09-2009 at 05:47 AM
RE: Send SMS text on contact sign in - by CookieRevised on 08-12-2009 at 06:38 AM
RE: Send SMS text on contact sign in - by cRuNcHeR on 08-18-2009 at 03:16 PM
RE: Send SMS text on contact sign in - by matty on 08-18-2009 at 05:46 PM
RE: RE: Send SMS text on contact sign in - by CookieRevised on 08-19-2009 at 01:52 AM
RE: Send SMS text on contact sign in - by cRuNcHeR on 08-18-2009 at 06:15 PM
RE: Send SMS text on contact sign in - by cRuNcHeR on 08-19-2009 at 02:31 AM
RE: Send SMS text on contact sign in - by CookieRevised on 08-19-2009 at 03:18 AM
RE: RE: Send SMS text on contact sign in - by cRuNcHeR on 08-19-2009 at 04:30 AM
RE: Send SMS text on contact sign in - by ProtoZoa on 05-24-2010 at 12:49 AM
RE: Send SMS text on contact sign in - by whiz on 06-01-2010 at 10:34 AM
RE: Send SMS text on contact sign in - by ProtoZoa on 06-03-2010 at 07:16 AM
RE: Send SMS text on contact sign in - by CookieRevised on 06-03-2010 at 02:43 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On