Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dengdeng's avatar

what's the difference between 'pubilc' and 'private' file visibility?

Hi , I learned about Storage chapter. And I don't understand the difference between public and private in File Visibility section. Can someone point me out?

0 likes
2 replies
5k313t0r's avatar

Were you able to figure this out? I am struggling with this myself. I get the difference between local and public disks but I cant seem to set setVisibility to experiment with the differences. Thanks in advance.

deromanenko's avatar

Like it said in documentation, "visibility" - it's only abstraction of file permissions across services. You won't see difference on your local machine, only if you can make custom config for your server for sending files.

Difference appear when you using Rackspace or Amazon.

Please or to participate in this conversation.