Question about folder permissions

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
10/28/2013 11:20:31 PM
Gravatar
Total Posts 23

Question about folder permissions

Hello,

I have mojoPortal 2.3.8.9 deployed on Arvixe. I'm trying to follow the security instructions in the documentation, and I also viewed the helpful video on how to do this using the Arvixe file manager. My problem is that there is no App_Data folder in the root of my installation. There is a Data folder. Looking at the Web project in Visual Studio, though, I do see an App_Data folder in the root of the project, with only 1 folder in it (no files): NeatUpload_Temp, which is empty.

I deployed by publishing the Web project to a staging server and then copied the folders/files over from the staging server to the live server. Neither server deployment has an App_Data folder in the root of the site. Is this because the App_Data folder had no files in it? Is it possibly because I am not using any features that would populate App_Data with files? I am using MS SQL Server, but NOT set up to use Express ldf/log files inside App_Data - Sql Server files are separate from the site.

What should I do regarding folder/files permissions? Do I need to create an empty App_Data folder in the root of the site, and then follow the instructions (read access only to the entire site, but read and write access to App_Data and Data folders)?

Thanks

Dan

10/29/2013 4:07:24 PM
Gravatar
Total Posts 18439

Re: Question about folder permissions

Hi Dan,

Actually as far as I know the only thing that uses /App_Data is NeatUpload. We no longer use NeatUpload but it was included in version 2.3.8.9 and it needs it to exist and be writable so go ahead and create it empty and make it writable along with data.

If you upload a file using one of the features like image gallery or from the editor and you see a progress bar then it is using NeatUpload. If you don't see a progress bar then it means NeatUpload is disabled because it is commented out in Web.config. NeatUpload doesn't work in medium trust hosting so it should be commented out/disabled in that case and the folder is then not needed.

In the latest version of mojoPortal we have a newer file upload and no longer use NeatUpload so that folder is no longer needed except if using the SQL CE package of mojoPortal which keeps the database file there.

If you are deploying a new site to Arvixe why are you using an old version of mojoPortal? I recommend always use the latest version for a new site and don't be afraid of upgrading existing sites either.

Hope that helps,

Joe

10/29/2013 6:39:25 PM
Gravatar
Total Posts 23

Re: Question about folder permissions

Hi Joe,

Thanks for your response. The reason I'm deploying an older version is that I integrated my extensions using the quick and dirty method rather than the preferred method due to time constraints. So to use the new version, I would have to manually integrate the programs over again, and this project was spread out over so long that I already forgot how to even do that! I realize that's why the other way is better. But you're question is making me reconsider... I have to enhance the extensions, so maybe I'll get the newest version when I deploy that.

Thanks

Dan 

10/30/2013 1:41:07 PM
Gravatar
Total Posts 18439

Re: Question about folder permissions

If by "quick and dirty method" you mean you added files with inline code as opposed to developing custom features using custom projects in VS and code behind, that doesn't prevent you from using the latest version upgrading would not touch your own files.

If you mean you forked the code or compiled your own code behind files into mojoportal project then you really have done it wrong and cannot upgrade.

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