Hello! We are in the middle of designing a web server application which runs on an existing Linux system. We are using the lighttpd server, and have now ran into some security issues. For various reasons we have chosen Lua to develop our application. Since we have existing users that logs in to the machine using ssh, we would like the users logging in via the web interface to use the same access levels, user names and passwords. Preferably, the users performing actions (they are accessing various configuration files on the system) should have the access rights to the files handled by the OS rather than the web server. What are the suggestions here?
Thanks in advance!