0

By using File.setReadOnly(), I can make the file read-only; however, user can still change this setting by right-clicking the file.

Is there any way to lock this movement?

I've tried both File.setReadable() and File.setWritable(), none of them worked.

Giorgi Tsiklauri
  • 9,715
  • 8
  • 45
  • 66
Vivian Ko
  • 1
  • 1

0 Answers0