Is it 'char bazaar' on website? You can't modify access to houses by editing database, when server is online.
All you can do on website is check, if player has some house invitations and block possibility to sell character.
To remove access to houses, you would need some Lua script that remove it 'in game'. What engine are you using?