Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Run ASP as admin

Posted on 2003-02-24
8
Medium Priority
?
257 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
7 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
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!

 

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

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.

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…
I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month12 days, 12 hours left to enroll

580 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