restrict commands |
Author: |
Message: |
rezvendous
New Member
Posts: 6
Joined: Jun 2006
|
O.P. restrict commands
Hi all, Im installing msgplus in a cybercafe and my boss told me that functions potentially dangerous must be removed.
With resource hacker I'd deleted most of them but I cant restrict certain extremely dangerous commands like "execute command" and "send file" etc. I know I can deactivate the msgplus command line but if so, I lose functions like color text, sounds, etc.
Is there any way to deactivate specific commands??.
Congratulations Patchou & co. for your GREAT work.
Many thanks and sorry bout my english, I'm spanish
|
|
06-07-2006 05:17 PM |
|
|
matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: restrict commands
You can disable the options panel (like password protect it)
And create a QuickText inplace of the commands you want removed like /sendfile and /run and just have it return no text that will overwrite the Plus! commands. You will also want to do the same for /dropfile.
|
|
06-07-2006 05:29 PM |
|
|
rezvendous
New Member
Posts: 6
Joined: Jun 2006
|
O.P. RE: restrict commands
It works great, i only have to deny permissions to luser in /hku/software/patchou/msgplus2/'user'/preferences/quicktext/quicktext[command] cos I want to leave some freedom to luser to modify their own configuration and not to protect it by password.
Many thanks
|
|
06-07-2006 05:56 PM |
|
|
matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: restrict commands
That would work I guess, only problem is that they wont be able to create any quicktexts at all.
|
|
06-07-2006 06:02 PM |
|
|
CookieRevised
Elite Member
Posts: 15517 Reputation: 173
– / /
Joined: Jul 2003
Status: Away
|
RE: restrict commands
quote: Originally posted by rezvendous
With resource hacker I'd deleted most of them
It is not allowed to modify any file from Messenger Plus!.
And certainly not when other people than you have access to it!!
.-= A 'frrrrrrrituurrr' for Wacky =-.
|
|
06-07-2006 06:07 PM |
|
|
rezvendous
New Member
Posts: 6
Joined: Jun 2006
|
O.P. RE: RE: restrict commands
quote: Originally posted by CookieRevised
quote: Originally posted by rezvendous
With resource hacker I'd deleted most of them
It is not allowed to modify any file from Messenger Plus!.
And certainly not when other people than you have access to it!!
I didn't knew that, I don't usually read EULA, is there some problem to do that? Can I have your agreement? if you want I can send you modified files.
Thanks
|
|
06-07-2006 06:18 PM |
|
|
matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: restrict commands
Other option would be to just create the quicktexts inplace of the commans you want to disable and dont allow the user write permissions to that key. you can allow read but not write and that would work.
|
|
06-07-2006 06:29 PM |
|
|
rezvendous
New Member
Posts: 6
Joined: Jun 2006
|
O.P. RE: restrict commands
thats exactly what I did but adding that quicktext in nobody as default user in a try to apply this to all users. but didnt work, the problem is that I dont know the user which will connect to add him the quicktext registry entries.
|
|
06-07-2006 06:40 PM |
|
|
RaceProUK
Elite Member
Posts: 6073 Reputation: 57
39 / /
Joined: Oct 2003
|
RE: restrict commands
To be fair, it's only /exec, /dropfile, and similar that are potentially dagerous. All other commands and tags are fine.
|
|
06-07-2006 06:51 PM |
|
|
matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: restrict commands
If you have any programming experience create a DLL for the plugin and an EXE. Have the DLL launch the exe with runas so you can access the registry keys and create them for each user.
If you dont have programming experience PM me the commands you want disabled, and the Admins login and password and I can make it for you.
|
|
06-07-2006 06:55 PM |
|
|
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|