画像の保存やメール転送を制限する方法

Softbank端末用に画像の保存やメール転送を制限するには、x-jphone-copyrightヘッダーを指定します。

属性値動作
no-storeコピー/メール添付/外部転送禁止
no-transferメール添付禁止
no-peripheral外部転送禁止

PHPで設定する方法

header('x-jphone-copyright: no-transfer');

header('x-jphone-copyright: no-peripheral');

header('x-jphone-copyright: no-store');

.htaccessで設定する方法

<FilesMatch "\.(jpg|png)$">
Header set x-jphone-copyright no-store
Header append x-jphone-copyright no-transfer
Header append x-jphone-copyright no-peripheral
</FilesMatch>

関連記事

スポンサーリンク

Mantisのユーザー管理テーブル(mantis_user_table)

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る