473,587 Members | 2,473 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hide .aspx

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.
Nov 19 '05 #1
9 1710
If you mean you want to provent from anonymous access
your .NET pages, you can use following setting

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

in Web.config file

Elton Wang
el********@hotm ail.com

-----Original Message-----
Hi all,
I would like to know if there are any way to hide the xxxx.aspx on myURL on server-side to avoid anonymous knowing i am using ASP. Net ?
Thanks a lot.
.

Nov 19 '05 #2
you could create a Http Handler for your own extension type (*.rena), check
out IHttpHandler interface.

HTH

Ollie Riches

"Rena" <Re**@mail.co m> wrote in message
news:#o******** ******@TK2MSFTN GP09.phx.gbl...
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.

Nov 19 '05 #3

you can map any extension to aspnet_isapi.dl l, simply go to IIS, go to your
websites properties, under "ISAPI Filter" "ADD" a new extension and make it
point to aspnet_isapi.dl l

this might be slightly useful:
http://aspnet.4guysfromrolla.com/articles/020404-1.aspx even though it's to
achieve something else.

Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"Rena" <Re**@mail.co m> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
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.

Nov 19 '05 #4
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.

"Rena" <Re**@mail.co m> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
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.

Nov 19 '05 #5
> 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
Nov 19 '05 #6
Among other things. Asp .net pages are easily recognized if you view the
source.

"darrel" wrote:
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

Nov 19 '05 #7
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

--
MY ASP.Net tutorials
http://www.openmymind.net/
"darrel" <no*****@hotmai l.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
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

Nov 19 '05 #8
Hi Karl, and others
Thanks a lot. for the suggestion and reminder :)

Rena

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> ¦b¶l
¥ó news:%2******** ********@TK2MSF TNGP12.phx.gbl ¤¤¼¶¼g...

you can map any extension to aspnet_isapi.dl l, simply go to IIS, go to your websites properties, under "ISAPI Filter" "ADD" a new extension and make it point to aspnet_isapi.dl l

this might be slightly useful:
http://aspnet.4guysfromrolla.com/articles/020404-1.aspx even though it's to achieve something else.

Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"Rena" <Re**@mail.co m> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
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.


Nov 19 '05 #9
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

"Rena" <Re**@mail.co m> wrote in message
news:Og******** ******@TK2MSFTN GP12.phx.gbl...
Hi Karl, and others
Thanks a lot. for the suggestion and reminder :)

Rena

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
¦b¶l
¥ó news:%2******** ********@TK2MSF TNGP12.phx.gbl ¤¤¼¶¼g...

you can map any extension to aspnet_isapi.dl l, simply go to IIS, go to

your
websites properties, under "ISAPI Filter" "ADD" a new extension and make

it
point to aspnet_isapi.dl l

this might be slightly useful:
http://aspnet.4guysfromrolla.com/articles/020404-1.aspx even though it's

to
achieve something else.

Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"Rena" <Re**@mail.co m> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
> 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.
>
>




Nov 19 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2934
by: lydia sista via DotNetMonster.com | last post by:
hi! help... How do you show/hide item's data? Like sale item on product catalogue. I want to show the sale image when the status of product is on sale. in my catalogue I use datalist: ------------------------------------------------------------------ <ASP:DataList id="MyDataList" RepeatColumns="3" runat="server"> <ItemTemplate> <table...
2
1692
by: bhavik | last post by:
hi i want to know how to hide the values in query string in ASP.net. here i want to send the values from one page to another page through query string with out explicitly visible the values in the query string. i want the solution with the response.redirect method. example : www.mysite.com/member.aspx?id=123&name=coco but i wan the link...
3
8242
by: Arjen | last post by:
Hi, Is there a way to hide the querystring? Now I have URL's like this: ....aspx?name=james&zip=1234 Is there a simple way to read this "name=james&zip=1234" and hide it? If there are more options, what's the best?
13
4497
by: Matt | last post by:
Does anyone know how to hide the ASPX extension of web pages in ASP.Net 2.0? Thanks, Matt
2
1801
by: Badass Scotsman | last post by:
Hello, I have two files, default.aspx and default.aspx.cs. On my ASPX file I have the following code: <asp:panel ID="MyPanel" runat="server"> Content Here </asp:panel> And I want to hide this panel when I run my Button_Click routine, which is
5
11081
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hello to all, I have a page ASPX that calls to another one. It does window.open to another URL, and I want to hide the URL because the user not must see the querystring by security subjects. I discard properties of window.open (javascript) because the url can be displayed by contextual menu of IE - Option Properties.
6
18650
by: Max2006 | last post by:
Hi, I need to hide a series of siteMapNodes to certain roles. That means roles have access to the siteMapNode, but the node doesn't appear on the navigation menu. I'll use Response.Redirect to jump to hidden pages. How can I do that? I tried securityTrimmingEnabled="true" in my web.config. But it doesn't help because the pages are...
2
2610
by: ganesh22 | last post by:
Hi, How to Hide QueryString Value in asp.net? ex: iam having the link like this http://forums.asp.net/AddPost.aspx?ForumID=22 so i want to hide ForumID value there in some urls i saw like this http://forums.asp.net/AddPost.aspx?ForumID= how they hide the value?
3
3930
by: PhilTheGap | last post by:
Hello, I woulf like to hide an activeX object in a aspx page. The ActiveX is decalred statically in the HTML code, and I'e tried to set the html visible "property" to "false" in the javascript page_load function (in the aspx page). It didn't do anything although the code is executed correctly (I check with an alert...). Do you see why ?
9
9751
by: moondaddy | last post by:
using c# 3.5 I have list of business objects which I will use in lists for databinding and I want to hide some of the fields so they don't show up in the list control. some of my list will be: List<someClasslist Observable collections and a custom list derived from the BindingList.
0
7918
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7843
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8206
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7967
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6621
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5713
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2353
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.