Hide a video file stored on website from chrome inspect Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!HTML5 Video Tag in Chrome - Why is currentTime ignored when video downloaded from my webserver?Login to website with chrome extension and get data from itDisabling Chrome cache for website developmentHow to set a JavaScript breakpoint from code in Chrome?Remove blue border from css custom-styled button in ChromeBizarre Error in Chrome Developer Console - Failed to load resource: net::ERR_CACHE_MISSprevent html5 video from being downloaded through inspect elementInspecting console.log variables in ChromeChrome (Android) video autoplay inside Angular 2+ componentHow to hide a logged area content from Chrome inspect if not logged in

Do wooden building fires get hotter than 600°C?

1-probability to calculate two events in a row

Maximum summed subsequences with non-adjacent items

What are the discoveries that have been possible with the rejection of positivism?

How do I find out the mythology and history of my Fortress?

Why do early math courses focus on the cross sections of a cone and not on other 3D objects?

Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?

Did any compiler fully use 80-bit floating point?

Antipodal Land Area Calculation

Lagrange four-squares theorem --- deterministic complexity

Project Euler #1 in C++

What is an "asse" in Elizabethan English?

Do I really need to have a message in a novel to appeal to readers?

Tannaka duality for semisimple groups

Is there hard evidence that the grant peer review system performs significantly better than random?

Trademark violation for app?

Is there public access to the Meteor Crater in Arizona?

Why are vacuum tubes still used in amateur radios?

Dyck paths with extra diagonals from valleys (Laser construction)

How would a mousetrap for use in space work?

Co-worker has annoying ringtone

Should a wizard buy fine inks every time he want to copy spells into his spellbook?

How does the math work when buying airline miles?

How many time has Arya actually used Needle?



Hide a video file stored on website from chrome inspect



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!HTML5 Video Tag in Chrome - Why is currentTime ignored when video downloaded from my webserver?Login to website with chrome extension and get data from itDisabling Chrome cache for website developmentHow to set a JavaScript breakpoint from code in Chrome?Remove blue border from css custom-styled button in ChromeBizarre Error in Chrome Developer Console - Failed to load resource: net::ERR_CACHE_MISSprevent html5 video from being downloaded through inspect elementInspecting console.log variables in ChromeChrome (Android) video autoplay inside Angular 2+ componentHow to hide a logged area content from Chrome inspect if not logged in



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I have my angular project and logged users can see a video on the homepage.
The video is included with a tag like:



video src='assets/video.mp4'


The problem is that if I go to the homepage and I am not logged, I use the chrome inspect and I can see the video on assets.
But I want it to be visible only if the user is logged in. Otherwise he cannot access to it.



Is there a way to block user access to a media like this?










share|improve this question






















  • Only on the server side, if you make this file accessible only for authorized users. If the file can be downloaded without authorization, there will be always one or other way to get it.

    – Dimanoid
    Mar 22 at 11:05











  • How to do this? My Angular app is client only, and I've put it into public_html file. I have not coded a server

    – riki
    Mar 22 at 11:35











  • Then you can't. There are some tricks you can use but they can't guarantee security. Everything that were sent to client is accessible on the client as you can guess.

    – Dimanoid
    Mar 22 at 11:47

















0















I have my angular project and logged users can see a video on the homepage.
The video is included with a tag like:



video src='assets/video.mp4'


The problem is that if I go to the homepage and I am not logged, I use the chrome inspect and I can see the video on assets.
But I want it to be visible only if the user is logged in. Otherwise he cannot access to it.



Is there a way to block user access to a media like this?










share|improve this question






















  • Only on the server side, if you make this file accessible only for authorized users. If the file can be downloaded without authorization, there will be always one or other way to get it.

    – Dimanoid
    Mar 22 at 11:05











  • How to do this? My Angular app is client only, and I've put it into public_html file. I have not coded a server

    – riki
    Mar 22 at 11:35











  • Then you can't. There are some tricks you can use but they can't guarantee security. Everything that were sent to client is accessible on the client as you can guess.

    – Dimanoid
    Mar 22 at 11:47













0












0








0








I have my angular project and logged users can see a video on the homepage.
The video is included with a tag like:



video src='assets/video.mp4'


The problem is that if I go to the homepage and I am not logged, I use the chrome inspect and I can see the video on assets.
But I want it to be visible only if the user is logged in. Otherwise he cannot access to it.



Is there a way to block user access to a media like this?










share|improve this question














I have my angular project and logged users can see a video on the homepage.
The video is included with a tag like:



video src='assets/video.mp4'


The problem is that if I go to the homepage and I am not logged, I use the chrome inspect and I can see the video on assets.
But I want it to be visible only if the user is logged in. Otherwise he cannot access to it.



Is there a way to block user access to a media like this?







angular google-chrome video inspect web-inspector






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 22 at 11:02









rikiriki

1




1












  • Only on the server side, if you make this file accessible only for authorized users. If the file can be downloaded without authorization, there will be always one or other way to get it.

    – Dimanoid
    Mar 22 at 11:05











  • How to do this? My Angular app is client only, and I've put it into public_html file. I have not coded a server

    – riki
    Mar 22 at 11:35











  • Then you can't. There are some tricks you can use but they can't guarantee security. Everything that were sent to client is accessible on the client as you can guess.

    – Dimanoid
    Mar 22 at 11:47

















  • Only on the server side, if you make this file accessible only for authorized users. If the file can be downloaded without authorization, there will be always one or other way to get it.

    – Dimanoid
    Mar 22 at 11:05











  • How to do this? My Angular app is client only, and I've put it into public_html file. I have not coded a server

    – riki
    Mar 22 at 11:35











  • Then you can't. There are some tricks you can use but they can't guarantee security. Everything that were sent to client is accessible on the client as you can guess.

    – Dimanoid
    Mar 22 at 11:47
















Only on the server side, if you make this file accessible only for authorized users. If the file can be downloaded without authorization, there will be always one or other way to get it.

– Dimanoid
Mar 22 at 11:05





Only on the server side, if you make this file accessible only for authorized users. If the file can be downloaded without authorization, there will be always one or other way to get it.

– Dimanoid
Mar 22 at 11:05













How to do this? My Angular app is client only, and I've put it into public_html file. I have not coded a server

– riki
Mar 22 at 11:35





How to do this? My Angular app is client only, and I've put it into public_html file. I have not coded a server

– riki
Mar 22 at 11:35













Then you can't. There are some tricks you can use but they can't guarantee security. Everything that were sent to client is accessible on the client as you can guess.

– Dimanoid
Mar 22 at 11:47





Then you can't. There are some tricks you can use but they can't guarantee security. Everything that were sent to client is accessible on the client as you can guess.

– Dimanoid
Mar 22 at 11:47












1 Answer
1






active

oldest

votes


















1














As long as the video is part of your Angular-app as asset it will be available in the users browser.



Security by just hiding sthg. is never secure. A common way for this is a request to an external video-source.






share|improve this answer























  • But that's not secure. If I request the external source with an embed, the embed code will be visible and so also the link for it

    – riki
    Mar 22 at 11:35











  • That's right. Use the RouterModule (angular.io/api/router/CanActivate) to solve this. The best way is to use an external API to serve the video (Backend). For security reasons implement ideally OIDC/OAuth2 for identification and authorization.

    – nologin
    Mar 22 at 11:53












  • This will avoid unnecessary traffic, too ;)

    – nologin
    Mar 22 at 12:05











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55298218%2fhide-a-video-file-stored-on-website-from-chrome-inspect%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














As long as the video is part of your Angular-app as asset it will be available in the users browser.



Security by just hiding sthg. is never secure. A common way for this is a request to an external video-source.






share|improve this answer























  • But that's not secure. If I request the external source with an embed, the embed code will be visible and so also the link for it

    – riki
    Mar 22 at 11:35











  • That's right. Use the RouterModule (angular.io/api/router/CanActivate) to solve this. The best way is to use an external API to serve the video (Backend). For security reasons implement ideally OIDC/OAuth2 for identification and authorization.

    – nologin
    Mar 22 at 11:53












  • This will avoid unnecessary traffic, too ;)

    – nologin
    Mar 22 at 12:05















1














As long as the video is part of your Angular-app as asset it will be available in the users browser.



Security by just hiding sthg. is never secure. A common way for this is a request to an external video-source.






share|improve this answer























  • But that's not secure. If I request the external source with an embed, the embed code will be visible and so also the link for it

    – riki
    Mar 22 at 11:35











  • That's right. Use the RouterModule (angular.io/api/router/CanActivate) to solve this. The best way is to use an external API to serve the video (Backend). For security reasons implement ideally OIDC/OAuth2 for identification and authorization.

    – nologin
    Mar 22 at 11:53












  • This will avoid unnecessary traffic, too ;)

    – nologin
    Mar 22 at 12:05













1












1








1







As long as the video is part of your Angular-app as asset it will be available in the users browser.



Security by just hiding sthg. is never secure. A common way for this is a request to an external video-source.






share|improve this answer













As long as the video is part of your Angular-app as asset it will be available in the users browser.



Security by just hiding sthg. is never secure. A common way for this is a request to an external video-source.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 22 at 11:11









nologinnologin

566214




566214












  • But that's not secure. If I request the external source with an embed, the embed code will be visible and so also the link for it

    – riki
    Mar 22 at 11:35











  • That's right. Use the RouterModule (angular.io/api/router/CanActivate) to solve this. The best way is to use an external API to serve the video (Backend). For security reasons implement ideally OIDC/OAuth2 for identification and authorization.

    – nologin
    Mar 22 at 11:53












  • This will avoid unnecessary traffic, too ;)

    – nologin
    Mar 22 at 12:05

















  • But that's not secure. If I request the external source with an embed, the embed code will be visible and so also the link for it

    – riki
    Mar 22 at 11:35











  • That's right. Use the RouterModule (angular.io/api/router/CanActivate) to solve this. The best way is to use an external API to serve the video (Backend). For security reasons implement ideally OIDC/OAuth2 for identification and authorization.

    – nologin
    Mar 22 at 11:53












  • This will avoid unnecessary traffic, too ;)

    – nologin
    Mar 22 at 12:05
















But that's not secure. If I request the external source with an embed, the embed code will be visible and so also the link for it

– riki
Mar 22 at 11:35





But that's not secure. If I request the external source with an embed, the embed code will be visible and so also the link for it

– riki
Mar 22 at 11:35













That's right. Use the RouterModule (angular.io/api/router/CanActivate) to solve this. The best way is to use an external API to serve the video (Backend). For security reasons implement ideally OIDC/OAuth2 for identification and authorization.

– nologin
Mar 22 at 11:53






That's right. Use the RouterModule (angular.io/api/router/CanActivate) to solve this. The best way is to use an external API to serve the video (Backend). For security reasons implement ideally OIDC/OAuth2 for identification and authorization.

– nologin
Mar 22 at 11:53














This will avoid unnecessary traffic, too ;)

– nologin
Mar 22 at 12:05





This will avoid unnecessary traffic, too ;)

– nologin
Mar 22 at 12:05



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55298218%2fhide-a-video-file-stored-on-website-from-chrome-inspect%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현