0

I'm trying to create a log file. My requirement is the log file should have only append operation, the file should not be deletable or modifiable.

Is it possible with Node JS code or is it related to the hosting environment I choose?

Anirudh
  • 2,767
  • 5
  • 69
  • 119

1 Answers1

1

It definitely depends on the hosting environment you choose. Most operating support some file locking support. I'd refer you to this thread for file locking

Software Person
  • 2,526
  • 13
  • 18