Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:02,120 --> 00:00:04,500
Now before We explore the expert option
2
00:00:04,500 --> 00:00:08,020
there is something I wanna talk about and highlight
3
00:00:08,020 --> 00:00:12,650
and that is our config file with the environment variables.
4
00:00:12,650 --> 00:00:14,300
We are using that file
5
00:00:14,300 --> 00:00:18,150
for our development and production environment variables.
6
00:00:18,150 --> 00:00:22,260
Now this file is part of our GitHub repository.
7
00:00:22,260 --> 00:00:23,740
Here it is.
8
00:00:23,740 --> 00:00:25,780
And it needs to be so that Versal
9
00:00:25,780 --> 00:00:29,470
is able to read that file after deployment.
10
00:00:29,470 --> 00:00:32,710
The problem with that could be, though,
11
00:00:32,710 --> 00:00:35,220
that this file can be read
12
00:00:35,220 --> 00:00:38,880
by anyone who has access to your repository.
13
00:00:38,880 --> 00:00:41,140
Now, here it's a private repository,
14
00:00:41,140 --> 00:00:42,860
but if you are working in a team
15
00:00:42,860 --> 00:00:47,080
that could still mean that our team members can view it
16
00:00:47,080 --> 00:00:50,290
and this might or might not be a problem.
17
00:00:50,290 --> 00:00:53,230
I just want to make you aware of that.
18
00:00:53,230 --> 00:00:54,420
You should make sure
19
00:00:54,420 --> 00:00:57,110
that you only include this conflict file
20
00:00:57,110 --> 00:00:59,180
in your GitHub repository
21
00:00:59,180 --> 00:01:03,500
if you can rule out that unauthorized personnel
22
00:01:03,500 --> 00:01:07,780
or unauthorized people are able to view that file.
23
00:01:07,780 --> 00:01:10,920
If you can't rule out that that's the case,
24
00:01:10,920 --> 00:01:14,630
you should not include this conflict file here,
25
00:01:14,630 --> 00:01:16,890
and instead, for production,
26
00:01:16,890 --> 00:01:19,360
you should set environment variables
27
00:01:19,360 --> 00:01:24,360
through that environment variables feature Versal offers.
28
00:01:24,550 --> 00:01:27,510
And all hosting providers offer
29
00:01:27,510 --> 00:01:31,060
a built-in environment variables support.
30
00:01:31,060 --> 00:01:34,820
So you wanna use that instead of using the conflict file
31
00:01:34,820 --> 00:01:36,710
for environment variables,
32
00:01:36,710 --> 00:01:38,990
if that file could be read
33
00:01:38,990 --> 00:01:41,500
by people that should not have access
34
00:01:41,500 --> 00:01:43,330
to the data in the file.
35
00:01:43,330 --> 00:01:45,350
Here, for this use case it's okay.
36
00:01:45,350 --> 00:01:49,670
It's my private repository, but still we wanna rule out
37
00:01:49,670 --> 00:01:51,380
that we run into problems here
38
00:01:51,380 --> 00:01:52,900
and hence you should be aware
39
00:01:52,900 --> 00:01:55,363
of this potential security issue.
3000
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.