473,698 Members | 2,344 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

File Permissions, write but not delete

I'm trying to set up a group of shared folders.
Folder 1
Folder 2
Common Share

I want all users that have access to folder 2 to be able to create new
folders, add documents to the sub folders, pretty much do everything
but delete. I have been unsuccesful so far. I either have to give
everyone complete access which then gives them the delete option, or I
give them read only which takes away their modify ability.
I have tried changing the effective permissions by giving the specified
users write permissions but deselecting the delete option. Yet that
still doesn't work. Any advice is greatly appreciated.

NGsysad

Nov 19 '05 #1
3 1889
Hi NGsysad:

What exactly happens when you say it doesn't work?
Are you using integrated authentication and impersonation?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 13 Oct 2005 06:59:42 -0700, kr*******@yahoo .com wrote:
I'm trying to set up a group of shared folders.
Folder 1
Folder 2
Common Share

I want all users that have access to folder 2 to be able to create new
folders, add documents to the sub folders, pretty much do everything
but delete. I have been unsuccesful so far. I either have to give
everyone complete access which then gives them the delete option, or I
give them read only which takes away their modify ability.
I have tried changing the effective permissions by giving the specified
users write permissions but deselecting the delete option. Yet that
still doesn't work. Any advice is greatly appreciated.

NGsysad


Nov 19 '05 #2
I have folders created and have basic read write privleges for users on
the parent folder. In the sub folders I have broken it down to specific
user privleges. My main thing that's not working is the delete and
create folders and files. I have denied a users ability to delete and
they can still delete, i have denied them access and they can still get
in. What am I doing wrong

Nov 19 '05 #3

Are you using windows authentication?
Are you using impersonation?

If not, all the requests will be running with the ASP.NET identity
(defaults to ASPNET on IIS 5.x, NETWORK SERVICE on IIS 6.0), and these
accounts may have delete capability on those directories.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 17 Oct 2005 05:27:12 -0700, kr*******@yahoo .com wrote:
I have folders created and have basic read write privleges for users on
the parent folder. In the sub folders I have broken it down to specific
user privleges. My main thing that's not working is the delete and
create folders and files. I have denied a users ability to delete and
they can still delete, i have denied them access and they can still get
in. What am I doing wrong


Nov 19 '05 #4

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

Similar topics

5
6470
by: Phil Powell | last post by:
print_r(is_file("$logPath/$logFileName")); // RETURNS 1 unlink("$logPath/$logFileName"); // RETURNS WARNING: PERMISSION DENIED This code should tell me that the file located at $logPath/$logFileName should delete the log file, however, it never deletes it due to permissions error. However, upon checking the file properties I find this:
0
2323
by: Fran Tirimo | last post by:
I am developing a small website using ASP scripts to format data retrieved from an Access database. It will run on a Windows 2003 server supporting FrontPage extensions 2002 hosted by the company 1&1 with only limited server configuration via a web based control panel. My query relates to the ASP security model and how it relates to FrontPage options for setting file access on a database file. If you know of any online documentation...
2
3933
by: Fran Tirimo | last post by:
I am developing a small website using ASP scripts to format data retrieved from an Access database. It will run on a Windows 2003 server supporting FrontPage extensions 2002 hosted by the company 1&1 with only limited server configuration via a web based control panel. My query relates to the ASP security model and how it relates to FrontPage options for setting file access on a database file. If you know of any online documentation...
9
10897
by: Ben Dewey | last post by:
Project: ---------------------------- I am creating a HTTPS File Transfer App using ASP.NET and C#. I am utilizing ActiveDirectory and windows security to manage the permissions. Why reinvent the wheel, right? Everything so far is working well with the Active Directory. The problem I am having is with adding File Permissions to a directory. I am currently using some code courtesy of "Willy Denoyette "
10
2614
by: John Salerno | last post by:
I always read about how you need to set certain file permissions (for cgi files, for example), but it's never been clear to me *how* you do this. I know you can run the line chmod 755 scriptname.py but *where* do you run this? Is this done on your personal system, or on the server? What if you are using Windows? If it's done on the server, how do you do it?
2
1688
by: Jan | last post by:
Hi all, I haven't done anything yet to study the securiy subject. I'm developing a product where I will have to learn a lot about security in ..NET applications but for now I have a "simple" isolated problem: In my main component I'm building some assemblies on-the-fly. I'm loading them in a seperate application domain and I have to be able to unload the files and delete them again. The main component can be used by different client...
30
1962
by: Adam Baker | last post by:
Hello, I'm writing a site where a handful of people will be able to edit the content using PHP scripts (FCKeditor). The content is stored as individual files in a directory. I'd like to validate the "editors" using PHP, cookies, etc. The question is what file permissions I need to allow for the content to be writable by my PHP script. Do I really need to give write permissions to the "other" group. Are all wikis really that vulnerable?...
2
2044
by: beary | last post by:
Hello everyone, I posted this in unix/linux but it received no replies, so I assume it was the wrong forum. I'm trying here. I'm in way over my head with file permissions. The directory and files are sitting on a linux server. I know almost nothing about linux. The background: I was given a web share by my IT admin. Initially, the web share had 3 users, myself (as the owner) ,root (the group) and everyone. I could copy and paste from my...
0
8680
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9169
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9030
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8871
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7738
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2335
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.