CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.security Tags:
Item Type: NewsGroup Date Entered: 11/16/2004 6:21:43 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 5 Views: 18 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
6 Items, 1 Pages 1 |< << Go >> >|
bridon123
Asp.Net User
upload permissions11/16/2004 6:21:43 PM

0/0

Hi I have built a simple ap that allows a user to upload a file to a webserver. I am confused about security. I am unable to upload the file unless I give the user EVERYONE write permissions to the directory. I would really prefer not to do this. I have tried giving the internet guest account write permissions and I have tried giving the aspnet account write permissions but still can't upload.

Could someone tell me what account to apply what permissions to?

Thanks.
joteke
Asp.Net User
Re: upload permissions11/16/2004 6:34:02 PM

0/0

Internet Guest won't help unless you have Windows authentication in use (and anonymous access enabled in IIS).

Shortly:

-If server is Windows 2003, correct account is NETWORK SERVICE (when using default process model of IIS 6 and no permissions are changed)
-If server is something else, account is ASPNET by default
-What can change these is if Windows authentication is in use, then it'll go by the permissions of the Windows identity in question, or if you have changed some default settings such as having impersonation going on with always one and the same custom account etc etc...

Thanks,

Teemu Keiski
Finland, EU
bridon123
Asp.Net User
Re: upload permissions11/16/2004 6:56:25 PM

0/0

Thanks Teemu,

I am using windows 2003. I have no such account called NETWORK SERVICE, could it be something else? I'm sure this server was set up with all defaults.

Also I have anonymous access set up in IIS but I am not using windows authentication in my code. Is that the only way this will work?

Thanks again.
joteke
Asp.Net User
Re: upload permissions11/16/2004 7:43:32 PM

0/0

Ok,

you should be able to check that on IIS (on application pool, and there Identity tab), or from processes (Task manager) that under which account does "w3wp.exe" (IIS process) run. It is NETWORK SERVICE by default, but by all means it can be changed.

Anonymous etc custom user account would apply only if you'd had Windows Authentication in use in code (in config files), otherwise it goes with the default process identity.
Thanks,

Teemu Keiski
Finland, EU
bridon123
Asp.Net User
Re: upload permissions11/16/2004 9:03:51 PM

0/0

ok, I'm getting nowhere fast here. Yes there is a NETWORK SERVICE account assigned to w3wp.exe, this is nice to know but how do I assign permissions with this account? It does not exsist in users&groups.

Sorry server admin is not my specialty.
bridon123
Asp.Net User
Re: upload permissions11/16/2004 9:38:17 PM

0/0

Never mind, I got it. Its a policy user.

Thanks for the help!
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Web Design in a Nutshell: A Desktop Quick Reference Authors: Jennifer Niederst, Jennifer Niederst Robbins, Pages: 618, Published: 2001
DotNetNuke For Dummies Authors: Lorraine Young, Philip Beadle, Scott Willhite, Chris Paterra, Pages: 408, Published: 2007
Perl and CGI for the World Wide Web: Visual QuickStart Guide Authors: Elizabeth Castro, Pages: 336, Published: 2001
Alan Simpson's Windows XP Bible Authors: Alan Simpson, Pages: 1200, Published: 2005
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Hardening Linux Authors: James Turnbull, Pages: 552, Published: 2005
Getting Permission: How to License & Clear Copyrighted Materials Online and Off Authors: Richard Stim, Pages: 410, Published: 2007
Professional DotNetNuke 4: Open Source Web Application Framework for ASP.NET 2.0 Authors: Shaun Walker, Joe Brinkman, Bruce Hopkins, Scott McCulloch, Patrick J. Santry, Chris Paterra, Scott Willhite, Dan Caron, Pages: 517, Published: 2006
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
Flickr Hacks: Tips & Tools for Sharing Photos Online Authors: Paul Bausch, Jim Bumgardner, Pages: 335, Published: 2006

Web:
Don’t rely on PHP file upload permissions | Tiger Technologies Blog Aug 13, 2007 ... Behind the scenes at Tiger Technologies. Announcements, technical details, useful tips, thoughts on the Web hosting industry, and more.
Upload Permissions Per Content Type | drupal.org Allows control over the file upload form per content type, per role. For example , you can turn off file uploads on forum topics for authenticated users, ...
Fetch Help: Set Upload Permissions command (Send FTP Commands) The Set Upload Permissions field in Send FTP Commands lets you specify the permissions to be used for files uploaded to an FTP server.
WordPress MU › Upload Permissions Problem « WordPress MU Forums I've installed WPMU (Build 082605)and I'm having a permissions problem (I think) . When a new user is created and wants upload an image, this is what comes ...
Download Upload Permissions Per Content Type - This Drupal module ... Aug 26, 2008 ... Upload Permissions Per Content Type This Drupal module allows control over the file upload form per content type, per role.
Interactivetools.com Forum: Products: CMS Builder: File upload ... Sep 10, 2008 ... Re: [Vaisoco] File upload permissions [In reply to], Can't Post ... CMS Builder tries to reset the permissions for hosts that would ...
php upload permissions/settings - openSUSE Forums I have a php upload script that would occasionally be handy, I have used it in the past but it isn't able to write files to the upload ...
Windows Vista and IIS7 Upload Permissions - ng.asp-net-forum ... Windows Vista and IIS7 Upload Permissions, > ROOT > NEWSGROUP > Asp.Net Forum > general_asp.net.security, Date: 4/27/2007 9:09:47 AM, Replies: 2, ...
'Feature request: Apache2::Upload permissions' - MARC [prev in thread] [next in thread] List: apreq-dev Subject: Feature request: Apache2::Upload permissions From: "Edward J. Sabol" Setting file upload permissions i noticed that when I upload a file using ExpanDrive (1.2.9) the permissions for the uploaded file are set to 700 despite the fact that the remote directory ...

Videos:
Linux File Permissions Part 1 This video explains in detail how file permissions in Unix-like systems work.The chmod command is explained as well as groups and sets of permissions...
By clicking "Upload Video," you are representing that this video does not violate YouTube's Terms of Use and that you own all copyrights in this video or have express permission from all copyright owners to upload it. By clicking "Upload Video," you are representing that this video does not violate YouTube's Terms of Use and that you own all copyrights in this vide...
Permission To Fly Episode 4: Emilys Return? Read Descrip. Ok, so i have changed my mind.This season {season 1} will last up to 20 episodes.This is so i can build up to the final and well cause alot of people...
Linux File Permissions Part 2 This video explains in detail how file permissions in Unix-like systems work.The chmod command is explained as well as groups and sets of permissions...
Super Mario Land 2: 6 Golden Coins TAS by Soulrivers (25:39) NOTE: This movie was NOT made by me. It was made by Soulrivers. ( http://uk.youtube.com/user/Soulrivers ). He asked me to upload it for him, because ...
Viacom Vs You = BOYCOTT (re-upload) Sorry to my subscribers who have already seen this; the original was deleted by an apparently fraudulent copyright claim. This is a re-upload with p...
Total Commander: How to give permissions (chmod) This video shows how to give permissions to users, group... using chmod. Here you can download this file: http://www.pcfiles.pl/download/index.php?a...
AMV round 3 winners (smbz1 gave me permission to upload it) yup
XU at 75 Music Video (Final Cut, Original Upload) Xavier University--Ateneo de Cagayan celebrates its 75th Diamond Jubilee Anniversary. This music video is made possible by the Xavier U Jubilee Commi...
Butch Willis (solo) Live 12/29/1996 at Galaxy Hut, Arlington VA Butch Willis (solo) Live 12/29/1996 at Galaxy Hut, Arlington VA. Upload permission granted by teenbeat. More info at www.teenbeat.net/artists/butch.h...




Search This Site:










bypassing login screen

migrate existing installation of dnn

default.aspx form not correct

unable to install on vs2005 team edition

santry paypal ipn module

customized registration module

dnn 3.0.5 disabling drag & drop?

tabbed web part of different user controls?

how to see whether the email id entered exists or not

custom collections - where to map

lastlogindate and formsauthentication (cookie) - how?

acces to path is denied!!!

problem to install dotnetnuke ver 3.05

writing newline with binarywrite

any codesmith templates for oracle script & provider?

can one download whidbey from msdn?

viewing profile

how to get the client's username in asp.net, import contacts from exchange server?

what is addparsedsubobject ?

easy login question i hope

dnn 3.1.1 web.config file missing (first timer)

urldecode a string into a hash of values

treeview imagetooltip

creating user control that allow literal content

upgrade 03.01.00 - 03.01.01 fails?

page title with sitemapprovider

creating a module that uses a different database than dnn's

login problems!!!

dotnetnuke.com

can t find my web page in search

 
All Times Are GMT