Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What user does classic asp run as?

Tags:

asp-classic

I have an asp page that saves a file to disk.

Currently it works locally, but I need to save the file to a share and I get permission denied.

I had assumed I could just set the app pool to the user that has access to the folder, but it doesn't seem to work.

How do you make classic asp run as a specific user?

like image 892
Derek Ekins Avatar asked Sep 28 '09 16:09

Derek Ekins


People also ask

Is Classic ASP still used?

It used scripting on the server to create content that would then be sent to a client's web browser, and as a result it enjoyed a tremendous amount of success. Classic ASP, however, is no longer being developed by Microsoft at all – it has long since been replaced by ASP.NET in 2002, a newer alternative.

Is Classic ASP still supported by Microsoft?

Active Server Pages (ASP) support in Windows - Internet Information Services | Microsoft Learn. This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

What is Classic ASP application?

Classic ASP is a server-side scripting environment that you can use to create and run dynamic web applications. With ASP, you can combine HTML pages, script commands, and COM components to create interactive web pages that are easy to develop and modify.

How do I run Classic ASP on IIS?

In Control Panel, click Programs and Features, and then click Turn Windows features on or off. Expand Internet Information Services, expand World Wide Web Services, expand Application Development Features, and then select ASP. The ISAPI Extensions feature will be selected if it has not already been installed. Click OK.


2 Answers

I believe that by default classic asp will run under the iis user which is IUSR_MachineName. This can be changed in the IIS Manager.

Good references:

  • http://kb2.adobe.com/cps/153/tn_15378.html
  • http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=287
like image 182
brendan Avatar answered Oct 01 '22 04:10

brendan


IIS Admin - Website Properties - Directory Security - Edit...

By default it's IUSR_MACHINENAME

like image 35
wefwfwefwe Avatar answered Oct 01 '22 02:10

wefwfwefwe