Re: Composite Control need write permisson



Your host is actually recommending the correct course of action in this
case. If a control needs write access, then the permissions on the directory
must be modified to enable that. Using Integrated authentication isn't going
to alter that. It will still require the correct permissions used by the
user account that ASP.net is running under, the ASPNET user account or
Network Service account (for Win 2003 boxes). Does your host provide you
with a control panel? If so, then that is probably where you need to be
altering permissions. Every host I've run into either has this done through
a control panel, or has a process in place that let's you request particular
permissions for a folder. In this case though, it sounds as if they have
provided you with a mechanism to do this. I don't know of an FTP client
that is able to alter the permissions on a Windows Server, though there may
be one somewhere. Integrated Windows Authentication may cause some
side-effects that you're not aware of. Using this method changes how the
authentication request is sent to the client browser, typically requesting
an NTLM response. Non-IE browsers don't use NTLM authentication and can only
handle basic authentication responses. The side-effect is that when
switching methods you end up with browsers that can't authenticate the
anonymous user to view the site.

--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006


"manikal" <mijo.kaliger@xxxxxxxxx> wrote in message
news:1175094251.108562.282130@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I've just finished building my composite control, it is image gallery
that generates thumbnails from images in specified folder and creates
new folder in which generated thumbnails been saved.

For my control to operate correct in hosting environment in IIS -
Directory Security "Integrated Windows authentication" needs to be
checked. Is that "un-common" pre-request for control of this type?
I am asking this because when I uploaded my web application with this
control on site, on page with my control I get
"System.UnauthorizedAccessException:"
ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request
identity. ASP.NET has a base process identity (typically {MACHINE}
\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the
application is not impersonating. If the application is impersonating
via <identity impersonate="true"/>, the identity will be the anonymous
user (typically IUSR_MACHINENAME) or the authenticated request user.
Exception is raised when control need to create "thumbnails" folder.

So, I've requested my hosting provider to check "Integrated Windows
authentication" for my site, but they provided me with workaround
instructions on how can I set "modify" permissions on parent folder of
"thumbnails" folder. But that doesn't solve my issue because I can't
set permissions with my FTP client.
My question is, is there some kind of security risk for hosting
provider to grant my site "Integrated Windows authentication", if it
is, is there any way for my control to work without need of taking
care pre-requests like this one.

Thanks,
manikal



.



Relevant Pages

  • Printer Permission Issue
    ... I'm stumped on an issue regaurding a printer right now. ... I have no access to permissions on domain X but full control of the entire Y Domain. ... If the authentication is cached to his computer how do I make it happen for this other printer. ...
    (microsoft.public.win2000.networking)
  • Re: Remoting from a control hosted in IE
    ... Asserting permissions almost certainly won't help with this, ... and client (the control) subscribes to this event. ... > but what permissions and where do I assert them - I have no clue. ... An error occurred while processing the request on ...
    (microsoft.public.dotnet.security)
  • Re: Multi user locking after first update
    ... the shared drive, I can't change the permissions, so I will request it ... Turns out all users have "Full Control" of the folder. ... I have also tested the query itself without the form. ...
    (comp.databases.ms-access)
  • Re: Allowing user access to one single file in a folder.
    ... Access to the folder is controled by groups ... > and users are given full control of the files at the folder level. ... > the first request to allow someone only access to a single file. ... permissions from the parent to propogte this object..." ...
    (microsoft.public.win2000.security)
  • Re: Connection to SQL Server
    ... request does not know anything about any prior requests. ... What you need to do is establish a connection to the SQL server on each page ... So I want to use Forms authentication to allow the user to ... >> the SQL Server Application role to simplify the management of permissions ...
    (microsoft.public.dotnet.general)