[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  AlphaOption

AlphaOption

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


Posted by Johnathan Allen   (49 posts)  [Biography] 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.
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] 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
[Go to top] top

Posted by Magnum   Canada  (580 posts)  [Biography] 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.
[Go to top] top

Posted by Nick Gammon   Australia  (22,990 posts)  [Biography] 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
[Go to top] 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] Refresh page

Go to topic:           Search the forum


[Go to top] 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.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]