| Current Path : /home/smartconb/www/armencom33/images/eventgallery/ |
| Current File : /home/smartconb/www/armencom33/images/eventgallery/web.config |
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Block Image Files" stopProcessing="true">
<match url=".*\.(jpg|gif|png|jpeg|webp)$" ignoreCase="true" />
<action type="CustomResponse" statusCode="403" statusReason="Forbidden" statusDescription="Access to image files is denied." />
</rule>
<rule name="Allow Video Files" stopProcessing="true">
<match url=".*\.(mp4)$" ignoreCase="true" />
<action type="None" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>