The HTTP 403 Forbidden Error signifies that the accessibility to some specific file/folder you want to access is being refused as a result of consent or because of misconfiguration. To look at this further you want to look at the server logs if you're a system administrator.
Different browsers will display 403 Forbidden Error in various ways. I'm listing few frequent browser mistakes.
By default, obtaining site files of an individual is prohibited to most users. By way of instance, if any unidentified client/users attempt to get without any statements, it shouts 403 forbidden error.
If the permissions of all directories/files place to 000 afterward there's a prospect of tripping 403 Forbidden error when you get your site.
Occasionally we receive the"403 Forbidden" error, though the permissions and everything is nice. In this circumstance, we will need to inspect the .htaccess record of your site's document root folder.
Let us see the preferences. I'm giving few choices that you are able to upgrade on your .htaccess file.
Deny access to entire website from all IP's except from one (1.1.1.1)
Allow from 1.1.1.1
Deny from all
Deny access to all .html files from all IPS except 1.1.1.1
<FilesMatch ".html$">
Allow from 1.1.1.1
Deny from all
</FilesMatch>
Deny access to all .html, .htm, .txt, .jpg, .jpeg files from all IPS except 1.1.1.1
<FilesMatch ".(html|htm|txt|jpg|jpeg)$">
Allow from 1.1.1.1
Deny from all
</FilesMatch>