Re: Permissions - giving "everyone" full permissions is bad ?

From: Scott Allen (bitmask_at_[nospam)
Date: 07/13/04


Date: Tue, 13 Jul 2004 16:49:26 -0400

Hi Tony:

One of the best ways to debug an issue like this is to turn on
auditing for objects and then get a log of exactly who is being denied
permission.

For some more information see:
http://odetocode.com/Blogs/scott/archive/2004/06/22/283.aspx

--
Scott
http://www.OdeToCode.com
On Tue, 13 Jul 2004 12:58:02 -0700, Tony Fonager
<fonager@newsgroups.nospam> wrote:
>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.sqlserver.programming)
  • Identity Impersonate - help!
    ... I have a website running on Windows 2000 Server, ... Server, SQL Server 2000 and SQL Server 2000 Analysis Services. ... ASPNET user has no rights on the other machine. ... the operating system" to be able to impersonate another user. ...
    (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)