Gammon Forum
Entire forum
MUSHclient
General
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 (22,990 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.
14,678 views.
It is now over 60 days since the last post. This thread is closed.
  Refresh page
top
Quick links:
MUSHclient.
MUSHclient help.
Forum shortcuts.
Posting templates.
Lua modules.
Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.