473,839 Members | 1,328 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Write permissions using Scripting.TextS tream object

In Windows 2000 I need permissions set so that I can write a text file to the folder when the asp page is loaded. Right now I have only these permissions set:

Administrator: Full
System: Full
Everyone: Read and Execute, List, Read
Network: Read and Execute. List. Read

Is there some other "user" that I can give permissions to to write a text file to the folder that doesn't allow write permissions to IUSER_MachineNa me? Thanks.

--
George Hester
_______________ _______________ ____

Jul 19 '05 #1
3 3654
>> Is there some other "user" that I can give permissions to to write a text
file to the folder that doesn't allow write permissions to
IUSER_MachineNa me? Thanks.

You've lost me. Unless your site/application is set up for Windows Auth,
ASP runs as IUSR_MachineNam e, so what other user would you expect ASP to
impersonate in order to write to this folder?

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

--
George Hester
_______________ _______________ ____
Jul 19 '05 #2
Well I have many different users on the server; Interactive; Network; Authenticated Users; BATCH; Proxy; Restricted; Self; Service; ... many more. I was hoping that some other one of these I could use. If not no big deal. I can allow just Read and Write anywhere so I may just do that.

--
George Hester
_______________ _______________ ____
"Aaron Bertrand [MVP]" <aa***@TRASHasp faq.com> wrote in message news:#J******** ******@TK2MSFTN GP09.phx.gbl...
Is there some other "user" that I can give permissions to to write a text

file to the folder that doesn't allow write permissions to
IUSER_MachineNa me? Thanks.

You've lost me. Unless your site/application is set up for Windows Auth,
ASP runs as IUSR_MachineNam e, so what other user would you expect ASP to
impersonate in order to write to this folder?

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





--
George Hester
_______________ _______________ ____



Jul 19 '05 #3
You could use any one of them that you want if those groups have
permissions. Just give your IUSR permissions though instead of trying to
jump through extra steps and using group membership for NTFS permissions
when you only need this one single user to have permissions.

Ray at home

"George Hester" <he********@hot mail.com> wrote in message
news:u$******** *******@tk2msft ngp13.phx.gbl.. .
Well I have many different users on the server; Interactive; Network;
Authenticated Users; BATCH; Proxy; Restricted; Self; Service; ... many more.
I was hoping that some other one of these I could use. If not no big deal.
I can allow just Read and Write anywhere so I may just do that.

--
George Hester
_______________ _______________ ____
"Aaron Bertrand [MVP]" <aa***@TRASHasp faq.com> wrote in message
news:#J******** ******@TK2MSFTN GP09.phx.gbl...
Is there some other "user" that I can give permissions to to write a
text file to the folder that doesn't allow write permissions to
IUSER_MachineNa me? Thanks.

You've lost me. Unless your site/application is set up for Windows Auth,
ASP runs as IUSR_MachineNam e, so what other user would you expect ASP to
impersonate in order to write to this folder?

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

--
George Hester
_______________ _______________ ____

Jul 19 '05 #4

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

Similar topics

6
1691
by: Christian Blackburn | last post by:
Hi Gang, I have so far been unable to get the TextStream Object to write on Fat32. I'm using Windows 2000 Pro Sp4. Scripts have write access and I even tried giving IUSR user level writes and still when I tried loading the ASP page it just hangs trying to create the file :(. <% Function WriteText(sPath, sText) Dim fso, TextFile
9
6369
by: James Marshall | last post by:
I'm writing a library where I want to override document.write(), but for all document objects; thus, I want to put it in the prototype. I tried Document.prototype.write= my_doc_write ; but it didn't work. I discovered that this seemed to work: HTMLDocument.prototype.write= my_doc_write ; Why does HTMLDocument work here but not Document? Will this second
13
9665
by: Stumped and Confused | last post by:
Hello, I really, really, need some help here - I've spent hours trying to find a solution. In a nutshell, I'm trying to have a user input a value in form's textfield. The value should then be assigned to a variable and output using document.write. (Note, there is no submit button or other form elements. Basically
17
4215
by: Karl Irvin | last post by:
To use the Textstream object, I had to set a Reference to the Microsoft Scripting Runtime. This works good with A2000 Is the Scripting Runtime included with A2002 and A2003 so the Reference won't be broken when my app is opened with those versions. Also is the Scripting Runtime included as part of the A2000 Runtime Engine which some of my customers use.
1
2343
by: Karl Irvin | last post by:
To use the Textstream object, I had to set a Reference to the Microsoft Scripting Runtime. This works good with A2000 Is the Scripting Runtime included with A2002 and A2003 so the Reference won't be broken when my app is opened with those versions. Also is the Scripting Runtime included as part of the A2000 Runtime Engine which some of my customers use.
7
2414
by: Andrea | last post by:
Hi there - I'm hoping someone can help me; I've been struggling with this for a few days! :-) I have a webpage that is comprised of many forms containing questions. As the user answers one of the questions, that form is hidden and the next is displayed. Also, as the user answers each question a "count" variable is updated based on their response. I would like the question to show up on the left side and the answer to show up in the...
1
2675
by: morau99 | last post by:
I'm having a problem using a TextSteam object to write to file: The following produces an error when the Access field I am writing from contains a return character: a.Write strText It appears as if the call to Write sees the return as the end of the argument (thus it appears to be missing the closing quote marks).
53
4767
by: Hexman | last post by:
Hello All, I'd like your comments on the code below. The sub does exactly what I want it to do but I don't feel that it is solid as all. It seems like I'm using some VB6 code, .Net2003 code, and .Net2005 code. I'm developing in vb.net 2005. This test sub just reads an input text file, writing out records to another text file, eliminating records that have a '99' in them (it is similar to a CSV file). Some of my concerns are:
1
2205
by: christine0207 | last post by:
Hi, how to generate a fixed length data text file using Scripting.TextStream / filesystemobject.
0
10587
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
10649
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,...
1
7829
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
7018
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
5682
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
5867
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4487
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4064
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3136
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.