473,407 Members | 2,320 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,407 software developers and data experts.

permission denied

Hello,

With my script ASP, I display list of folders and files in a directory.

My problem is :

when the directory is protected, I have a message an error page with
"permission denied" message
when my ASP script try to read its content.
My questions are :

How can i read the content ?
Or How Can I get permission ?

Thank you for your answers.

Bye

JP
Jul 19 '05 #1
6 1759
it's folder level permissions. Change them in windows

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Jean-Paul Lauque" <je**************@wanadoo.fr> wrote in message
news:bu**********@news-reader1.wanadoo.fr...
Hello,

With my script ASP, I display list of folders and files in a directory.

My problem is :

when the directory is protected, I have a message an error page with
"permission denied" message
when my ASP script try to read its content.
My questions are :

How can i read the content ?
Or How Can I get permission ?

Thank you for your answers.

Bye

JP

Jul 19 '05 #2
I know.

But I don't want that all the world read the content of directory.

So, i would like to know if i must manage permission with ASP script
or not.

Thank you

JP

"Curt_C [MVP]" <software_AT_darkfalz.com> a écrit dans le message de
news:Oh**************@TK2MSFTNGP12.phx.gbl...
it's folder level permissions. Change them in windows

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Jean-Paul Lauque" <je**************@wanadoo.fr> wrote in message
news:bu**********@news-reader1.wanadoo.fr...
Hello,

With my script ASP, I display list of folders and files in a directory.

My problem is :

when the directory is protected, I have a message an error page with
"permission denied" message
when my ASP script try to read its content.
My questions are :

How can i read the content ?
Or How Can I get permission ?

Thank you for your answers.

Bye

JP


Jul 19 '05 #3
well, you will have to turn off anonymous access in IIS then, to make the
user login.
Then just set the user permissions based on that.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Jean-Paul Lauque" <je**************@wanadoo.fr> wrote in message
news:bu**********@news-reader2.wanadoo.fr...
I know.

But I don't want that all the world read the content of directory.

So, i would like to know if i must manage permission with ASP script
or not.

Thank you

JP

"Curt_C [MVP]" <software_AT_darkfalz.com> a écrit dans le message de
news:Oh**************@TK2MSFTNGP12.phx.gbl...
it's folder level permissions. Change them in windows

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Jean-Paul Lauque" <je**************@wanadoo.fr> wrote in message
news:bu**********@news-reader1.wanadoo.fr...
Hello,

With my script ASP, I display list of folders and files in a directory.
My problem is :

when the directory is protected, I have a message an error page with
"permission denied" message
when my ASP script try to read its content.
My questions are :

How can i read the content ?
Or How Can I get permission ?

Thank you for your answers.

Bye

JP



Jul 19 '05 #4

Can't you just give the system access ... then would have to use asp
to see?


On Fri, 16 Jan 2004 14:56:34 -0600, "Curt_C [MVP]"
<software_AT_darkfalz.com> wrote:
well, you will have to turn off anonymous access in IIS then, to make the
user login.
Then just set the user permissions based on that.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Jean-Paul Lauque" <je**************@wanadoo.fr> wrote in message
news:bu**********@news-reader2.wanadoo.fr...
I know.

But I don't want that all the world read the content of directory.

So, i would like to know if i must manage permission with ASP script
or not.

Thank you

JP

"Curt_C [MVP]" <software_AT_darkfalz.com> a écrit dans le message de
news:Oh**************@TK2MSFTNGP12.phx.gbl...
> it's folder level permissions. Change them in windows
>
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> www.Darkfalz.com
>
>
> "Jean-Paul Lauque" <je**************@wanadoo.fr> wrote in message
> news:bu**********@news-reader1.wanadoo.fr...
> > Hello,
> >
> > With my script ASP, I display list of folders and files in adirectory. > >
> > My problem is :
> >
> > when the directory is protected, I have a message an error page with
> > "permission denied" message
> > when my ASP script try to read its content.
> >
> >
> > My questions are :
> >
> > How can i read the content ?
> > Or How Can I get permission ?
> >
> > Thank you for your answers.
> >
> > Bye
> >
> > JP
> >
> >
>
>




I participate in the group to help give examples of code. I do not guarantee the effects of any code posted. Test all code before use!

Brynn
www.coolpier.com
Jul 19 '05 #5
"All the world" still has to have permission to get on the machine to use
that power. A lot of people assume that giving "Everyone" access is the
solution here. Giving access to IUSR only gives access to IUSR, and that's
all ASP needs in order to read/write text files/MDB files. And if someone
can guess your IUSR password and log onto the machine as them, well, all the
power to them. They don't have to be an elevated user, in fact they don't
even have to have the ability to log on or do anything else that would
expose your system to any risk. They just have to be able to read and write
whatever folder you're trying to use with FSO.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Jean-Paul Lauque" <je**************@wanadoo.fr> wrote in message
news:bu**********@news-reader2.wanadoo.fr...
I know.

But I don't want that all the world read the content of directory.

So, i would like to know if i must manage permission with ASP script
or not.

Thank you

JP

"Curt_C [MVP]" <software_AT_darkfalz.com> a écrit dans le message de
news:Oh**************@TK2MSFTNGP12.phx.gbl...
it's folder level permissions. Change them in windows

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Jean-Paul Lauque" <je**************@wanadoo.fr> wrote in message
news:bu**********@news-reader1.wanadoo.fr...
Hello,

With my script ASP, I display list of folders and files in a directory.
My problem is :

when the directory is protected, I have a message an error page with
"permission denied" message
when my ASP script try to read its content.
My questions are :

How can i read the content ?
Or How Can I get permission ?

Thank you for your answers.

Bye

JP



Jul 19 '05 #6
Give the anonymous internet account (default is IUSR_<machine>) access to
the directory

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Brynn" <z@z.com> wrote in message
news:40**************@news.comcast.giganews.com...

Can't you just give the system access ... then would have to use asp
to see?


On Fri, 16 Jan 2004 14:56:34 -0600, "Curt_C [MVP]"
<software_AT_darkfalz.com> wrote:
well, you will have to turn off anonymous access in IIS then, to make the
user login.
Then just set the user permissions based on that.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Jean-Paul Lauque" <je**************@wanadoo.fr> wrote in message
news:bu**********@news-reader2.wanadoo.fr...
I know.

But I don't want that all the world read the content of directory.

So, i would like to know if i must manage permission with ASP script
or not.

Thank you

JP

"Curt_C [MVP]" <software_AT_darkfalz.com> a écrit dans le message de
news:Oh**************@TK2MSFTNGP12.phx.gbl...
> it's folder level permissions. Change them in windows
>
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> www.Darkfalz.com
>
>
> "Jean-Paul Lauque" <je**************@wanadoo.fr> wrote in message
> news:bu**********@news-reader1.wanadoo.fr...
> > Hello,
> >
> > With my script ASP, I display list of folders and files in adirectory.
> >
> > My problem is :
> >
> > when the directory is protected, I have a message an error page with > > "permission denied" message
> > when my ASP script try to read its content.
> >
> >
> > My questions are :
> >
> > How can i read the content ?
> > Or How Can I get permission ?
> >
> > Thank you for your answers.
> >
> > Bye
> >
> > JP
> >
> >
>
>



I participate in the group to help give examples of code. I do not

guarantee the effects of any code posted. Test all code before use!
Brynn
www.coolpier.com

Jul 19 '05 #7

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

Similar topics

1
by: Klunk | last post by:
Hi, last week I moved the folder of my Intranet application to another disk of the same server. After this change all the ASP page return this error: Microsoft VBScript runtime error...
6
by: Jon Montana | last post by:
CDONTS was working well until I installed Exchange 2000. I thought it might be a relay problem, but I allowed the server IP address to relay. Thanks for anything you can offer. here's the...
1
by: Mark E. Hamilton | last post by:
Sorry, I probably should have re-stated the problem: We're using Python 2.3.5 on AIX 5.2, and get the follow error messages from some of our code. I haven't yet tracked down exactly where it's...
10
by: Florian G. Pflug | last post by:
Hi I installed a postgres-application (which was developed on debian woody) on red hat 9 today, using the postgres 7.3 rpms from redhad. One of my the triggers uses the pg_settings table (more...
2
by: Taishi | last post by:
New user of SQL Everything is on the same machine My error is close to the bottom After reading it today, I can see there is a problem with 2 dbases 'PUBS' and 'Master' There are also some...
4
by: stephen | last post by:
Hi, I am getting an error while trying to create an excel file. "Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the...
0
by: debug03 | last post by:
I am executing a DTS package on a Windows 2000 sp4 server running SQL Server 2000 and IBM DB2 V7 client. The DTS package source data(SQL Server) is selected from SQL server table and inserts data to...
0
by: private.anders | last post by:
Hi David! Really need assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have...
0
by: private.anders | last post by:
Really need your assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have...
4
by: xzzy | last post by:
I have a v1.1 web app that works on my local computer. However, running it at the host computer, the following breaks: when a viewer selects a different country, the State dropdown should...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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
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...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.