Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

File Upload Security

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matt - 10 Jul 2007 15:11 GMT
Hi all,

I am tryign to do simple file uploading and no matter where I try to
have the file saved to I am getting 'Access denied' to the
destination...

Dim newFile As New IO.FileStream(strPath, IO.FileMode.Create)

I have tried a numer of locations, each folder I have given EVERY user
FULL access to... Including ASPNET and IUSR_*

Anything else I need t check?  

Thanks!

Matt
Teemu Keiski - 10 Jul 2007 17:46 GMT
Is the server Windows Server 2003? In that case the user would be NETWORK
SERVICE.

Signature

Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

> Hi all,
>
[quoted text clipped - 12 lines]
>
> Matt
Matt - 10 Jul 2007 18:30 GMT
It's actually on XP Pro, running localhost to IIS



>Is the server Windows Server 2003? In that case the user would be NETWORK
>SERVICE.
Teemu Keiski - 11 Jul 2007 08:50 GMT
In that case the correct user is ASPNET. What's the location you set the
permissions for, is it some special?

Signature

Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

> It's actually on XP Pro, running localhost to IIS
>
>>Is the server Windows Server 2003? In that case the user would be NETWORK
>>SERVICE.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.