473,385 Members | 1,523 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,385 software developers and data experts.

How to turn off my local host ??

I am working on a DotNet Web Application and have some internal users
"testing" my application by accessing it through my PC Name (example:
http://MyPCName/Folder/Folder/home.aspx).

How can I turn off access to my Local Host Files in DotNet ?
Jul 21 '05 #1
3 7243
You could set a redirect in you default page to go to some page if it is not
called from your computer.

"BTHOMASinOHIO" <bt************@yahoo.com> wrote in message
news:db*************************@posting.google.co m...
I am working on a DotNet Web Application and have some internal users
"testing" my application by accessing it through my PC Name (example:
http://MyPCName/Folder/Folder/home.aspx).

How can I turn off access to my Local Host Files in DotNet ?

Jul 21 '05 #2
The simplest way would be to change IIS to use a non-
standard port and don't tell anyone (I'm assuming that
your internal users are not mallicious and will not do a
port scan). To change IIS, go into your Internet Services
Manager and go to the properties of the default web site.
Change the port from 80 to some other port (above 1024 (or
somewhere around there)), eg 2100 (use 'netstat -an' to
ensure that the port you use isn't already being used on
your machine). Then to access the site you just use http
(s)://machinename:portnumber/etc/etc.aspx.

Tell everyone else that you'r not runnin IIS on that
machine anymore ;-).

Good luck,
Martin
-----Original Message-----
I am working on a DotNet Web Application and have some internal users"testing" my application by accessing it through my PC Name (example:http://MyPCName/Folder/Folder/home.aspx).

How can I turn off access to my Local Host Files in DotNet ?.

Jul 21 '05 #3
Redirect the default page to a porn site. That should get them to stop. BTW
just kidding!

"BTHOMASinOHIO" <bt************@yahoo.com> wrote in message
news:db*************************@posting.google.co m...
I am working on a DotNet Web Application and have some internal users
"testing" my application by accessing it through my PC Name (example:
http://MyPCName/Folder/Folder/home.aspx).

How can I turn off access to my Local Host Files in DotNet ?

Jul 21 '05 #4

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

Similar topics

5
by: steve | last post by:
Hi, I finally figured out the best way to synch local and remote script folders, containing many php script files. What I used to do before was try to ftp all the changed files, etc. which was...
3
by: Robert Tarantino | last post by:
Hello, I am trying to find a way to create a scheduled task or service that will copy my local profile folders under "Documents and settings" to a network drive. This would allow me to restore...
3
by: Pugi! | last post by:
On a freshly installed Fedora C3 (incl. webserver apache php mysql) i get the following problem when connecting to mysql through a browser (phpMyAdmin): : #2002 Can't connect to local MySQL...
13
by: Niki Kovacs | last post by:
Hi, I'm an Austrian writer living in Montpezat (South France). I just installed a local W3C validator on my machine (Slackware 10.1, local Apache server). It's accessible as...
1
by: Jonathan Lee | last post by:
Dear all I want to program implementation scan all of the IIS host or SqlServer host in the local network. But I only can search all of computer in the local network now. And how can I determind...
3
by: BTHOMASinOHIO | last post by:
I am working on a DotNet Web Application and have some internal users "testing" my application by accessing it through my PC Name (example: http://MyPCName/Folder/Folder/home.aspx). How can I...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
5
by: Hooyoo | last post by:
Hi, here, How to get local machine name and IP address? Thanks.
5
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a app that uses several membership/role providers. I can list these Providers with the code: Dim rootWebConfig1 As Configuration rootWebConfig1 =...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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.