sharing accounts

Post here if you have some suggestions or you want to request a new feature.
Post Reply
overkill
Posts: 8
Joined: Fri Oct 02, 2009 3:45 pm

sharing accounts

Post by overkill »

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.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: sharing accounts

Post by FTP »

I have wrote a lua script for you, please look at here:
http://www.wftpserver.com/bbs/viewtopic.php?f=6&t=187
overkill
Posts: 8
Joined: Fri Oct 02, 2009 3:45 pm

Re: sharing accounts

Post by overkill »

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.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: sharing accounts

Post by FTP »

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.
Post Reply