sharing accounts
-
- Posts: 8
- Joined: Fri Oct 02, 2009 3:45 pm
sharing accounts
I would like to see the ability to automatically ban a user account if they decide to share their account. For example: if multiple IPs are seen connecting under the same user.
-
- Site Admin
- Posts: 2082
- Joined: Tue Sep 29, 2009 6:09 am
Re: sharing accounts
I have wrote a lua script for you, please look at here:
http://www.wftpserver.com/bbs/viewtopic.php?f=6&t=187
http://www.wftpserver.com/bbs/viewtopic.php?f=6&t=187
-
- Posts: 8
- Joined: Fri Oct 02, 2009 3:45 pm
Re: sharing accounts
Thank you for the script. Can you add the ability to do a permanent ban instead of just a timed ban? How can I use it with a standard license? It tells me the event manager is not availible.
-
- Site Admin
- Posts: 2082
- Joined: Tue Sep 29, 2009 6:09 am
Re: sharing accounts
Do a permanent ban is very easy, just replace the line:
c_AddTempBlockIp("%Domain","%IP",nBlockTime)
with this new script:
local tabIPMask = c_GetIPMaskList("%Domain")
table.insert(tabIPMask,{"%IP",true})
c_SetIPMaskList("%Domain",tabIPMask)
And BTW, only Corporate edition supports this advanced feature. If you want to upgrade, please contact with us through email.
c_AddTempBlockIp("%Domain","%IP",nBlockTime)
with this new script:
local tabIPMask = c_GetIPMaskList("%Domain")
table.insert(tabIPMask,{"%IP",true})
c_SetIPMaskList("%Domain",tabIPMask)
And BTW, only Corporate edition supports this advanced feature. If you want to upgrade, please contact with us through email.