RewriteEngine On

# Allow direct access (optional)
RewriteCond %{HTTP_REFERER} !^$

# Allow your own domain
RewriteCond %{HTTP_REFERER} !^https?://(www\.)?avit\.ac\.in [NC]

# Block other domains
RewriteRule \.(jpg|jpeg|png|gif|bmp)$ - [F,NC]
