Answers.Body: <p>It let's you define "private" asset sources that you don't want publicly exposed on the web.</p>
  
  <blockquote>
    <p>Another question: when I upload assets to craft, sometimes they are put in the folder I expect, sometimes craft creates a subfolder (named like the asset-id I guess) and puts the file inside that folder.</p>
  </blockquote>
  
  <p>If you're uploading these files through an <a href="https://craftcms.com/docs/assets-fields" rel="nofollow noreferrer">Assets field</a>, then that field's setting can define a <a href="https://craftcms.com/docs/assets-fields#dynamic-subfolder-paths" rel="nofollow noreferrer">dynamic subfolder path</a> where the upload will be saved based on the contents of the entry/user/tag/category/etc. that it is being saved in.  Sounds like that's what you've got defined.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-31T18:37:05.513Z
Answers.LastActivityDate: 2017-01-31T18:37:05.513Z
Answers.UserDisplayName: Brad Bell
Body: <p>just a short question - what is "Assets in this source have public URLs" good for? Oh course, I can't use getUrl() in the templates, yes, but I can still get the filename etc. So I don't see the use of this parameter?</p>
  
  <p>Another question: when I upload assets to craft, sometimes they are put in the folder I expect, sometimes craft creates a subfolder (named like the asset-id I guess) and puts the file inside that folder. In which case a subfolder is created?</p>
  
Tags: <assets>
Title: What it "Assets in this source have public URLs" good for?
ThreadText: # What it "Assets in this source have public URLs" good for?
  
  (Asked by: username_0 on 2017-01-31)
  
  just a short question - what is "Assets in this source have public URLs" good for? Oh course, I can't use getUrl() in the templates, yes, but I can still get the filename etc. So I don't see the use of this parameter?
  
  Another question: when I upload assets to craft, sometimes they are put in the folder I expect, sometimes craft creates a subfolder (named like the asset-id I guess) and puts the file inside that folder. In which case a subfolder is created?
  
  **Tags:** assets
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-01-31. Score: 1
  
  It let's you define "private" asset sources that you don't want publicly exposed on the web.
  
  > Another question: when I upload assets to craft, sometimes they are put in the folder I expect, sometimes craft creates a subfolder (named like the asset-id I guess) and puts the file inside that folder.
  
  If you're uploading these files through an [Assets field](https://craftcms.com/docs/assets-fields), then that field's setting can define a [dynamic subfolder path](https://craftcms.com/docs/assets-fields#dynamic-subfolder-paths) where the upload will be saved based on the contents of the entry/user/tag/category/etc. that it is being saved in. Sounds like that's what you've got defined.
  
  
  ---
  
  