ms-iot / BusProviders

Repository for Windows IoT Core Bus Provider Libraries
MIT License
40 stars 44 forks source link

Remove Un-necessary Internet Client Capability from Lightning Provider #24

Closed CodeChief closed 8 years ago

CodeChief commented 8 years ago

Please remove the "internet client" capability from the Lightning Provider before you deliver a final NuGet package with the consumer WINMD (I know currently the NuGet package just has C++/Arduino dependencies).

I presume you are delivering the Microsoft.Iot.LightningProvider.winmd to NuGet, else it's very cumbersome to have to build and copy interim code just to use the new provider.,

Anyway the point of concern is that users/customers will think our hardware apps want to access the internet. So following the security best practice of least privilege (also preached by MS) we must not claim something we do not require.

I'm talking about removing the "" of course. At least from the lightning provider c++ project, but best from all samples to demonstrate the best practice.

MahmoudGSaleh commented 8 years ago

Thanks for pointing out the "internetClient" issue. You're right, It' not needed, and we'll remove it. Yes, we are planning to deliver a Nuget containing the WinRT component. You may have noticed, the script and to create the Nuget has already been committed under BusProviders/Microsoft.IoT.Lightning.Providers/Nuget, so the next step is to publish it.

MahmoudGSaleh commented 8 years ago

This has been fixed.

MahmoudGSaleh commented 8 years ago

The latest sample code updates have these capabilities removed.