tomcat - How to access shared folder from spring -


this might question show poor searching truth despite googling have not found direction yet.

the context

i developing web player using tomcat , spring mvc. @ point of time have deveoped jsp page search audio calls locally(on pc). however, plan retrieve audio calls windows shared folder. might have understood @ moment keep audio files in local folder on desktop.
need store million of files , amount of data expected around 200 tb.

my objective

my aims store calls on windows shared folder can access spring somehow , secure audio data make sure it can played audio player

fyi

the database @ moment keep metadata of relative audio paths. audio files in opus format , should played in html5 audio tag.

summary:

  1. which best technology achieve this?
  2. is windows shared folder best solution?
  3. do know how can secure audio data? encrypt in shared folder increase security , make sure can played application?
  4. how can connect external shared folder using spring? jcifs solution. apache camel?
  5. how can dynamically add path of the shared folder each audio files

hope not broad question against stack-overflow rules. need direction not full answer each of bullet points above

first , foremost: question not related java or spring-framework.

short answer: use configurable path , builtin tools operating system.

to answer questions: 1.) cannot answered without detailed knowledge of number of files, network, hdd sizes , performance, raid level, , many more unknown factors. bonus answer: using common of shelf hardware fine simple mp3 streaming.

2.) perhaps not, see 1). again, enough.

3.) short answer: keep systems safe. long network, building , servers safe, data safe.

4.) use operating system tools (a cifs mount linux, network folder mount on windows)

5.) set parameter in application.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -