Ask a Question related to ASP.NET Security, Design and Development.
-
Jason Myers #1
ASPX File Upload Issue
Hi
I am trying to build an aspx application. The application needs to upload
images to a web folder. Uploading images works fine, but if the image being
uploaded exists, it needs to be deleted first. I use dotnet's IO objects do
do the work, but keep getting an access denied security issue. I have
checked the rights to all nessessry directories, and made sure that ASP.NET
has full controll. I have done the same for IWAM and IUSER, and even in
deperation, given EVERYONE full controll, but no luck.
Any ideas will be appreciated.
Thanks
Jason Myers Guest
-
How to upload a file to 2 FTP sites without an upload component for company
Hi All I can't get round this because it's a local government thing, but I've done a CMS for a school (in ASP classic) that allows them to upload... -
.aspx issue
I am able to see my organizations web pages in code view, but I am unable to see them in design view. All I see in design view is a small shield... -
Upload Friendly (Multiple File Upload Applet)
Title : Upload Friendly (Multiple File Upload Applet) Description : UploadFriendly is an easy to use Java Applet that will allow multiple file... -
wss upload.aspx
I am using wss on 2003 with remote sql 2 I want to customize upload.aspx I have 2 custom columns I added to doc lib the upload.aspx has them as... -
including one aspx file in another aspx file
Is there a way is asp.net that I can include another aspx file ?. We can do this in asp by using include statement. -
Brock Allen #2
Re: ASPX File Upload Issue
The identity ASP.NET runs under isn't the same as it was in IIS (at least
by default). Under Windows 2000 and XP, the account is ASPNET and under Windows
2003 it's Network Service.
Now, given that you say you've given everyone on the machine perms to the
file, it makes me wonder if perhaps the file's locked by someone else and
this is your problem. Is it possible that's it's in use or you've forgotten
to close your reference to the file (in essence, leaking the file handle)?
What's the exact error you get back?
-Brock
DevelopMentor
[url]http://staff.develop.com/ballen[/url]
> Hi
>
> I am trying to build an aspx application. The application needs to
> upload images to a web folder. Uploading images works fine, but if the
> image being uploaded exists, it needs to be deleted first. I use
> dotnet's IO objects do do the work, but keep getting an access denied
> security issue. I have checked the rights to all nessessry
> directories, and made sure that ASP.NET has full controll. I have done
> the same for IWAM and IUSER, and even in deperation, given EVERYONE
> full controll, but no luck.
>
> Any ideas will be appreciated.
>
> Thanks
>
Brock Allen Guest



Reply With Quote

