SOLVED

CDN and Custom/Vanity domain name/URL for Sharepoint Online SPFx Webpart

%3CLINGO-SUB%20id%3D%22lingo-sub-360219%22%20slang%3D%22en-US%22%3ECDN%20and%20Custom%2FVanity%20domain%20name%2FURL%20for%20Sharepoint%20Online%20SPFx%20Webpart%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-360219%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EPlease%20help%20me%20by%20answering%20below%20questions%3C%2FP%3E%3CP%3E1.%20The%20assets%20which%20gets%20hosted%20to%20public%20CDN%20is%20encrypted%20or%20not.%20if%20encrypted%20then%20kindly%20provide%20some%20helpful%20URLs%20for%20the%20study%3F%3F%3C%2FP%3E%3CP%3E2.%20Can%20I%20access%20the%20CDN%20assets%20from%20outside%20SPO%20environment%20like%20what%20if%20I%20try%20to%20get%20the%20content%20using%20my%20MVC%20application%20%3F%3F%3C%2FP%3E%3CP%3E3.%26nbsp%3B%20%26nbsp%3BJust%20to%20confirm%20we%20can%20use%20same%20assets%20hosted%20in%20public%20CDN%20from%20different%20SharePoint%20tenants%20%3F%3F%3C%2FP%3E%3CP%3E4.%20Will%20it%20work%20if%20I%20am%20using%20Vanity%20URLs%20for%20assets%20and%20if%20I%20choose%20to%20use%20Public%20CDN%2C%20Sometime%20back%20this%20scenario%20was%20not%20supported%20by%20Microsoft%20how%20about%20now%20%3F%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-362562%22%20slang%3D%22en-US%22%3ERe%3A%20CDN%20and%20Custom%2FVanity%20domain%20name%2FURL%20for%20Sharepoint%20Online%20SPFx%20Webpart%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-362562%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Federico%20for%20your%20input%20on%20encryption%20thing.%3CBR%20%2F%3ECan%20you%20also%20see%20if%20you%20can%20provide%20some%20suggestions%20on%20rest%20of%20queries%20specially%20the%20Vanity%20URL%20one.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20in%20Advance!!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-360758%22%20slang%3D%22en-US%22%3ERe%3A%20CDN%20and%20Custom%2FVanity%20domain%20name%2FURL%20for%20Sharepoint%20Online%20SPFx%20Webpart%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-360758%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F295246%22%20target%3D%22_blank%22%3E%40UjwalN%3C%2FA%3E%20%2C%3C%2FP%3E%3CP%3Ewhat%20do%20you%20mean%20with%20%22%3CSPAN%3Eencrypted%3F%3C%2FSPAN%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAssets%20exposed%20in%20a%20public%20origin%20are%20accessible%20by%20everyone%20anonymously.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fgeneral-development%2Foffice-365-cdn%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fgeneral-development%2Foffice-365-cdn%3C%2FA%3E%20.%3C%2FP%3E%3CP%3EYou%20can%20also%20build%20your%20custom%20way%20to%20encrypt%20files%20%22sharepoint%20extra%22%20and%20a%20decryption%20procedure%20from%20clients%20that%20use%20cdn%20resources.%3C%2FP%3E%3CP%3ETry%20to%20see%20if%20Azure%20CDN%20can%20help%20you%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcdn%2Fcdn-overview%26nbsp%3B%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcdn%2Fcdn-overview%26nbsp%3B%3C%2FA%3E%20.%3C%2FP%3E%3CP%3ECheers%2C%3C%2FP%3E%3CP%3EFederico%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi,

Please help me by answering below questions

1. The assets which gets hosted to public CDN is encrypted or not. if encrypted then kindly provide some helpful URLs for the study??

2. Can I access the CDN assets from outside SPO environment like what if I try to get the content using my MVC application ??

3.   Just to confirm we can use same assets hosted in public CDN from different SharePoint tenants ??

4. Will it work if I am using Vanity URLs for assets and if I choose to use Public CDN, Sometime back this scenario was not supported by Microsoft how about now ??

 

Thanks!!!

2 Replies
Best Response confirmed by Beau Cameron (MVP)
Solution

Hi @UjwalN ,

what do you mean with "encrypted? 

Assets exposed in a public origin are accessible by everyone anonymously.

https://docs.microsoft.com/en-us/sharepoint/dev/general-development/office-365-cdn .

You can also build your custom way to encrypt files "sharepoint extra" and a decryption procedure from clients that use cdn resources.

Try to see if Azure CDN can help you https://docs.microsoft.com/en-us/azure/cdn/cdn-overview  .

Cheers,

Federico

Highlighted

Thanks Federico for your input on encryption thing.
Can you also see if you can provide some suggestions on rest of queries specially the Vanity URL one.

Thanks in Advance!!!