Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

How to remove asp.net error message for security audit

$
0
0

As soon as I introduce script in developer tool's console window an asp.net error message appeared

script:

frame=document.createElement("iframe");frame.src ="/";document.body.appendChild(frame);

Error message:

403 - Forbidden: Access is denied.You do not have permission to view this directory or page using the credentials that you supplied.

enter image description here

I want a non asp.net message(shown below) to display rather than displaying above mentioned asp.net error message

Example:

enter image description here


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>