• caglararli@hotmail.com
  • 05386281520

How can I run Fortran/C programs on a shared remote server without exposing my code to other root users?

Çağlar Arlı      -    1 Views

How can I run Fortran/C programs on a shared remote server without exposing my code to other root users?

I have access to a big remote server via SSH and I'm a root user on that server. However, there are multiple other root users who also have access to this server. I want to run some Fortran/C programs on this server, but I'm concerned about keeping my code private.

Is there a way to execute my Fortran/C programs without revealing the source code to other users on the server? I'm looking for solutions that allow me to maintain confidentiality while still being able to run my programs

One solution I thought of is to provide the program code as input directly to the terminal with the compilation order. By pasting the code there, it will generate .o files, which I believe are more difficult to reverse-engineer (though I'm not entirely sure). I would then use those .o files to compile and run my program.

Is this a good approach, or are there better methods to keep my source code confidential while still executing it on the server? Additionally, are there any ways to encrypt and decrypt the file for compilation? Ideally, the only way to retrieve the program should be through hardware means rather than software. I am looking for multiple solutions.