Link to home
Start Free TrialLog in
Avatar of Sheemu
Sheemu

asked on

Run ASP as admin

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.
Avatar of thomasdodds
thomasdodds

"... 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...
Avatar of Sheemu

ASKER

How would I run the vbscript from the ASP page?
ASKER CERTIFIED SOLUTION
Avatar of thomasdodds
thomasdodds

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sheemu

ASKER

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"
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.
Avatar of Gary
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