Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows Media / Devices / December 2005

Tip: Looking for answers? Try searching our database.

can't stream certain files

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
chris - 23 Dec 2005 14:55 GMT
A number of my audio files(WMA and MP3) are "disable" for streaming to my
devices.  I read some support informaiton on this and they said it was a file
permission problem.  The instructions were to copy the file to change the
permissions.  That worked but my question is: What file permision does a file
have to have in order for it to be "enabled" for streaming?  It's a real pain
to have to copy every audio file I download from my music service to get it
to stream to my devices.

thanks,
-chris
Alan Ludwig - 23 Dec 2005 17:28 GMT
NETWORK SERVICE must be granted READ access.

Signature

Alan Ludwig
Lead Software Development Engineer
Windows Core Operating System
Microsoft Corp.

This posting is provided "AS IS" with no warranties, and confers no rights.

>A number of my audio files(WMA and MP3) are "disable" for streaming to my
> devices.  I read some support informaiton on this and they said it was a
[quoted text clipped - 10 lines]
> thanks,
> -chris
chris - 23 Dec 2005 17:43 GMT
Thanks.  I also noticed that the file did not inherit its permissions for its
parent.  Once I check that box in the security tab it was granted NETWORK
SERVICE read access.  How could an application create a file and not have it
inherit permissions from its parent?

> NETWORK SERVICE must be granted READ access.
>
[quoted text clipped - 12 lines]
> > thanks,
> > -chris
Alan Ludwig - 24 Dec 2005 03:42 GMT
Yup, that is exactly the problem. There are a few programs out there that
don't set the permissions correctly on the file. If the file is just set to
inherit permissions from the parent folder then everything will work.

How can a file not inherit permissions from the parent?  By setting the
wrong permisions in the lpSecuirtyDescriptor member of the
lpSecurityAttributes parameter to CreateFile. The documentation for
CreateFile is found here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/creat
efile.asp


If you just pass "NULL" in for this parameter to create file everythign
works right.  My guess is that the programs are trying to be a bit more
clever and are actually building up a DACL and aren't including the "Inherit
Permissions" bit in the DACL.

Regards,

Signature

Alan Ludwig
Lead Software Development Engineer
Windows Core Operating System
Microsoft Corp.

This posting is provided "AS IS" with no warranties, and confers no rights.

> Thanks.  I also noticed that the file did not inherit its permissions for
> its
[quoted text clipped - 25 lines]
>> > thanks,
>> > -chris
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.