To prevent someone from visiting your space but others can, you can refer to the following methods: 1. Restricting access rights: Only specific people are given access rights, and others cannot access; 2. Change the password of the space: Set the password of the space to a very sensitive combination of numbers or letters so that even those who know the password can try to access it, but the difficulty will be very high; 3. Make the album or log private: Set the album or log of the space to be visible only to the person so that even people who know the access rights of the album or log cannot access it. 4. Use a virtual IP address: Use a virtual IP address in the space so that even people who know the real IP address cannot access it; 5. Change the domain name: Change the domain name to a domain name that others cannot recognize. This way, even those who know the domain name cannot access it. It should be noted that these methods can only restrict other people's access to a certain extent. If the other party uses technical means to bypass the restrictions, then other solutions need to be sought.