473,395 Members | 1,532 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,395 software developers and data experts.

Folder permissions

Hi

Sorry to disturb you again but i really like to know
what's the NTFS folder permissions on a "virtual directory" folder
for a public webserver iis 5.x running ASP 3.0 with an Access DB on a
w2k pro machine with anonymous access.

Fyg this is non commercial website for neighbour members in a carpool
with booking possibility. No file upload is allowed/possible/needed.
Login is manged by the ASP script

I'll got this on MY folder which i think i a overkill and I want to
tighten the security as much as possible

Aministrators FC
IWAM R&E
NETWORK R&E
SERVICE R&E
SYSTEM FC
USERS Read & Write

Above is working fluently and I have not changed any of the default
groups.

One other thing though - even if I'm logged on the webserver (w2k pro)
as an adminstrator I'm not able to run the webscripts. How come?
Something to do with the local policies? Or is this the thing with the
temp folders. I wish I could determind all the folder outside the
webroot folder (Home Directory ) involved in one session.

But is not a big issue, just curious. Everything is working fine over
the local network and remote as well.

Thanks in advance for answer!

Jul 19 '05 #1
7 2537
What does "not able to run webscripts" mean and what is it that makes you
think it's permissions related? That is, what is the error or response that
you get?

Ray at work

"Kim Lots" <no****@forme.com> wrote in message
news:vc********************************@4ax.com...
Hi

Sorry to disturb you again but i really like to know
what's the NTFS folder permissions on a "virtual directory" folder
for a public webserver iis 5.x running ASP 3.0 with an Access DB on a
w2k pro machine with anonymous access.

Fyg this is non commercial website for neighbour members in a carpool
with booking possibility. No file upload is allowed/possible/needed.
Login is manged by the ASP script

I'll got this on MY folder which i think i a overkill and I want to
tighten the security as much as possible

Aministrators FC
IWAM R&E
NETWORK R&E
SERVICE R&E
SYSTEM FC
USERS Read & Write

Above is working fluently and I have not changed any of the default
groups.

One other thing though - even if I'm logged on the webserver (w2k pro)
as an adminstrator I'm not able to run the webscripts. How come?
Something to do with the local policies? Or is this the thing with the
temp folders. I wish I could determind all the folder outside the
webroot folder (Home Directory ) involved in one session.

But is not a big issue, just curious. Everything is working fine over
the local network and remote as well.

Thanks in advance for answer!

Jul 19 '05 #2
Hi and thanks for your respons.

Sorry should have been run ASP 3.0 scripts
locally on the web server

I don't get any error response when trying to run
the ASP script locally. The default.asp page
is showing correctly. But when I try clicking/
interact with the default.asp page. Next ASP
page takes forever to load. But will show eventually.

And interacting with ASP Page no 2 (depending on
which link i clicked on default.asp) goes fast & run smoothly.

Just to clarify everthing is working fine on a client on the local
network and remotely as well.

Any suggestions on my question regarding NTFS permissions
on the folder?

Thanks for your time spent.

Kim

What does "not able to run webscripts" mean and what is it that makes you
think it's permissions related? That is, what is the error or response that
you get?

Ray at work

"Kim Lots" <no****@forme.com> wrote in message
news:vc********************************@4ax.com.. .
Hi

Sorry to disturb you again but i really like to know
what's the NTFS folder permissions on a "virtual directory" folder
for a public webserver iis 5.x running ASP 3.0 with an Access DB on a
w2k pro machine with anonymous access.

Fyg this is non commercial website for neighbour members in a carpool
with booking possibility. No file upload is allowed/possible/needed.
Login is manged by the ASP script

I'll got this on MY folder which i think i a overkill and I want to
tighten the security as much as possible

Aministrators FC
IWAM R&E
NETWORK R&E
SERVICE R&E
SYSTEM FC
USERS Read & Write

Above is working fluently and I have not changed any of the default
groups.

One other thing though - even if I'm logged on the webserver (w2k pro)
as an adminstrator I'm not able to run the webscripts. How come?
Something to do with the local policies? Or is this the thing with the
temp folders. I wish I could determind all the folder outside the
webroot folder (Home Directory ) involved in one session.

But is not a big issue, just curious. Everything is working fine over
the local network and remote as well.

Thanks in advance for answer!


Jul 19 '05 #3
I wouldn't jump right to any conclusions about NTFS permissions because one
of your pages is slow, especially if that file exists in the same directory
as other pages that load fine and all your files inherit permissions from
their parent (the directory).

What is your slow page doing? Is there some sort of a loop? Have you done
any debugging like:

i = 0
Do while not SomeCondtion
i = i + 1
Response.Write "Started iteration " & i & "<br>"
Response.Flush

'''your code here
Loop

What is slow about it? Have you tried removing suspect sections of code to
see if it improves load time or anything? If permissions are not set right,
you will either be prompted for credentials in your browser, or you will get
a 401 error - not authorized. Insufficient permissions don't just slow
things down but eventually work. That would defeat the purpose behind
permissions!

Ray at home
"Kim Lots" <no****@forme.com> wrote in message
news:qv********************************@4ax.com...
Hi and thanks for your respons.

Sorry should have been run ASP 3.0 scripts
locally on the web server

I don't get any error response when trying to run
the ASP script locally. The default.asp page
is showing correctly. But when I try clicking/
interact with the default.asp page. Next ASP
page takes forever to load. But will show eventually.

And interacting with ASP Page no 2 (depending on
which link i clicked on default.asp) goes fast & run smoothly.

Just to clarify everthing is working fine on a client on the local
network and remotely as well.

Any suggestions on my question regarding NTFS permissions
on the folder?

Thanks for your time spent.

Jul 19 '05 #4
Hi Ray

Thanks for your post

Please read my original post again! I have in fact two
questions. The one you are refering to (question 2) has nothing to do
with NTFS permissions and is a separate problem when running
ASP 3 scripts on the SERVER. Sorry for confusion, but this is a minor
thing. I can live with that. The pages work fine from a LOCAL client
as well from REMOTE clients. That's the most important thing for me.

But do you have any answer for me regarding my first question (folder
permissions)? I would be very happy just to know the default settings.
As I have trouble understanding this page
http://support.microsoft.com/default...;en-us;Q271071
it says for the wwwroot

quote

admin FC
system FC
IWAM R&E
Service R&E
Network R&E
Users * (if FrontPage Server)

unquote

In my scenario one of groups need write permission. Which one?

And is above groups & permissions the same for any "Virtual Directory"
folder or does it differ?

And what are the groups Service & Network? Where can I find
information about these groups?

Again, sorry for the confusion and thanks for replaying.

Kim

On Thu, 13 May 2004 18:49:27 -0400, "Ray at <%=sLocation%> [MVP]"
<myfirstname at lane34 dot com> wrote:
I wouldn't jump right to any conclusions about NTFS permissions because one
of your pages is slow, especially if that file exists in the same directory
as other pages that load fine and all your files inherit permissions from
their parent (the directory).

What is your slow page doing? Is there some sort of a loop? Have you done
any debugging like:

i = 0
Do while not SomeCondtion
i = i + 1
Response.Write "Started iteration " & i & "<br>"
Response.Flush

'''your code here
Loop

What is slow about it? Have you tried removing suspect sections of code to
see if it improves load time or anything? If permissions are not set right,
you will either be prompted for credentials in your browser, or you will get
a 401 error - not authorized. Insufficient permissions don't just slow
things down but eventually work. That would defeat the purpose behind
permissions!

Ray at home
"Kim Lots" <no****@forme.com> wrote in message
news:qv********************************@4ax.com.. .
Hi and thanks for your respons.

Sorry should have been run ASP 3.0 scripts
locally on the web server

I don't get any error response when trying to run
the ASP script locally. The default.asp page
is showing correctly. But when I try clicking/
interact with the default.asp page. Next ASP
page takes forever to load. But will show eventually.

And interacting with ASP Page no 2 (depending on
which link i clicked on default.asp) goes fast & run smoothly.

Just to clarify everthing is working fine on a client on the local
network and remotely as well.

Any suggestions on my question regarding NTFS permissions
on the folder?

Thanks for your time spent.


Jul 19 '05 #5

"Kim Lots" <no****@forme.com> wrote in message
news:oi********************************@4ax.com...


unquote

In my scenario one of groups need write permission. Which one?
If you are not using any sort of Windows based authentication on your site,
then the user account that needs permissions to write files in
IUSR_yourServerName.
And is above groups & permissions the same for any "Virtual Directory"
folder or does it differ?
The permissions you showed were NTFS permissions. THese are permissions on
the actual file system on the server, so you don't have to worry about if
it's a virtual directory in IIS or not. To the server, it's just another
directory somewhere on the file system.

And what are the groups Service & Network?
Network and Service are built in "special groups."
Where can I find
information about these groups?


MS-272 course!

Ray at work
Jul 19 '05 #6
Hi

Thanks for your answer is much clearer now

Kim

On Tue, 18 May 2004 11:33:36 -0400, "Ray at <%=sLocation%> [MVP]"
<myfirstname at lane34 dot com> wrote:

"Kim Lots" <no****@forme.com> wrote in message
news:oi********************************@4ax.com.. .


unquote

In my scenario one of groups need write permission. Which one?


If you are not using any sort of Windows based authentication on your site,
then the user account that needs permissions to write files in
IUSR_yourServerName.
And is above groups & permissions the same for any "Virtual Directory"
folder or does it differ?


The permissions you showed were NTFS permissions. THese are permissions on
the actual file system on the server, so you don't have to worry about if
it's a virtual directory in IIS or not. To the server, it's just another
directory somewhere on the file system.

And what are the groups Service & Network?


Network and Service are built in "special groups."
Where can I find
information about these groups?


MS-272 course!

Ray at work


Jul 19 '05 #7
You're welcome. I hope it all makes sense. :]

Ray at home

"Kim Lots" <no****@forme.com> wrote in message
news:gm********************************@4ax.com...
Hi

Thanks for your answer is much clearer now

Kim

Jul 19 '05 #8

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

Similar topics

0
by: Andrew Crowe | last post by:
Hi guys, We're using the ISAPI version of PHP with IIS5.0 On some websites for some reason any php file in the websites root is given the path winnt/system32 (getcwd() returns...
3
by: roger | last post by:
I've created a web setup project for my aspnet app, and added a web folder item "tmp" to the File System editor under the web application folder. (My app uses this folder for generating image...
0
by: Praveen | last post by:
Hello. I am writing some code that accepts a DFS Link and Username and grants that User permissions to the physical directory that the DFS Link corresponds to. I am using the System.Management...
7
by: Tom | last post by:
Can anyone give me any advice on how to secure a folder on a network server so that documents in the folder can only be opened through an Access database or by the database admin. I need to store...
2
by: Ram | last post by:
Hey, I'v managed to find a way of adding NTFS permissions to a certain folder, But the problem is, the folder has a couple of inherited permissions which I want to delete. How can I remove the...
6
by: Jeff | last post by:
Hi - I understand how to create a directory folder, but how can I programatically create a _shared_ directory folder and set its permissions?? (I'm using VB.NET.) Thanks for your help. -...
5
by: Mitchell S. Honnert | last post by:
Is there a way, given the full path of a folder on a network, that one can programatically tell if you have Read access to that folder? I have an application where the user is able to select a...
2
by: skinnybloke | last post by:
Hi - I have a file permissions problem with PHP. I am using a product called Actinic to develop a shopping cart. This creates a subfolder named ACATALOG into which it loads all of its files. The...
6
by: Andy Fish | last post by:
Hi, From what I can gather, under Asp.Net 2.0, it is safe to put data and config files underneath the app_data in the web root and they will not be served directly to the browser from a URL. ...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
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...
0
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...
0
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...

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.