?
Solved

Run ASP as admin

Posted on 2003-02-24
8
Medium Priority
?
251 Views
Last Modified: 2012-06-27
I know that ASP by default runs under IUSR_<computername>.  I need this account to have only read permissions, but at the same time, I want ASP to be able to copy files from folder to folder.  Is it possible to have the ASP file log in as an admin to make these changes?

Please help!

--Sheemu.
0
Comment
Question by:Sheemu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 6

Expert Comment

by:thomasdodds
ID: 8009314
"... ASP to be able to copy files from folder to folder ... " on the server only?  giving admin access to a web user account would be foolish for security reasons ... perhaps you should create a vbscript and run it from the ASP page using the WSH... I am sure there will be others who will post giving more complete details of why admin access through the web isn't recommended...
0
 

Author Comment

by:Sheemu
ID: 8009894
How would I run the vbscript from the ASP page?
0
 
LVL 6

Accepted Solution

by:
thomasdodds earned 200 total points
ID: 8010343
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:Sheemu
ID: 8010798
So what permissions do I need to run the .vbs from ASP?  

Because, I tried running a .bat file from the ASP that would do the file copying, but the execution is successful only for "echo Hello World" only and not for "Copy C:\mydoc.txt C:\myfolder"
0
 
LVL 15

Expert Comment

by:gladxml
ID: 8012675
0
 

Expert Comment

by:CleanupPing
ID: 9576905
Sheemu:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 58

Expert Comment

by:Gary
ID: 9753950
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept Answer by thomasdodds

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
GaryC123
EE Cleanup Volunteer
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question