Forum Moderators: coopster
I am trying to write/create a new file into a directory on a Windows Server. I have been told that enabling write permissions on a folder is not a good idea for security reasons.
Does anyone know a better way to go about this? Is there a way to specify the user, in the script, as the owner of the folder so enabling the script to write files to the folder whilst other users, 'nobody', are still write disabled. I'm thinking along the lines of how we connect to a database if that makes sense? something like fopen('path-to-file', '$username');?
Any suggestioins appreciated.
Cheers,
Andy