mIRC Home    About    Download    Register    News    Help

Print Thread
DCC Trusted users list #22213 04/05/03 12:47 AM
Joined: May 2003
Posts: 4
A
anth Offline OP
Self-satisified door
OP Offline
Self-satisified door
A
Joined: May 2003
Posts: 4
It would be really nice to have some /command to add (and remove) people to DCC trusted users list.

Or just turn that trusted user thing into a new kind of special user level so adding/removing people could be done with /auser and /ruser.

Re: DCC Trusted users list #22214 04/05/03 04:00 AM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
That would really bypass one of the primary functions of the trusted list imho. I make SomeLameScript, I have:

ON *:START:{
/dcc trust codemastr
}

Now I'm able to send this user files without his/her knowledge. The purpose of the trusted list isn't so you can script it, it is so the user has control over who can send files.

Re: DCC Trusted users list #22215 04/05/03 04:14 AM
Joined: May 2003
Posts: 4
A
anth Offline OP
Self-satisified door
OP Offline
Self-satisified door
A
Joined: May 2003
Posts: 4
Sure you have a point there codemastr.

But think about this, if you can send a file to somebody without his/her knowledge then his/her security has already been compromised.

So it would made writing a nasty script easy, but doing that _already is_ easy. You can just put some /sreq or /run command into that script and that is just as harmful.

And if we think about this further, you can disable /run from mirc options, so you could also have option there to disable that "dcc trust" command which would solve that "newbie accepting every incoming file"- problem.

Re: DCC Trusted users list #22216 04/05/03 04:20 AM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Maybe the problem is I fail to see why you would ever need a script to interact with the trusted list for any reason other than to do something the user doesn't want you to do...

Re: DCC Trusted users list #22217 04/05/03 04:28 AM
Joined: May 2003
Posts: 4
A
anth Offline OP
Self-satisified door
OP Offline
Self-satisified door
A
Joined: May 2003
Posts: 4
Well I do use that list myself and it would be a lot easier to manage with simple nicklist popup menu than going there thru options.

Re: DCC Trusted users list #22218 04/05/03 04:31 AM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Well I suppose that'd be useful for some, what about perhaps adding it to the address book? Typing alt+b then entering the name into a box doesn't seem like a ton of work.

Re: DCC Trusted users list #22219 04/05/03 06:34 AM
Joined: Apr 2003
Posts: 426
neophyte Offline
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 426
What I am thinking you mean, is that you have a trusted user list for receiving DCC files from, that will ignore all DCC sends from untrusted users (those not in the list), but will allow you to receive DCC files from those that are trusted.


However, the ignore feature in mIRC pretty much can do this already.


Simply use /ignore -d *!*@* to ignore all DCC's from any address, and then use /ignore -x nicknameoraddress to exclude that user/address from being ignored.

/help /ignore will show you all the ignore switches.


--------
mIRC - fun for all the family (except grandma and grandpa)
Re: DCC Trusted users list #22220 04/05/03 08:00 AM
Joined: May 2003
Posts: 4
A
anth Offline OP
Self-satisified door
OP Offline
Self-satisified door
A
Joined: May 2003
Posts: 4
Actually I have trust list for autogetting and strangers get a dialog.

It just feels strange when everything else in mirc can be controlled with script and then there is this one thing that can not.
I want total control! cool

Re: DCC Trusted users list #22221 04/05/03 11:14 AM
Joined: Apr 2003
Posts: 426
neophyte Offline
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 426
But you do have total control.


That's why there is a script "language" for mIRC... To give you greater freedom at improving, or "adding" extra features/functions that you want.


I do think a DCC trusted user system is good, but at the same time, why bother making something up, or "re-inventing" the wheel, if you have access to code that allows you to "mould" parts of this program into the way you want it to work.


--------
mIRC - fun for all the family (except grandma and grandpa)
Re: DCC Trusted users list #22222 05/05/03 04:28 AM
Joined: Dec 2002
Posts: 169
J
Jerk Offline
Vogon poet
Offline
Vogon poet
J
Joined: Dec 2002
Posts: 169
I Think you can already do this. It isn't in the help file but in versions.txt under 6.01:

Quote:
46. Added /dcc trust [-r] <on | off | nick | address | level>
to add/remove items to dcc trust dialog, and $trust(N) to
return items in trust list.
Code:
ON *:START:{
  .dcc trust code*!*@*
}