I want my website to be accessed only using IE 6.0 or above. If anyone tries to access the website using any other browser I want to display a big warning message. Is it possible to configure this in web.config insted of checking via javascript. I am assuming something like in authentication we have customErrors attribute were we can set the custome error page in case of failure to authenticate the user.
Thank You.
Krishnaraj
I want my website to be accessed only using IE 6.0 or above. If
Share
You can use the HTTP_USER_AGENT header to see what’s the browser that’s submitting the request.
For I.E it would be like :
P.S: This header can be manipulated by the client and submitted to browser so it is not 100% reliable.
Am curious to know why you want to restrict users to I.E?