Dashboard Shop Ask a question
Log in
Knowledge base
Introduction User Interface description How to Register a new account Paying for a purchase Keep your free account active Create a website Manage website Upload website content How to deploy Web project from Visual Studio Add a domain to your web site Manage default docments Grant write, modify, delete access rights on website's folder Upgrading from free to paid hosting Host a Non-English website Deploy MS SQL database Create an empty MS SQL database Manage MS SQL database Run SQL script Backup database Restore database Attach database Get database files Connect to database Manage backup location List database tables MS SQL Database connection string Upgrading from free to paid MS SQL hosting Manage email Add mail domain. Add SMTP account Add Mailbox Add MX record Setup mail client Create a Virtual Dedicated Server (VDS) Manage virtual server Access virtual server remotely Access virtual server with ESXi vSphere Client Virtual server upgrade Virtual server DNS management Pointing a domain name to your Virtual Server Manage your SSL certificates Free SSL certificates Export SSL certificate Bind free SSL certificate to a website on Windows VPS Troubleshooting Web site errors General HTTP errors 500 Internal Server error for all ASP pages 404.17 Not Found. The requested content appears to be script and will not be served by the static file handler This page isn’t working (HTTP ERROR 500) in ASP.NET Core app ASP.Net Errors Library not found Scripts written with ASP.NET version 2.0 or higher return errors. I have uploaded files, but it showing “Site under construction” Session variables expire irregulary One of your services has been disabled because it used as a file storage MS SQL errors The media set has x media families but only 1 are provided Enterpise Manager connection hangs or has delayed response time Mail errors Unable to send email. Error: “No Server”. Unable to send email. Errors: (550) No relay, or (530) no authentication. MS Access errors Can not connect to MS Access database. Virtual servers Remote Desktop Connection ‘Internal Error has occurred’ What type of support provided for self-managed Virtual servers Free web hosting Why did my free MS SQL database got deleted and can I restore it? Why did my free website got deleted and can I restore it? Knowledge base Code samples MS Access Connect to MS access database usin DSN-less connection Email Sending email from ASP.Net page using local mail server Send an Email message using CDOSYS Send an Email message using CDOSYS and Google Apps mail servers Send Email via C# through Google Apps account Configuration Host a WCF service in IIS FAQs SSL FAQ Legal documents Terms of service Privacy policy Refund policy

Grant write, modify, delete access rights on website's folder

Your website executes under unique user account that by default has full control over the website's folder.
So your application can create, open, read, write and delete files and folders inside of your root folder.

If your application is executed in dedicated application pool than the dedicated pool’s account also have full control over the root folder of the website.

The permissions cannot be changed. If you need to hide parts of your website from direct download use protected folder.

For sites hosted on Windows 2008 

For all possible configuration of your website permissions are set to full control over the root folder of your website

For sites hosted on Windows 2003 

If, when running ASP.Net application, you still unable to create file or update it, you have to check your Web.Config file for "<Identity impersonate..." tag and remove it.

The only exception is when the application tries to modify a file or folder in "Application_Start" event of Global.asax file. This is by design that user authenticated only after the Application_Start event. Before the user is authenticated your website runs under an identity of Application Pool which is "Network services". That account doesn't have access to the folder of your website.

To make it work you eather have to move the code that tries to modify files or folders out of the "Application_Start" event of the Global.asax file or inside the event you'll need to impersonate your user by code.



© Copyright 2023 Doka management panel