473,792 Members | 3,005 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web service deployment security

Hi,

the account under which the asp.net worker process is running has to have NTFS rights to the files/directories you are writing

under iis5/5.1 this is usually a account called ASPNET

under IIS6 you can configure that using app pools (the default is Network Service)

IIS authentication configures how the client has to authenticate with IIS to be able to call your webservice - there are really not that much options

anonymous - everybody can call it

basic - username / password are sent in cleartext (use SSL!!!!)

integrated only works if the client is a domain member

for the basic option - the username/password pair must resemble a windows account with that name + password

keep in mind - this is only authentication - unless you are impersonating in your webservice you don't have to give the clients user account NTFS rights - all file access operations are done in the security context of the worker process.

---
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

nntp://news.microsoft. com/microsoft.publi c.dotnet.framew ork.webservices/<uE************ **@TK2MSFTNGP11 .phx.gbl>

Hello NG !

Here is the situation :
- 50 WindowsCE + GPRS devices with a .NETCF application
- a server with a .NET web service

The app on the device needs to connect to the web service and needs to send
and receive from it DataSets.
The Web service need to read and write some files on the server.

.NETCF is not a problem for me but I'm not familiar at all with IIS and
Windows security settings. What is the best way to secure my web service ?
Do I have to create a special "WebService " user and to give only to this
user the rights on the deployment directory ?
In fact, I have to define both NTFS rights and IIS rights.
Can someone give me some clues or direction to look ?

Thanks !

Thomas.

[microsoft.publi c.dotnet.framew ork.webservices]
Nov 21 '05 #1
1 2041
OK, thank you very much.
Some questions :
- is this ASPNET account automatically used to perform my webservice's
methods or do I have to set it up somewhere ?
- to use SSL, could you give me some tips or samples which describes how
to set it up ?

Thank you again !

Thomas

"Dominick Baier" <do****@leastpr ivilege.com> a écrit dans le message de
news:eV******** ******@tk2msftn gp13.phx.gbl...
Hi,

the account under which the asp.net worker process is running has to have NTFS rights to the files/directories you are writing
under iis5/5.1 this is usually a account called ASPNET

under IIS6 you can configure that using app pools (the default is Network Service)
IIS authentication configures how the client has to authenticate with IIS to be able to call your webservice - there are really not that much options
anonymous - everybody can call it

basic - username / password are sent in cleartext (use SSL!!!!)

integrated only works if the client is a domain member

for the basic option - the username/password pair must resemble a windows account with that name + password
keep in mind - this is only authentication - unless you are impersonating in your webservice you don't have to give the clients user account NTFS
rights - all file access operations are done in the security context of the
worker process.
---
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

nntp://news.microsoft. com/microsoft.publi c.dotnet.framew ork.webservices/<uE************ **@TK2MSFTNGP11 .phx.gbl>
Hello NG !

Here is the situation :
- 50 WindowsCE + GPRS devices with a .NETCF application
- a server with a .NET web service

The app on the device needs to connect to the web service and needs to send and receive from it DataSets.
The Web service need to read and write some files on the server.

.NETCF is not a problem for me but I'm not familiar at all with IIS and
Windows security settings. What is the best way to secure my web service ? Do I have to create a special "WebService " user and to give only to this
user the rights on the deployment directory ?
In fact, I have to define both NTFS rights and IIS rights.
Can someone give me some clues or direction to look ?

Thanks !

Thomas.

[microsoft.publi c.dotnet.framew ork.webservices]

Nov 21 '05 #2

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

Similar topics

1
2737
by: Wendy Elizabeth | last post by:
Can you give me some suggestions of why the xml web service is not working? I have an xml web service that works in my visual studio. net 1.1 environment. I setup this project up for deployment doing the following steps: 1. add a web setup project called "testaddr". 2. in file system window, select Web Application folder. 3. in the left pane of the file system window, right-click web application, point to add, and then click output...
2
3294
by: raghavendra | last post by:
Hi, How to run automatically windows service by using setup deployment insatllation script using visual studio 2003.? What i did is :-- 1. created a windows service & tested the same. 2. then i used the windowsservice.exe in setup deployment project.
4
3538
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
0
330
by: Thomas | last post by:
Hello NG ! Here is the situation : - 50 WindowsCE + GPRS devices with a .NETCF application - a server with a .NET web service The app on the device needs to connect to the web service and needs to send and receive from it DataSets. The Web service need to read and write some files on the server.
3
14959
by: Amjad | last post by:
Hi, I just wrote a test Windows Service that creates a text file on startup (please see my code below). The file is never created. Protected Overrides Sub OnStart(ByVal args() As String) Dim swLog As StreamWriter = File.CreateText("C:\myLog.txt") swLog.WriteLine("My Windows Service has just started.") swLog.Close() : swLog.Flush() End Sub
1
2783
by: Duncan | last post by:
Guys a little please, I'm creating a windows application that uses a webservice and WSE1.0 to talk to a database, currently this works fine when using localhost, I now want to test the deployment of this webservice on another server (inhouse) so I know it will work when I come to put the webservice on to the webserver (external), I have used the copy project wizard in VB2K3 using file share and it puts the files on to the server, when I...
4
2050
by: Kevin Burton | last post by:
I found an article on calling a .NET web service from Java but it seemed to rely on GLUE and I was unable to find out how to download that software. There seems to be alot written on the Sun site, and I have downloaded the SDK and the web services SDK but I am not sure where to proceed from there. Basically I want to show how to do these simple tasks: 1) Call a .NET web service from a Java client 2) Build Java proxies based on a WSDL....
0
2232
by: cjharrelson | last post by:
I am trying to consume a .NET web service using UsernameToken plain text password authentication. Here is my .wsdd configuration file: <!-- Using the WSDoAllSender security handler in request flow --> <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <transport name="http" pivot="java:org.apache.axis.transport.http.HTTPSender"/>
1
2552
by: kirk.quinbar | last post by:
Have you ever used a .net deployment project to install a windows service? If so, then i ran into an issue recently that maybe you could shed some light on. I am sure I probably did something wrong, but I am experiencing something weird and am not sure if it has something to do with the way the WindowServiceInstaller class was created or if i did something wrong in my deployment project. Basically what happens is that after I build the...
0
10430
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10211
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10159
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5560
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4111
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3719
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2917
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.