pulling mp3 file from database and randomly giving it an unpredictable name

  • Thread starter Thread starter Andy B
  • Start date Start date
A

Andy B

Is there a way to pull an mp3 from a database to the HD and then giving it
one of these encrypted looking, at random type of filenames? Basically I am
taking an mp3 out of a database to the file system on a website and wanting
to rename it an unpredictable name that nobody could ever come up with as
far as guessing and then stream it to the user. Any ideas how to start doing
something like that?
 
The simplest way is just generate GUID name and use it for your mp3 file name.
the neat way is to play file from memory stream, but I suppose you need
provide your mp3 player. coz standard one play files only
 
How do you play a mp3 straight from a memory stream?

Michael Nemtsev said:
The simplest way is just generate GUID name and use it for your mp3 file
name.
the neat way is to play file from memory stream, but I suppose you need
provide your mp3 player. coz standard one play files only

--
WBR, Michael Nemtsev [.NET/C# MVP].
Blog: http://spaces.live.com/laflour



Andy B said:
Is there a way to pull an mp3 from a database to the HD and then giving
it
one of these encrypted looking, at random type of filenames? Basically I
am
taking an mp3 out of a database to the file system on a website and
wanting
to rename it an unpredictable name that nobody could ever come up with as
far as guessing and then stream it to the user. Any ideas how to start
doing
something like that?
 
Hello Andy,

http://groups.google.com/groups/search?q=dotnet+play+mp3+stream

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


AB> How do you play a mp3 straight from a memory stream?
AB>
AB> AB>
The simplest way is just generate GUID name and use it for your mp3
file
name.
the neat way is to play file from memory stream, but I suppose you
need
provide your mp3 player. coz standard one play files only
--
WBR, Michael Nemtsev [.NET/C# MVP].
Blog: http://spaces.live.com/laflour
Andy B said:
Is there a way to pull an mp3 from a database to the HD and then
giving
it
one of these encrypted looking, at random type of filenames?
Basically I
am
taking an mp3 out of a database to the file system on a website and
wanting
to rename it an unpredictable name that nobody could ever come up
with as
far as guessing and then stream it to the user. Any ideas how to
start
doing
something like that?
 
Back
Top