WebAdmin Documentation
Configure file permissions¶
The SFTPPlus WebAdmin will use the HTTP web server permission for reading and writing file to disk.
This page will provide information for configuring or checking configuration for some of the most popular HTTP web servers.
Please contact us in case your HTTP web server is not covered in this page.
Apache HTTP server under Unix and Linux¶
On most Linux and Unix system the Apache HTTP server will be started as ‘root’ but will drop privileges to www-data user soon after startup.
When WebAdmin is running with Apache HTTP on Unix and Linux the www-data file permissions will be applied.
Make sure the www-data user has read and write permissions for the Web Storage Path defined in the Administration page.
Note
To check the user under which the Apache HTTP server is running on an Unix or Linux system you can run the following command: ps axu | grep apache
Apache HTTP server under Windows¶
When using Apache HTTP server as a Windows server it is recommended to create a dedicate Windows account for running the server.
The same dedicated account will be used for WebAdmin file permissions.
IIS Server under Windows¶
When the WebAdmin is running on IIS Server the permissions are dictated by the Anonymous Authentication user.
To configure the Anonymous Authentication user, use the IIS Site Manager and open the Authentication configuration for the WebAdmin site as described in the following image.
Make sure the Anonymous Authentication is enabled. To check or configure the Windows user under with the WebAdmin is executed, click Edit and you should see a window dialog as in the following image. In a default installation you would most probably see IUSR as the configured anonymous user.
Beside configuring the user under which the WebAdmin will be executed, you also need to configure the read and write permissions for the Web Storage Path defined in the Administration page.
The the following image c:\Temp\WebAdmin is configured as the Web Storage Path and IUSR is added with read/write permission together with configuring the folder to inherit permissions.
Make sure Include inheritable permissions from this object's parent is checked as this will assure that newly created folder will have the same permissions.