Authorities in Shanghai tighten anti-virus rules