Menu

#2 Bot access

open
Config (1)
7
2005-07-05
2005-07-04
No

A few suggestions for the bots access system:
1) Authentication
a. By hostmask (and not by nickname like it's now,
since not every network provides nickserv for
nickownership)
b. By handle and password: the owner stores a handle
and a password (this password should be encryped before
the owner gets it form his user but that could be a
difficult to realise) pair in the config and users who
want to access the bot privmsg it with their data, e.g.
user anick prvismsgs the bot with "auth anick anickspw"
and is given access to the bot until the user quits irc.

2) Command access
Ultimatly the owner is able to freely specify different
levels of access to the bot e.g.:
Owner - access to all commands
Master - !add !del !info but NOT !exit
User - only !info

Discussion

  • Anonymous

    Anonymous - 2005-07-04
    • labels: --> Config
     
  • Mathias Sulser

    Mathias Sulser - 2005-07-05

    Logged In: YES
    user_id=595999

    1) i actually don't know if the irc-framework i use can
    handle with hostemasks. i have to check that first.

    2) granted. i'll implement this in the next release. would
    you like to set the different levels in the config or via a
    command e.g. "!adduser/addmaster nick"?

     
  • Mathias Sulser

    Mathias Sulser - 2005-07-05
    • priority: 5 --> 7
    • assigned_to: nobody --> suls
    • status: open --> pending
     
  • Anonymous

    Anonymous - 2005-07-05

    Logged In: YES
    user_id=1209582

    Hm i'd say the configuration of the different levels should
    be made in the config file (the user could use the !bot
    config.level... from the rehash command suggestion to change
    it on the fly, if that is implemented).
    Depending on the way the authentication is done a command to
    add users to the bot config could be handy. When the
    authentication is done like i described it in 1) b. it would
    be even perfect: the owner !addusers the user and the user
    then has to privmsg the bot the password he wants to use and
    the bot stores this password encryped together with the new
    users access in the config file. If the user doesn't set the
    password before he quits IRC his access isn't stored to
    prevent users with blank passwords.

     
  • Anonymous

    Anonymous - 2005-07-05
    • status: pending --> open
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.