473,799 Members | 3,017 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1796
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_da rkfalz.com> a écrit dans le message de
news:Oh******** ******@TK2MSFTN GP12.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_da rkfalz.com> a écrit dans le message de
news:Oh******** ******@TK2MSFTN GP12.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_da rkfalz.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_da rkfalz.com> a écrit dans le message de
news:Oh******** ******@TK2MSFTN GP12.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_da rkfalz.com> a écrit dans le message de
news:Oh******** ******@TK2MSFTN GP12.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.com cast.giganews.c om...

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_da rkfalz.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_da rkfalz.com> a écrit dans le message de
news:Oh******** ******@TK2MSFTN GP12.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
6073
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 '800a0046' Permission denied: 'CreateObject'
6
7875
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 error: HTTP 500.100 - Internal Server Error - ASP error Internet Information Services
1
4331
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 coming from: sem_trywait: Permission denied sem_wait: Permission denied sem_post: Permission denied
10
4645
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 precisely, it updates that table to change the search_path temporarily). With the postgres 7.3 (and 7.4 too) installed on my debian development system, this worked fine. On redhat 9, however, I get an "pg_settings: permission denied" error when my...
2
3690
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 comments from the group: ---microsoft.public.sqlserver.odbc-- subject: Permission Denied -- Thanks for help guys I was able to find a trial version of the Enterprise Manager.
4
9098
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 required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: System.Security.SecurityException: Permission denied" This is what I am doing. we had an app that...
0
3207
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 the destination table(DB2). I get the following error when the package is executed: The execution of the following DTS Package succeeded: Package Name: PEX2-CopyQualDatatoDB2-UAT Package Description: (null) Package ID:...
0
3408
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 installed same application on another server Win 2003 R2 Std (No Active Directory). On that server I get “Permission denied” using the following code (used to zip folder content).
0
1219
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 installed same application on another server Win 2003 R2 Std (No Active Directory). On that server I get “Permission denied” using the following code (used to zip folder content). set WshShell = server.createobject("wscript.shell")
4
2674
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 repopulate with the new country's state/proviences. Running on the host, the dropdown does not repopulate and says 'Permission Denied', I take this to mean that at the host, a viewer does not have permission to put new items in the State dropdown.
0
9685
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
10473
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
10249
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
10219
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
10025
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...
1
7563
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5461
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5584
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.