Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

File Upload Permission denied Godaddy Shared hosting

I have a web application on godaddy shared hosting. Its a asp.net application. Everything working fine but when I upload some file it gives an error "Access to the path 'PATH' is denied."

I tried several ways like giving full permission to the folder in which I am uploading the file from godaddy control panel.

I also saw this post and tried to follow he said : http://forums.asp.net/t/1052417.aspx/1

But no help.

Can anyone suggest me whats wrong there. Its under IIS 7.

like image 837
Deepak Kumar Avatar asked May 25 '12 06:05

Deepak Kumar


People also ask

Why is my access denied to GoDaddy?

If you receive an Access Denied Website Security warning when you try to access part of your site, you'll need to add it to your Allow URL Paths list in the Website Security Firewall settings. Go to your GoDaddy product page.

How do I change permissions on GoDaddy hosting?

In the upper left corner of the account Dashboard, select File Manager. In the cPanel File Manager, navigate to the file or directory whose permissions you want to modify, and then select Permissions. Make changes as needed, and then select Change Permissions.

How do I give permission to a folder in GoDaddy?

Find your username or password.) Select Settings > Manage Folders. Select the pencil icon next to the folder to edit the permissions. (Optional) Edit Management Access settings first by selecting the pencil icon next to the All Domains folder, then toggling access for each individual delegate.

How do I change permissions on GoDaddy Plesk?

Select Plesk Admin. Go to the Files tab. Navigate to the file or directory whose permissions you want to change. menu for the file or directory, and then select Change Permissions.


2 Answers

  1. Open "File Manager"
  2. Navigate to folder and hover over it
  3. Click little "down" arrow towards right edge of "Name" column (see image)
  4. Click "Change Permissions"
  5. Select user (you'll most likely want to use "Plesk IIS Worker Process Identity Account" if you're doing file uploads through your site) and set permissions as needed

enter image description here

like image 73
Firoz Khan Avatar answered Oct 09 '22 05:10

Firoz Khan


Follow this: Source - 2

“Setting Directory Permissions with Windows Hosting Accounts”

http://support.godaddy.com/help/article/6481

You should ask your hosting provider for access permissions if it doesn't solve your problem.

Ref: Removing Web Access to Directories on a Windows Hosting Account

Removing the "Anonymous Access" IIS Setting for that directory. The result of removing this permission is that you can only access that directory from with your hosting account or via FTP. You will not be able to access the directory through any Web browser, regardless of whether you are knowledgeable of the hosting account user name and password.

like image 32
Niranjan Singh Avatar answered Oct 09 '22 06:10

Niranjan Singh