Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ AlphaOption

AlphaOption

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Johnathan Allen   (49 posts)  Bio
Date Mon 01 Dec 2003 10:26 AM (UTC)
Message
Why does world.getalphaoption ("password") return a plaintext string? I'm not so sure about this and password security.
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Mon 01 Dec 2003 04:37 PM (UTC)
Message
Maybe this is so that scripts can send the password in case the MUD has a non-standard? I think this issue was discussed not so long ago... maybe searching on the forum for password or something will bring up the other thread.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Magnum   Canada  (580 posts)  Bio
Date Reply #2 on Mon 01 Dec 2003 07:27 PM (UTC)
Message
Only your main script can do this, plugins are denied the password. This should help maintain some security at least.

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #3 on Thu 04 Dec 2003 08:09 PM (UTC)
Message
What would you have it return? If it was base-64 encoded then one more line in the script would decode it.

If you are worried a rogue script might mis-use it, then don't use scripts written by other people.

As Ksilyan points out, you cannot get the password from a plugin, so it has to be something in your main script file.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


16,512 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.