Jump to content

What are some security flags for an interpreter?

- - - - -

  • Please log in to reply
2 replies to this topic

#1
RhetoricalRuvim

RhetoricalRuvim

    JavaScript Programmer

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,254 posts
  • Location:C:\Countries\US
Hello everyone.

I am trying to develop a compiler/interpreter for a high-level language. One of the features I want it to have is security flags. One of the flags is whether to restrict file I/O or not (this does not include standard input/output).

So far, I have just the file I/O flag, but I not sure what the other security flags should be, so I was wondering if anyone can give me any more ideas.

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Network access, folder access (system folders vs user temp folders), registry access.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
If on Linux, you may be able to implement nice/ionice in to the running instance (the process) to prevent large scripts from taking unnecessary CPU or IO priority. You could as well have a maximum memory limit, which could be used even as a usercheck to see if their program uses too much.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users