Hide .aspx

  • Thread starter Thread starter Rena
  • Start date Start date
R

Rena

Hi all,
I would like to know if there are any way to hide the xxxx.aspx on my
URL on server-side to avoid anonymous knowing i am using ASP. Net ?

Thanks a lot.
 
you could create a Http Handler for your own extension type (*.rena), check
out IHttpHandler interface.

HTH

Ollie Riches
 
If you mean you want to provent from anonymous access
your .NET pages, you can use following setting

<authorization>
<deny users="?" />
...
</authorization>

in Web.config file

Elton Wang
(e-mail address removed)
 
The easiest way is to configure IIS to use the ASP.Net ISAPI to process
files with the extension "xxx" (make one up). Then rename the extensions of
your pages to ".xxx" instead of ".aspx".

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
Hi all,
I would like to know if there are any way to hide the xxxx.aspx on my
URL on server-side to avoid anonymous knowing i am using ASP. Net ?

Woudln't the viewstate in the source markup pretty much give you away
regardless of the file extension?

-Darrel
 
Among other things. Asp .net pages are easily recognized if you view the
source.
 
Well, you could override the SaveViewState and LoadViewState methods of the
page to make it a lot less obvious...

dealing with those ctl0's might be tricky though.

Karl
 
And don't forget that the default headers will give you away:


HTTP/1.1 200 OK
Date: Wed, 19 Jan 2005 01:48:28 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 1758
Content-Type: text/html
Cache-control: private
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top