473,382 Members | 1,441 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

publishing a website security

I was wondering exactly how secure publishing a website using vs2005 publish
command would be with the make this website updatable box checked in the
publish wizard compared to having it checked. The reason I ask, is because I
have an index.aspx file doing nothing more than a
Respons.Redirect("OtherFile.aspx"); to load the other file. I have to do it
this way because having 2 index files in the website with code on them will
break my code. The code that will break is in the master page load event:

String FileName = Path.GetFileName(Request.Path);
switch (FileName) {
case: "index.aspx":
This.MainMenu.Items[0].Enabled=false;
break;
....
//and so on through the whole Menu tree disabling the link
//for the page you are already on.
}

Is there a better way of doing something like this?... just wondering how to
get the index.aspx transfer to another page to work. I get "This page is a
placemarker...." message when I try to run it...

Nov 12 '07 #1
0 914

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

Similar topics

6
by: Doc | last post by:
I'm trying to get to the bottom of a problem I've been having with publishing a freebie website. I'm using a program called WebEasy. Using a very simple site upload as an example, in this case a...
0
by: tiendq | last post by:
Hi, My web application using a Http handler to handle request for *.aspx page in a specific folder e.g. /Articles , which generate requested page dynamically. It worked well. But when I...
1
by: philip | last post by:
I tried to publish on my address 'philippewarein.com' a minimal site. There is only one page, with some words : "This is my first site" This is the HTML code of this page, code created by Visual...
1
by: Rich | last post by:
When I try to publish my app I am now getting the 401 error message. It used to work. Then someone changed something on the server. We are now trying to change stuff back on the server. I don't...
5
by: Andy G | last post by:
I'm having a hell of a time publishing my first VS 2005 web site. All it tells me is publish failed. Is there any place that gives me a hint on why it failed? I'm typing in the website address...
1
by: brettmetcalfe | last post by:
Hi I have a problem publishing a web application. The web application has been developed using VS2005 and uses ASP.Net 2.0. The application works fine from inside VS2005. However when I build...
1
by: kiran01 | last post by:
Hi all , I am creating a web application in ASP.net 2.0 using C# . I am also using SQL Server 2005 as database . I am having problem in publishing website , i have published website...
2
by: Max2006 | last post by:
Hi, After I right-click on my web application project file and choose "Publish ." and do the publishing, the result publishable files does not include the *.ashx files. Is it by design? How...
10
by: Ty | last post by:
Hello all, I have built a site in VS 2008. using IIS7. Site works fine. So I publish to a local folder. I then go into IIS7 and add a virtural directory pointing to the compiled folder and make it...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.