security

.htaccess configuration for an Image Uploader  #angularjs #reactjs

  • woff2 AddType application/zip .zip #Browser Caching ExpiresActive On ExpiresByType text/css A31536000 ExpiresByType text/x-component A31536000 ExpiresByType application/x-javascript A31536000 ExpiresByType application/javascript A31536000 ExpiresByType text/javascript A31536000 ExpiresByType text/x-js A31536000 ExpiresByType text/html A1382400 ExpiresByType text/richtext A1382400 ExpiresByType image/svg+xml A1382400 ExpiresByType text/plain A1382400 ExpiresByType text/xsd A1382400 ExpiresByType text/xsl A1382400 ExpiresByType text/xml A1382400 ExpiresByType image/bmp A31536000 ExpiresByType application/java A31536000 ExpiresByType application/vnd.ms-fontobject A31536000 ExpiresByType application/x-msdownload A31536000 ExpiresByType image/gif
  • x-shockwave-flash image/tiff application/x-font-ttf application/vnd.ms-opentype audio/wav application/font-woff application/font-woff2 AddOutputFilter DEFLATE js css htm html xml #Set Cache Control Header
  • ExpiresByType audio/wav A31536000 ExpiresByType audio/wma A31536000 ExpiresByType application/font-woff A31536000 ExpiresByType application/font-woff2 A31536000 ExpiresByType application/zip A31536000 ExpiresDefault “access plus 2 days” #Set GZIP Deflate Header append Vary User-Agent env=!dont-vary AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/bmp application/java application/vnd.ms-fontobject application/x-msdownload image/x-icon application/json application/x-font-otf audio/ogg application/pdf application/
  • Stack Overflow works best with JavaScript enabled
  • (css|htc|less|js|js2|js3|js4|CSS|HTC|LESS|JS|JS2|JS3|JS4)$”> FileETag MTime Size Header set Pragma “public” Header append Cache-Control “public, must-revalidate” Header unset Set-Cookie

So I’m setting up some security and caching in my htaccess for my Laravel Image Uploader and I was wondering if anyone with a bit more knowledge regarding htaccess could inform me if the current setup that I have would be sufficient for the website I am making:

@ng_real_ninja: .htaccess configuration for an Image Uploader #angularjs #reactjs

So I’m setting up some security and caching in my htaccess for my Laravel Image Uploader and I was wondering if anyone with a bit more knowledge regarding htaccess could inform me if the current setup that I have would be sufficient for the website I am making:

Thanks in advance for further information or guiding that could help me further with my project.

security

You might also like More from author

Comments are closed, but trackbacks and pingbacks are open.