Anti-terror software which can stop material from being viewed on the internet may become compulsory for small online businesses.