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;
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
add a comment |
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
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
add a comment |
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
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
angular google-chrome video inspect web-inspector
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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.
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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