title: How do I use Spring Boot to serve static content located in Dropbox folder?
body: <p>I have a Spring Boot web application, and I would like to serve static content located in a shared Dropbox directory on my Linode VPS (~/Dropbox/images).  I've read that Spring Boot will automatically serve static content from</p>
  
  <pre><code>"classpath:/META-INF/resources/",
  "classpath:/resources/",
  "classpath:/static/",
  "classpath:/public/",
  </code></pre>
  
  <p>but of course my Dropbox directory is not on the classpath.</p>
  
  <p>Although I could configure Apache to serve the images in my Dropbox folder, I would like to take advantage of Spring Security to restrict access of the static content to authenticated users.</p>