Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 24th, 2004, 09:00 AM
Registered User
 
Join Date: May 2004
Location: Cologne, , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default fso.CopyFile with Username and Password

Hello,

how can I use the FileSystemObject method CopyFile into a user-protected folder? I would have to add the username and password somehow. (e.g. I've found out how to do this with the ADODB.Connection object...)

Cheers, Anand Patel
 
Old May 24th, 2004, 09:39 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hello,

What IIS permissions are you allowing through your app? Are you doing windows authentication, or are you allowing Anonymous Access? If you allow anonymous access, you have to give the IUSR_<Machine Name> account privileges; otherwise if Windows NT auth, whatever user has privileges needs access.

Brian
 
Old May 24th, 2004, 09:58 AM
Registered User
 
Join Date: May 2004
Location: Cologne, , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Some clarifications:
the IIS only allows reading for the anonymous user.
The user (and password) that has all permission is known. The question is, how can I add these parameters to the "CopyFile" Method (or other Methods that write/delete) so I am recognised by the IIS as a "power"-user and am permitted to write?
Giving the anonymous user more account privileges is not possible.
Cheers, Anand Patel




Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding Username and password kuku_ashu Javascript How-To 0 January 4th, 2008 11:28 AM
creating username and password abhishekdubey_997 ASP.NET 2.0 Basics 3 December 20th, 2006 06:05 PM
username and password abhi_loveu2002 ASP.NET 2.0 Basics 1 December 14th, 2006 05:25 AM
Username and password Hennie Access 1 July 28th, 2006 12:43 AM
MySQL Password and username Yee MySQL 2 November 1st, 2004 01:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.