State two ways preventing pinning.

1. Using Deflection Techniques: Deflection techniques involve modifying the input images or videos to contain features that make them less susceptible to pinning attacks. This can include adding obstructions or perturbations to the images or videos before uploading them to social media platforms.

2. Rule-Based Approaches: Social media platforms can use rule-based approaches to prevent abusive users from posting images or videos that can be used for pinning attacks. This can be achieved by prohibiting users from posting multiple images of the same person or scene in a short period of time or restricting the upload of images with high levels of similarity to previously uploaded content.