sharing accounts

Post here if you have some suggestions or you want to request a new feature.

sharing accounts

Postby overkill » Sat Mar 13, 2010 7:47 pm

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.
overkill
 
posts 8
 
joined Fri Oct 02, 2009 3:45 pm

Re: sharing accounts

Postby FTP » Sun Mar 14, 2010 4:16 pm

I have wrote a lua script for you, please look at here:
http://www.wftpserver.com/bbs/viewtopic.php?f=6&t=187
FTP
Site Admin
 
posts 1232
 
joined Tue Sep 29, 2009 6:09 am

Re: sharing accounts

Postby overkill » Sat Mar 20, 2010 9:01 pm

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.
overkill
 
posts 8
 
joined Fri Oct 02, 2009 3:45 pm

Re: sharing accounts

Postby FTP » Sun Mar 21, 2010 3:25 am

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.
FTP
Site Admin
 
posts 1232
 
joined Tue Sep 29, 2009 6:09 am


Return to Suggestions & Wishlist

Who is online

Users browsing this forum: No registered users and 0 guests