Home › Forum › Plugin e temi di WP › come vietare download immagini
-
AutorePost
-
-
11 Luglio 2015 alle 9:27 #29825beriiberiiPartecipante
Salve a tutti..
non riesco a trovare un plugin che mi permetta di vietare i download delle immagini dal mio sito..
mi potete aiutare??
Grazie anticipatamente
-
11 Luglio 2015 alle 9:59 #118170SteveAglAmministratore del forum
Troverai qualche plugin che blocca il click destro etc tutte cose banalmente aggirabili. Non esiste un modo per impedirlo veramente.
-
11 Luglio 2015 alle 15:50 #118176maxilopezPartecipante
Credo che questa cosa si possa fare solo tramite
una funzione del server o con htaccess.
Fai una valutazione però.
Se ti voglio fregare mi basta fare lo screenshot dello schermo
e li nemmeno il padre eterno ti aiuta.
-
15 Luglio 2015 alle 9:49 #118215mschifanoPartecipante
Io utilizzo questo plugin “All in one WP security” che, all’ultima voce del menu, precisamente la voce “Altre impostazioni”, che recita
Questa funzione consente di disabilitare la possibilità di selezionare e copiare testo dal front-end.
e di conseguenza disabilita l’uso del tasto destro del mouse.
Spero di esserti stato utile
Namastè
-
15 Luglio 2015 alle 10:09 #118217TittiModeratore
Anche con il blocco del tasto destro il download rimane possibile (basta aprire il sorgente della pagina e copiare l’URL), e il blocco è alquanto disturbante per l’utente che invece volesse, ad esempio, solo mettere la tua pagina nei preferiti. Almeno fa sଠche il blocco sia solo sulle immagini.
La protezione per il diritto d’autore più efficace rimane il watermark perché, dato che il download è sempre possibile, almeno l’immagine porta il nome del proprietario.
L’unico metodo infallibile è non pubblicare le foto che non si vogliono far scaricare.
-
16 Luglio 2015 alle 9:24 #118227daextPartecipante
Nel file htaccees puoi tenere conto del “HTTP referer” per decidere se mostrare l’immagine o se invece vuoi mandare come risposta un error 404.
“HTTP referer” è una header inviata durante l’invio di una richiesta HTTP e nel caso di immagini inserite in una pagina tutte le immagini vengono recuperate effettuando delle richieste HTTP che includo il “HTTP referer” della pagina che le sta richiedendo.
Nel caso in cui una immagine è richiesta da un utente che la visita direttamente accedendo all’URL dell’immagine la header “HTTP referer” non viene inviata.
Tu puoi utilizzare questo ragionamento creare una impostazione nel tuo “htaccess” che dice Servi le immagini jpg, jpeg, gif e png solo quando la richiesta include l’HTTP referer del tuo sito.
Tramite questo tool online Hotlink Protection ho creato queste regole da inserire nel tuo htaccess riferite al tuo sito.
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?/(www.)?vintagebuttonflaminia.com/ [NC]
RewriteRule .(jpg|jpeg|png|gif)$ - [NC,F,L]
Da notare che:
- l’header “HTTP referer” può anche essere simulata effettuando richieste HTTP con CURL o strumenti simili, quindi se un utente comprende il tipo di protezione che ha implementato per vietare il download delle immagini ed è molto esperto potrebbe comunque accedere alle tue immagini.
- Con una regola generica come questa stai impendendo anche ai motori di ricerca di accedere alle tue immagini. Puoi comunque migliorare la regola e permette a specifici crawler di accedere se vuoi.
Un altra soluzione può essere ( ad esempio nel caso in cui tu stia vendendo delle immagini ) quella di proporre pubblicamente delle versioni a bassa risoluzione o con un watermark a tutti gli utenti e di servire le immagini a risoluzione piena ad eventuali utenti loggati che ne devono avere l’accesso.
-
16 Luglio 2015 alle 15:36 #118232
-
16 Luglio 2015 alle 16:57 #118235beriiberiiPartecipante
ho chiesto questo perchè molto tempo fa, girando su internet, ho visto che quando cliccavo con il tasto destro su un’immagine su alcuni siti non ti faceva proprio aprire la tendina, su altri ti toglieva il tasto salva immagine e vorrei questo….come su wordpress.com (dico questo perchè sto spostando un altro sito da .com a .org…molto più libero) che mentre caricavi l’immagine ti diceva di non far scaricare l’immagine al cliente.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.