Options -Indexes
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
<FilesMatch ".(eot|otf|ttf|woff|woff2)">
Header always set Access-Control-Allow-Origin "*"
</FilesMatch>

RewriteCond %{HTTP_REFERER} !^http://demosami.com/cursoda/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://demosami.com/cursoda$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.demosami.com/cursoda/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.demosami.com/cursoda$      [NC]
RewriteCond %{HTTP_REFERER} !^https://demosami.com/cursoda/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://demosami.com/cursoda$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.demosami.com/cursoda/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.demosami.com/cursoda$      [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php72” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php72 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

#----------------------------------------------------------------cp:ppd
# Section managed by cPanel: Password Protected Directories     -cp:ppd
# - Do not edit this section of the htaccess file!              -cp:ppd
#----------------------------------------------------------------cp:ppd
AuthType Basic
AuthName "Demo Curso Dermatitis Atopica"
AuthUserFile "/home/demosami/.htpasswds/public_html/cursoda/passwd"
Require valid-user
#----------------------------------------------------------------cp:ppd
# End section managed by cPanel: Password Protected Directories -cp:ppd
#----------------------------------------------------------------cp:ppd