please help me.
I have an application that loads a pdf file from a shared folder. but i found a problem with security in browser. I've tried adding a header reference to the app with middleware:
$response = $next($request);
$response->header('X-Frame-Options', 'DENY');
return $response;
and setting .htacces:
<IfModule mod_headers.c>
# Prevent click jacking
Header set X-Frame-Options Deny
Header always append X-Frame-Options SAMEORIGIN
</IfModule>
but it doesn't solve this problem. Can anyone help me about my problem?
Aucun commentaire:
Enregistrer un commentaire