Questions tagged [httpforbiddenhandler]

50 questions
37
votes
6 answers

How do I return a 403 Forbidden in Spring MVC?

I want my controller to return the right HTTP response code when the user lacks permission to view a particular page.
Will Harris
  • 21,597
  • 12
  • 64
  • 64
17
votes
7 answers

Mailgun - 401 forbidden

I try to send a email message by using mailgun. I use node.js (nest.js) and this is my mail service. What should I change? When I try to send first email (description in mailgun official website) I got the same error message. import { Injectable }…
Pawel
  • 427
  • 2
  • 7
  • 15
12
votes
4 answers

Forbidden You don't have permission to access / on this server. Server unable to read htaccess file, denying access to be safe

Right now I'm getting this message in a single site of my whole reseller account: Forbidden You don't have permission to access / on this server. Server unable to read htaccess file, denying access to be safe Additionally, a 403 Forbidden error…
user3692451
  • 549
  • 1
  • 6
  • 20
6
votes
2 answers

Glimpse.axd 403ing On IIS

When trying to access /Glimpse.axd after I've published to IIS (7.5), I'm now receiving a 403 Forbidden response. Is there a setting in IIS that disables access to .axd files? Or is this something else entirely?
4
votes
3 answers

Jupyterhub service unavailable error and http :403 forbidden

I installed the jupyterhub server with use of Github account username and secret id. but i got service unavailable when I run jupyterhub service ( https://my system ip:8000). I have python3.6 installed. How to solve this…
4
votes
1 answer

Website is ignoring System.Web.HttpForbiddenHandler and allowing download of web.config

My website is allowing the web.config file to be downloaded. However in my C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\web.config file I have this line
Ben Coffman
  • 1,750
  • 1
  • 18
  • 26
4
votes
2 answers

Custom 403 Error Page in Root Directory

I'm blocking a few IP addresses using the htaccess technique and this works well for all my pages except for the site/document root where the Fedora Core Test Page is displayed instead. I'm aware that the test page is shown when no document in the…
4
votes
2 answers

sitecore - allow access to sitemap.xml while disallowing other xml files

In our sitecore 6.6.0 (rev. 130404) project we have a sitemap.xml file in the root folder. However that file cannot be accessed from the browser because of a configuration in web.config.
ravinsp
  • 4,150
  • 2
  • 32
  • 43
3
votes
3 answers

Make Plone give proper 403 Forbidden errors

Default Plone behavior is to display login box when the user tries to access content for which he or she does not have permission. How to change this behavior so that instead and Unauthorized page is displayed? How to customize this unauthorized…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
3
votes
2 answers

403 forbidden on express. Can't accept Authorization header

I have a REST Api, and all endpoints must send a response when the user has an authentication token (I use the jwt token). everything works fine when I test my code using postman, but from front not working(session closes after OPTION request, and…
3
votes
4 answers

403 Forbidden : You don't have permission to access

Forbidden You don't have permission to access /install/step3.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Why is it showing this error when I'm trying to…
3
votes
8 answers

POST returns 403 if URL is in data

I am doing a simple jQuery post: $.post( "script.php", { urls: listOfURLs} ); The post works fine if it contains no URLs, however, if there are URLs included, then I get: POST script.php 403 (Forbidden) Is there some way I can sanitize this list…
brentonstrine
  • 21,694
  • 25
  • 74
  • 120
3
votes
1 answer

Access jenkins resources through another application

I am struggling on a situation where I have to display a graph(an image) of jenkins within another application. When I stay logged into jenkins(different tab in the same browser), the other application is able to use that image url to display the…
2
votes
0 answers

LinkedIn Avatar 403 Response

We’re seeing intermittent 403s from the media.licdn.com 4 server - some users can see the avatar, but others get a 403 at the exact same URL. I know this is fundamentally a LinkedIn issue, but since the Auth0 plugin is borrowing these images, any…
2
votes
0 answers

IIS 7.5 - SSL 403 - Forbidden: Access is denied

I've developed a simple ASP.NET application. In my test page i have this code: protected void Page_Load(object sender, EventArgs e) { Response.Write(Request.ClientCertificate.SerialNumber); } I've installed IIS Client…
1
2 3 4