Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > publishing a website security

Thread Tools

publishing a website security

Posts: n/a
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":
//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...

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VS2005 - Publishing Website - Best practice? Patrick ASP .Net 2 01-18-2006 03:10 PM 2005: Publishing website--url is not remembered ASP .Net 0 01-08-2006 04:02 AM 2005: Publishing website--url is not remembered ASP .Net 0 12-13-2005 08:08 PM
Http handler conflict with Website publishing mode ASP .Net 0 12-05-2005 02:01 AM
Publishing ASP.NET Website chuckdfoster ASP .Net 6 06-14-2005 08:25 PM