How to set write permissins for IIS_WPG / Data folder

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
12/9/2012 10:06:32 AM
Gravatar
Total Posts 70

How to set write permissins for IIS_WPG / Data folder

Hi all, is it possible to grant the IIS_WPG user write permissions for Data folder using web.config?

The situation:  Mojo 2.3.9.4, Windows 2003, SQLExpress, no write permissions to Data folder for IIS_WPG .

                        The hosting itself is fast and I wish to try to find the solution not to move to another provider.

Best regards, Igor

 

 

 

12/9/2012 10:10:40 AM
Gravatar
Total Posts 70

Re: How to set write permissins for IIS_WPG / Data folder


mojoPortal Version 2.3.9.4 MSSQL
Operating System Microsoft Windows NT 5.2.3790 Service Pack 2
ASP.NET Info v2.0.50727 Running in Full Trust ( .Net is 3.5 SP 1 )
 

12/9/2012 10:20:04 AM
Gravatar
Total Posts 70

Re: How to set write permissins for IIS_WPG / Data folder

I have no RDP access or some kind of ability to set up required permissions using the old version of site console.

The ony ways to solve the problem, imho, are a) using web.config or b) try to grant permissions programmatically if my ftp permissions are enough for this..

12/9/2012 10:24:20 AM
Gravatar
Total Posts 18439

Re: How to set write permissins for IIS_WPG / Data folder

There is no way to grant file system permissions from web.config, it would have to be done directly on the file system or using tools built into a hosting control panel. I do not believe it can be done by ftp either.

The user that needs permission is the user that is the identity on the application pool.

Best,

Joe

12/10/2012 12:43:04 PM
Gravatar
Total Posts 70

Re: How to set write permissins for IIS_WPG / Data folder

Joe, first of all, thanx a lot for your reply!

Please, just one comment: if I use  <identity impersonate="true" /> infront of </system.web> :

a) the blog is able to add new post;

b) the system log is available for review etc.

c) it seems what search is still unavailable but it is not critical to me for some sites.

Just the first review.. Also, yes, I know, it is the CPU impact.

Question: are there potential security problems here?

Best regards, Igor

12/10/2012 3:12:17 PM
Gravatar
Total Posts 18439

Re: How to set write permissins for IIS_WPG / Data folder

Hi Igor,

I don't have any specific advice about using impersonation as I don't generally use it myself. If there are security considerations they are not specific to mojoPortal.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.