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