473,387 Members | 1,603 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

File Upload Security

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
Jul 10 '07 #1
3 1128
Is the server Windows Server 2003? In that case the user would be NETWORK
SERVICE.

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

"Matt" <No****@Matt.comwrote in message
news:un********************************@4ax.com...
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

Jul 10 '07 #2
It's actually on XP Pro, running localhost to IIS
On Tue, 10 Jul 2007 19:46:04 +0300, "Teemu Keiski"
<jo****@aspalliance.comwrote:
>Is the server Windows Server 2003? In that case the user would be NETWORK
SERVICE.
Jul 10 '07 #3
In that case the correct user is ASPNET. What's the location you set the
permissions for, is it some special?

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Matt" <No****@Matt.comwrote in message
news:sf********************************@4ax.com...
It's actually on XP Pro, running localhost to IIS
On Tue, 10 Jul 2007 19:46:04 +0300, "Teemu Keiski"
<jo****@aspalliance.comwrote:
>>Is the server Windows Server 2003? In that case the user would be NETWORK
SERVICE.

Jul 11 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Dave Smithz | last post by:
Hi There, I have a PHP script that sends an email with attachment and works great when provided the path to the file to send. However this file needs to be on the same server as the script. ...
20
by: CHIN | last post by:
Hi all.. here s my problem ( maybe some of you saw me on other groups, but i cant find the solution !! ) I have to upload a file to an external site, so, i made a .vbs file , that logins to...
3
by: Mike Kelly | last post by:
Hi. I've built a page using standard ASP.NET 2.0 features and when I upload a large file (>20MB) to our intranet server, I get a paltry 100KB/s on our 100Mb/s LAN. Simply copying the file, I get...
12
by: GuangXiN | last post by:
I want the file upload element disappear, instead of it, I place a text box and a button with my own css defination. but it doesn't work on IE7. What should I do now? <form action="upload.php"...
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.