images folder access

G

Guest

I created a simple aspnet application which contains an imagebutton object.

The imagebutton's ImageUrl property is set to : images/myimage.gif
(the myimage.gif file is present in the /image subdir of the application
folder)

The ntfs permissons on the application folder as well as on /image
subfolder are:
Administrator - full
ASPNET - read, read & execute , list folder contents
system - full

When I start the application, the myimage button is not showing.

When I change /Images NTFS permisions, by adding Everyone group with read
permission,
the image is shown normally.

Is it necessary to give everyone read permission on /image subfolder?

Thanks.
 
K

Ken Schaefer

I suggest you use the Filemon tool from
http://www.sysinternals.com/ntw2k/source/filemon.shtml
to determine what user account in particular is being used to access the
image. For example, on an IIS 6.0 server, the ASPNET account is not used in
Worker Process Isolation mode, instead the Application Pool identity
(typically NT AUTHORITY\Network Service) is used, so you'd add the IIS_WPG
group to the ACL for the resource.

Cheers
Ken


<Trebor> wrote in message : I created a simple aspnet application which contains an imagebutton
object.
:
: The imagebutton's ImageUrl property is set to : images/myimage.gif
: (the myimage.gif file is present in the /image subdir of the application
: folder)
:
: The ntfs permissons on the application folder as well as on /image
: subfolder are:
: Administrator - full
: ASPNET - read, read & execute , list folder contents
: system - full
:
: When I start the application, the myimage button is not showing.
:
: When I change /Images NTFS permisions, by adding Everyone group with read
: permission,
: the image is shown normally.
:
: Is it necessary to give everyone read permission on /image subfolder?
:
: Thanks.
:
:
:
:
 
G

Guest

Thanks .

I solved the problem using filemon tool.
(I only need to grant read access to Internet Guest Account, not to
everyone)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,138
Messages
2,570,799
Members
47,347
Latest member
RebekahStu

Latest Threads

Top