Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 20th, 2005, 02:08 PM
matthuxtable matthuxtable is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Location: UK
Posts: 165 matthuxtable User rank is Private First Class (20 - 50 Reputation Level)matthuxtable User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 10 h 34 m
Reputation Power: 4
Access to IIS via WAN Port

Hi,

I have been experimenting with setting up my own web server. I am on a DSL connection with a dynamic IP Address. (I am using a service with a small program on your computer that posts your IP to their server every 30 minutes.) I am hoping to get this setup so that eventually I can serve my own website with my own server.

The trouble I am having, is that when I connect to the PC via the URL on the service (and via the actual IP Address of the machine) I am prompted to enter a username and password. I know that this is to do with IIS on the machine because I have to enter the IP Address of a user account on the machine, not my username and password for the service I am using.

Obviously, this is a major security issue, because passwords are being sent over the internet unencrypted. This feature would be ideal if you had to keep the site secure, but the site I eventually intend to run will be getting anonymous users, users that don't know a username and password.

I have tried setting the security permissions on the folder to Everyone, and even attempted this with Full Control, but dod not get anywhere.

Does anyone know anything about this out there? It would be a great help !

Thanks in advance

P.s. I am using Windows XP Pro SP2

Reply With Quote
  #2  
Old April 20th, 2005, 11:08 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 29 m 58 sec
Reputation Power: 181
SOme general information, IIS normally operates as the IUSR_computername user account. Perhaps that user account doesn't have the necessary permissions to your web files? You can use Windows Explorer to navigate to the actual files & folders and use the security tab to make sure the IIS user has permissions, or you may be able to use the permissions wizard in the IIS management console to fix the permissions.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old April 21st, 2005, 12:59 PM
matthuxtable matthuxtable is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Location: UK
Posts: 165 matthuxtable User rank is Private First Class (20 - 50 Reputation Level)matthuxtable User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 10 h 34 m
Reputation Power: 4
Hi, I sorted the problem. I think it was because I was not using the HTTP port. Once I reconfigured my settings to use the HTTP (80) port, it worked witohut a problem.

Thanks

Reply With Quote
  #4  
Old April 22nd, 2005, 12:32 PM
Phoenix's Avatar
Phoenix Phoenix is offline
Web-Standards Evangelist
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Posts: 1,522 Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 23 h 48 m 4 sec
Reputation Power: 9
Your answer doesn't use such key terms as "router" and "port forwarding"

Basically, Matthuxtable configured his router to route all incoming requests on Port 80 to the internal IP address of his IIS machine.

Note that this only applies if you have a router on a network, and not all routers support port-forwarding.

The procedure is slightly different for USB modems (besides, you shouldn't really use USB ADSL modems thesedays... too unsafe)

Reply With Quote
  #5  
Old April 23rd, 2005, 04:18 PM
matthuxtable matthuxtable is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Location: UK
Posts: 165 matthuxtable User rank is Private First Class (20 - 50 Reputation Level)matthuxtable User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 10 h 34 m
Reputation Power: 4
Quote:
Originally Posted by 1337_d00d
Your answer doesn't use such key terms as "router" and "port forwarding"

Basically, Matthuxtable configured his router to route all incoming requests on Port 80 to the internal IP address of his IIS machine.

Note that this only applies if you have a router on a network, and not all routers support port-forwarding.

The procedure is slightly different for USB modems (besides, you shouldn't really use USB ADSL modems thesedays... too unsafe)


Hi, Thanks for filling in the details I missed 1337_d00d! I wrote the last message in a hurry!

When I first tried this on a USB modem away from my desk, it worked without any settings needing to be changed, simply because it was connected straight to the computer and all incoming requests get sent to that computer. When you are connected to a network with a router, you have to tell the router what to do with requests on different ports, and what IP Address the request should be sent to. (So in this case, I sent it to my Web Server's IP Address). This is basically what Port Forwarding is.

There is an excellent website over at portforward.com which contains guides for setting up port forwarding on hundreds of different makes/models of routers, and it also has a load of information about which ports are used by certain applications.

P.s. I totally agree with 1337_d00d!
Quote:
Originally Posted by 1337_d00d
you shouldn't really use USB ADSL modems thesedays... too unsafe

Reply With Quote
  #6  
Old April 23rd, 2005, 05:45 PM
Phoenix's Avatar
Phoenix Phoenix is offline
Web-Standards Evangelist
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Posts: 1,522 Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 23 h 48 m 4 sec
Reputation Power: 9
USB Modems "suck" because:

a) Your public IP address is also the IP address of your computer
b) So anyone connecting to that IP address is contacting your computer directly
c) I've yet to see a single USB modem that has drivers that don't cause a BSOD in Windows
d) ...Or have FOSS Linux drivers
e) And you'll need a software firewall

Network Routers are great because
a) You don't need firewall software on every computer
b) Your computers are inherently protected from 90% of all nasties out there
c) Script-kiddies can't ping-bomb you anymore

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Access to IIS via WAN Port


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT