Answers.Body: <p>Hi @jsherk you can set the directories if you navigate to Administer&gt;System Settings&gt;Directories.</p>
  <p><a href="https://i.sstatic.net/guN9Q.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/guN9Q.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-07T09:03:19.003Z
Answers.LastActivityDate: 2023-03-07T09:03:19.003Z
Answers.UserDisplayName: ErikH - CiviCooP
Body: <p>I have created a custom field of the FILE type.</p>
  <p>When I attach a file, the file is stored on the server in this location:</p>
  <p><code>/my/server/public_html/wp-content/uploads/civicrm/custom</code></p>
  <p>Now this does have an .htaccess file to prevent access, but this is still technically a publicly accessible location.</p>
  <p>Can the location of where these files are stored be changed/moved behind the public_html folder to say</p>
  <p><code>/my/server/cividocs/</code> ?</p>
  <p>Thanks</p>
  
Tags: <wordpress><files>
Title: Custom field FILE type location
ThreadText: # Custom field FILE type location
  
  (Asked by: username_0 on 2023-03-07)
  
  I have created a custom field of the FILE type.
  
  When I attach a file, the file is stored on the server in this location:
  
  `/my/server/public_html/wp-content/uploads/civicrm/custom`
  
  Now this does have an .htaccess file to prevent access, but this is still technically a publicly accessible location.
  
  Can the location of where these files are stored be changed/moved behind the public\_html folder to say
  
  `/my/server/cividocs/` ?
  
  Thanks
  
  **Tags:** wordpress, files
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-03-07. Score: 0 | Accepted answer
  
  Hi @username_0 you can set the directories if you navigate to Administer>System Settings>Directories.
  
  [![enter image description here](https://i.sstatic.net/guN9Q.png)](https://i.sstatic.net/guN9Q.png)
  
  
  ---
  
  