views:

139

answers:

2

Hi,folks

Recently i start develop a setup program using asp.net , I want to save some global information on server machine . Registry is a way but IIS User default not write permission. So i think some folders such as "Application Data" can do it,but everyone did not write Permissions.Is there other way to solve this problem?

+2  A: 

The temporary folder: %TEMP%. If it is an ASP.NET application you could also use the special App_Data folder.

Darin Dimitrov
App_Data can not meet my needs,because i need a container save global information and any other program can read it
guaike
Depends on how you've set up your app pool identity - by default the IUSR/IIS Worker Process accounts don't have access to the systems temp folder, they use the `Temporary ASP.NET Files` directory under the `Microsoft.NET\Framework\vX.Y.Z\` folder.
Zhaph - Ben Duguid
@Zhaph - Ben Duguid,Thank you!!the Temporary ASP.NET Files directory is my need,thanks again!
guaike
+1  A: 

Any directory which has permissions set to everyone access. Please check this link http://www.microsoft.com/windowsxp/using/networking/security/permissions.mspx

Ravia