Permissions - giving "everyone" full permissions is bad ?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Tony Fonager (fonager_at_newsgroups.nospam)
Date: 07/13/04


Date: Tue, 13 Jul 2004 12:58:02 -0700

Hi all,

I have developed an ASP.NET application, on my windows xp using visual studio 2003 professional.

Now I want to deploy this app to a windows 2003 web edition server, so my customers can test the app.

I have prepared a new site on the windows 2003 server, and copied all files over to this server.

It works perfectly, but when my app tries to create / write to a TXT file, it throws an "System.UnauthorizedAccessException" exception. If I test ASPX files which does not try to create a TXT file, I get no exception.

So I go into the properties for the dir where this TXT file is, and adds ASPNET user and gives it "modify" permissions - no luck!

I then do the same with the "IUSR_<machine>" user - no luck!

Finally, in total desperation, I add the "Everyone" user and gives it FULL access, and then my ASP.NET application works ...

My question is now :

1) How do I setup the right permissions ? I cannot be true, that I need to add full permissions to the "Everyone" user account ...

Am I missing something here ? Please help me ...

Regards,
Tony Fonager, Denmark



Relevant Pages

  • RE: Beginners Questions
    ... We do use Windows form on the presentation layer which is on ... terminal server and call web services on the business logic side. ... of using "proxy" authentication on SQL Server. ... > I have written an app with a Windows Forms UI that is deployed to clients ...
    (microsoft.public.dotnet.distributed_apps)
  • HELP!! CS0016 Compilation Error on Windows 2003
    ... I have the following problem with ASP.NET running on Windows 2003. ... Windows 2003 Server Standard ... directory and added in the security tab the ASPNET user to the list, ... ASP.NET working processes (iis6 and iis5 isolation mode) for Windows ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
    ... app works perfectly on Windows 2000 server, but after moving same app to ... I am running my app on HP DL380 server, on a HP ProCurve switched network, ...
    (microsoft.public.inetserver.asp.general)
  • Re: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
    ... app works perfectly on Windows 2000 server, but after moving same app to ... I am running my app on HP DL380 server, on a HP ProCurve switched network, ...
    (microsoft.public.sqlserver.programming)
  • Re: Permissions - giving "everyone" full permissions is bad ?
    ... >Now I want to deploy this app to a windows 2003 web edition server, so my customers can test the app. ... >So I go into the properties for the dir where this TXT file is, and adds ASPNET user and gives it "modify" permissions - no luck! ...
    (microsoft.public.dotnet.framework.aspnet)