To change the upload folder to a path outside of wp-contents you can add
define( 'UPLOADS', ''.'examplefolder' );
To the following file:
To use an external network for the media files you could use a plugin like external media upload.
Please, click on if you think my answer was helpful