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
  • 8,246
  • 8
  • 35
  • 56
Vivian Ko
  • 1
  • 1

0 Answers0