Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there some way to have a cgi script run on the CS webserver as my own UID rather than the one belonging to the webserver software?

0
Posted

Is there some way to have a cgi script run on the CS webserver as my own UID rather than the one belonging to the webserver software?

0

By default, CGI scripts running on our server execute as the web user www; this user has no special permissions. Thus, the directory in which the script resides must be world-searchable, the script must be world-executable, and files read or written by the script must be world-readable or world-writable. In certain applications, you may prefer that a script execute with your Unix account permissions so as to access protected data. We provide a “Secure CGI” mechanism for doing this. Warning: Please carefully weigh your need for this feature against the security risks of a script running with the full permissions of your user account. You are responsible for the use of that account, whether by your own hand, by someone using a workstation where you left yourself logged in, or by someone exploiting a poorly written script which you have made available on the Web. You may wish to review our policies. The basic guidelines for setting up a secure CGI script are: • Full script pathnames shoul

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.