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

Problem in accessing a webservice using machine IP

Hi friends,

I have a problem in accessing the webservice which is in my machine(using my machine IP).
I am able to access the webservice using localhost.

For Ex:

I can access the webservice using http://localhost/WebSite5/MyWebService.asmx

but instead of localhost if i use Machine IP like http://192.168.123.100/WebSite5/MyWebService.asmx i get a dialog box asking username and password,but after entering the uname and pwd it says
"You are not authorized to view this page
You do not have permission to view this directory or page using the credentials you supplied.
"

I am new to this,so pls help me..

Thank u,
Rajesh Kannan
Jun 26 '07 #1
3 1437
jhardman
3,406 Expert 2GB
when you connect to the server with anything but localhost you are accessing the website with the name i_user, and you need to give i_user permission to read from those folders and possibly to modify certain files. I think this question comes up more often in the server forums, I'm not sure I could walk you through it.

Jared
Jun 26 '07 #2
Thank you Jared..

For time being i have taken off the password for IUSR_MACHINENAME and i have left it blank and everything works fine.

--> i have allowed annonymous access.
--> i have allowed IIS to control password.
-->Integrated Windows authentication is allowed.

Am i lacking security now...?


Thank u,
RK
Jun 28 '07 #3
jhardman
3,406 Expert 2GB
...Am i lacking security now...?
Thank u,
RK
yes. Of course you can restrict access if you want, but generally you want to give permission to see web sites. You just need to ask the question, "Have I given an anonymous user permission to do anything to this site that I don't want to allow?" Did you give iuser_machinename permission to modify or delete files? If you have just given permission to view than that's all the average user needs, unless you want odd users to modify certain things.

A good strategy is to restrict iuser's read/write/modify permissions to some odd folder from which you will not execute scripts. If you want to give some administrator permission to modify other folders, make sure that person must log in.

Jared
Jun 28 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Toma Marinov | last post by:
Hello ! I have a WebService. When I execute WS in browser on local machine - its OK! When I execute WS in browser on the server machine /with remote desktop/ - its OK! When I execute WebService...
2
by: hazz | last post by:
I don't get it. I have a VS2005 solution with a web service project and a windows project. The web service when tested on its own works fine. But when I add it as a web reference and refer to it my...
2
by: Psycho | last post by:
Hi I have a problem with an webservice on my machine. The problem is that i have the same code on production server and it works fine but on my machine does not work anymore. I have an xp + sp2...
1
by: Paul NGPC | last post by:
Hi folks This is a challenging and interesting topic. Need HELP on this, would be good if some tips/techniques can be given for the topic. Using VB.NET client to connect to JavaWebserver....
5
by: Dany C. | last post by:
We have install a valid SSL certificate issued to www.mycompany.com on our web server running IIS 6.0 / win2003 SP1. Then we have created a sub domain pointing to the same server for our web...
1
by: Mahesh Devjibhai Dhola | last post by:
Hi, Scenario: The webservice was developed on windows 2000 Pro and deployed previously on windows XP pro for testing. We have tested for many days. The client for that service was 30+ and...
1
by: =?Utf-8?B?TWFuaQ==?= | last post by:
Hi , i have a webservice which is been exposed to this url: http://localhost:1299/SampleWebService/Service.asmx if the same webservice if i try to access from different machine by providing...
0
by: =?Utf-8?B?TWFuaQ==?= | last post by:
Hi All, Problem in deploying my WebService developed using Asp.net WebServices 2005. I have designed simple WebService using Asp.net Webservices 2.0 , The webservice look this , using System;...
4
by: Jon | last post by:
I wrote a VS 2005 C# express programme that accesses a web service. It works fine when there's a direct connection to the internet, but on two different PCs with internet access via a proxy, I get...
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:
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
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...
0
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,...
0
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...
0
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,...

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.